:root {
      --plum: #4b2e4a;
      --gold: #c9a86a;
      --purple: #6a3f6e;
      --dark-bg: #0f0c13;
      --card-bg: #1a1522;
      --text: #eae0d5;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Montserrat', sans-serif;
      background: var(--dark-bg);
      color: var(--text);
      min-height: 100vh;
      padding: 2rem 1.5rem;
      position: relative;
      overflow-x: hidden;
    }

    /* === Name Modal === */
    #name-modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(10, 6, 15, 0.95);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      backdrop-filter: blur(4px);
    }

    .modal-content {
      background: var(--card-bg);
      padding: 2.5rem;
      border-radius: 20px;
      text-align: center;
      max-width: 450px;
      width: 90%;
      box-shadow: 0 0 30px rgba(106, 63, 110, 0.5);
      border: 1px solid var(--gold);
    }

    .modal-content h2 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.8rem;
      margin-bottom: 1.2rem;
      color: var(--gold);
    }

    #name-input {
      width: 100%;
      padding: 0.9rem;
      margin: 1rem 0 1.8rem;
      border-radius: 12px;
      border: 1px solid rgba(201, 168, 106, 0.4);
      background: rgba(0, 0, 0, 0.3);
      color: var(--text);
      font-size: 1.1rem;
      outline: none;
      text-align: center;
    }

    #name-input::placeholder {
      color: rgba(234, 224, 213, 0.5);
    }

    #submit-name {
      padding: 0.8rem 2rem;
      background: var(--gold);
      color: var(--dark-bg);
      border: none;
      border-radius: 50px;
      font-weight: 600;
      cursor: pointer;
      transition: transform 0.2s, box-shadow 0.2s;
    }

    #submit-name:hover {
      transform: scale(1.05);
      box-shadow: 0 0 15px rgba(201, 168, 106, 0.7);
    }

    /* === Balloons === */
    .balloon {
      position: absolute;
      font-size: 1.6rem;
      opacity: 0.25;
      z-index: -1;
      pointer-events: none;
      animation: float 22s infinite ease-in-out;
    }

    @keyframes float {
      0%, 100% { transform: translate(0, 0) rotate(0deg); }
      25%  { transform: translate(20px, -30px) rotate(5deg); }
      50%  { transform: translate(-15px, -50px) rotate(-5deg); }
      75%  { transform: translate(25px, -35px) rotate(3deg); }
    }

    /* === Page === */
    .page {
      display: none;
      max-width: 700px;
      margin: 0 auto;
      padding: 2.5rem;
      background: var(--card-bg);
      border-radius: 24px;
      position: relative;
      opacity: 0;
      transform: scale(0.98) translateY(10px);
      transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(201, 168, 106, 0.2);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    }

    .page.active {
      display: block;
      opacity: 1;
      transform: scale(1) translateY(0);
    }

    /* === Text Animation === */
    .page h1, .page h2, .page p, .page ul {
      opacity: 0;
      transform: translateY(15px);
      animation: textReveal 0.7s forwards;
    }

    .page h1 { animation-delay: 0.1s; }
    .page h2 { animation-delay: 0.2s; }
    .page p:nth-of-type(1) { animation-delay: 0.3s; }
    .page p:nth-of-type(2) { animation-delay: 0.4s; }
    .page ul { animation-delay: 0.5s; }
    .page li { animation: textReveal 0.7s 0.6s forwards; }

    @keyframes textReveal {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* === Typography === */
    h1 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.8rem;
      color: var(--gold);
      text-align: center;
      margin-bottom: 1.6rem;
      text-shadow: 0 0 10px rgba(201, 168, 106, 0.3);
    }

    h2 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.1rem;
      color: #d4b48a;
      margin: 1.8rem 0 1.2rem;
    }

    p, li {
      line-height: 1.85;
      margin-bottom: 1.2rem;
      font-size: 1.12rem;
      color: #d8cadf;
    }

    ul {
      padding-left: 1.8rem;
      margin: 1.3rem 0;
    }

    /* === Bubble Hover Buttons === */
    .nav-buttons {
      display: flex;
      justify-content: space-between;
      margin-top: 2.8rem;
      gap: 1rem;
    }

    .btn {
      padding: 0.85rem 2.2rem;
      font-family: 'Montserrat', sans-serif;
      font-weight: 600;
      font-size: 1.05rem;
      border: none;
      border-radius: 60px;
      cursor: pointer;
      position: relative;
      overflow: hidden;
      z-index: 1;
      color: var(--dark-bg);
      background: var(--gold);
      transition: transform 0.3s, box-shadow 0.3s;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .btn.btn-back {
      background: #6c5a7d;
      color: white;
    }

    .btn::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.2);
      transition: width 0.6s, height 0.6s, opacity 0.6s;
      transform: translate(-50%, -50%);
      z-index: -1;
      opacity: 0;
    }

    .btn:hover::before {
      width: 400px;
      height: 400px;
      opacity: 1;
    }

    .btn:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 20px rgba(201, 168, 106, 0.5);
    }

    .btn:disabled {
      opacity: 0.4;
      transform: none;
      cursor: not-allowed;
      box-shadow: none;
    }

    /* === Responsive === */
    @media (max-width: 600px) {
      .page {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
      }
      h1 { font-size: 2.3rem; }
      h2 { font-size: 1.8rem; }
      .nav-buttons { flex-direction: column; }
      .btn { width: 100%; }
    }