:root {
      --purple-deep:   #2d2060;
      --purple-mid:    #3d2d8a;
      --purple-btn:    #4a3a9e;
      --purple-hover:  #5a4ab8;
      --gold-warm:     #e8c97a;
      --cream:         #f5ead8;
      --text-dark:     #1a1340;
      --text-light:    #fff;
      --overlay:       rgba(30, 18, 80, 0.55);
      --modal-bg:      rgba(255, 255, 255, 0.96);
      --radius-btn:    50px;
      --radius-modal:  24px;
      --transition:    0.35s cubic-bezier(.4,0,.2,1);
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html, body { height: 100%; width: 100%; overflow: hidden; }

    body {
      font-family: 'DM Sans', sans-serif;
      position: relative;
    }




      body{
        height:100vh;
        background:url('images/desk11.webp') top/cover no-repeat; 
           
      }

      /* Blur Overlay 
      body::before{
        content:'';
        position:absolute;
        inset:0;
         
          background: rgb(0 0 0 / 49%);
      }
*/

      @media(max-width:768px){
          body{
            height:100vh;
            background:url('images/mobile-11.jpg') top/cover no-repeat;
          }
      }





    .bg-desktop,
    .bg-mobile {
      position: fixed;
      inset: 0;
      background-size: cover;
      background-position: center;
      filter: blur(6px) brightness(0.78) saturate(1.15);
      transform: scale(1.05); /* prevents blur edge bleed */
      transition: opacity 0.6s ease;
    }

    .bg-desktop {
      /*background:
        radial-gradient(ellipse at 20% 30%, rgba(240,200,140,0.55) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 70%, rgba(80,55,160,0.7) 0%, transparent 55%),
        linear-gradient(160deg, #f0d9a8 0%, #c9a9e0 40%, #4a2f9a 75%, #1e1250 100%);*/
      display: block;
    }

     /* background:
        radial-gradient(ellipse at 50% 20%, rgba(240,200,130,0.45) 0%, transparent 50%),
        linear-gradient(180deg, #ead5a5 0%, #9b7dd4 45%, #2d1e78 100%);*/
      display: none;
    }

    .blob {
      position: fixed;
      border-radius: 50%;
      filter: blur(60px);
      opacity: 0.35;
      pointer-events: none;
    }
    .blob-1 { width: 520px; height: 520px; background: #f0c060; top: -120px; left: -140px; }
    .blob-2 { width: 480px; height: 480px; background: #7c50d8; bottom: -100px; right: -100px; }
    .blob-3 { width: 300px; height: 300px; background: #e07090; top: 40%; left: 55%; }

    .overlay {
      position: fixed;
      inset: 0;
      background: var(--overlay);
      backdrop-filter: blur(6px);
    }

    @media (max-width: 768px) {
      .bg-desktop { display: none; }
      .bg-mobile  { display: block; }
      .blob-3 { display: none; }
    }

    .modal-wrap {
      position: fixed;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 100;
      padding: 16px;
    }

    .modal {
      background: var(--modal-bg);
      border-radius: var(--radius-modal);
      padding: 30px 55px 23px;
    max-width: 450px;
    width: 100%;
      text-align: center;
      box-shadow:
        0 32px 80px rgba(30,18,80,0.45),
        0 0 0 1px rgba(255,255,255,0.6) inset;
      backdrop-filter: blur(20px);
      animation: modalIn 0.55s cubic-bezier(.22,1,.36,1) both;
      position: relative;
      overflow: hidden;
    }

    .modal::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--purple-deep), var(--gold-warm), var(--purple-mid));
      border-radius: var(--radius-modal) var(--radius-modal) 0 0;
    }

    @keyframes modalIn {
      from { opacity: 0; transform: translateY(36px) scale(0.96); }
      to   { opacity: 1; transform: translateY(0)   scale(1); }
    }

    .brand {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-bottom: 28px;
    }

    .brand-icon {
      width: 36px; height: 36px;
      background: linear-gradient(135deg, var(--purple-deep), var(--purple-mid));
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
    }
    .brand-icon svg { width: 20px; height: 20px; fill: #fff; }

    .brand-name {
      font-family: 'DM Sans', sans-serif;
      font-weight: 700;
      font-size: 1.5rem;
      letter-spacing: -0.03em;
      color: var(--purple-deep);
    }
    .brand-name span { color: var(--gold-warm); filter: brightness(0.75); }

    .age-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-mid) 100%);
      color: #fff;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      padding: 6px 18px;
      border-radius: 50px;
      margin-bottom: 24px;
    }
    .age-badge svg { width: 14px; height: 14px; fill: var(--gold-warm); flex-shrink: 0; }

    /* ─── Heading ────────────────────────────────────── */
    .modal-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.75rem, 4vw, 1.55rem);
      font-weight: 700;
      color: var(--purple-deep);
      line-height: 1.18;
      margin-bottom: 14px;
      letter-spacing: -0.02em;
    }
    .modal-title em {
      font-style: italic;
      color: var(--purple-mid);
    }

    .modal-sub {
    font-size: 0.85rem;
    font-weight: 400;
    color: #6b5f8a;
    line-height: 1.6;
    margin-bottom: 17px; 
      max-width: 380px;
      margin-left: auto;
      margin-right: auto;
    }

    .btn-group {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-bottom: 16px;
    }

    .btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 16px 32px;
      border-radius: var(--radius-btn);
      font-family: 'DM Sans', sans-serif;
      font-weight: 700;
      font-size: 0.85rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      cursor: pointer;
      border: none;
      transition:
        background var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
      outline: none;
      position: relative;
      overflow: hidden;
    }

    .btn::after {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(255,255,255,0);
      transition: background 0.2s;
    }
    .btn:hover::after { background: rgba(255,255,255,0.08); }

    .btn-primary {
      background: linear-gradient(135deg, var(--purple-mid) 0%, var(--purple-deep) 100%);
      color: #fff;
      box-shadow: 0 6px 24px rgba(62,40,140,0.35);
    }
    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 32px rgba(62,40,140,0.45);
    }
    .btn-primary:active { transform: translateY(0); }

    .btn-outline {
      background: transparent;
      color: var(--purple-deep);
      border: 2px solid rgba(62,40,140,0.25);
    }
    .btn-outline:hover {
      border-color: var(--purple-mid);
      background: rgba(62,40,140,0.05);
      transform: translateY(-1px);
    }

    .btn-icon { width: 18px; height: 18px; flex-shrink: 0; }

    .divider {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
    }
    .divider::before, .divider::after {
      content: '';
      flex: 1;
      height: 1px;
      background: rgba(62,40,140,0.15);
    }
    .divider span {
      font-size: 0.75rem;
      color: #a090c0;
      font-weight: 500;
      letter-spacing: 0.05em;
    }

    .dob-form {
      display: flex;
      gap: 10px;
      margin-bottom: 28px;
    }
    .dob-form input,
    .dob-form select {
      flex: 1;
      padding: 13px 14px;
      border: 1.5px solid rgba(62,40,140,0.2);
      border-radius: 12px;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.9rem;
      color: var(--purple-deep);
      background: rgba(62,40,140,0.04);
      outline: none;
      transition: border-color var(--transition), box-shadow var(--transition);
      -webkit-appearance: none;
    }
    .dob-form input:focus,
    .dob-form select:focus {
      border-color: var(--purple-mid);
      box-shadow: 0 0 0 3px rgba(62,40,140,0.12);
    }
    .dob-form input::placeholder { color: #b0a0cc; }

    .legal {
      font-size: 0.74rem;
      color: #a090b8;
      line-height: 1.65;
    }
    .legal a { color: var(--purple-mid); text-decoration: none; }
    .legal a:hover { text-decoration: underline; }

    .declined {
      display: none;
      flex-direction: column;
      align-items: center;
      gap: 16px;
    }
    .declined .decline-icon {
      width: 64px; height: 64px;
      background: linear-gradient(135deg, #f0c0d0, #e080a0);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
    }
    .declined .decline-icon svg { width: 32px; height: 32px; fill: #fff; }
    .declined h2 {
      font-family: 'Playfair Display', serif;
      font-size: 1.6rem;
      color: var(--purple-deep);
    }
    .declined p { color: #7060a0; font-size: 0.92rem; line-height: 1.6; }

    .success-screen {
      display: none;
      flex-direction: column;
      align-items: center;
      gap: 20px;
      animation: modalIn 0.5s ease both;
    }
    .success-icon {
      width: 72px; height: 72px;
      background: linear-gradient(135deg, var(--purple-mid), var(--purple-deep));
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 8px 24px rgba(62,40,140,0.4);
    }
    .success-icon svg { width: 36px; height: 36px; fill: var(--gold-warm); }
    .success-screen h2 {
      font-family: 'Playfair Display', serif;
      font-size: 1.75rem;
      color: var(--purple-deep);
    }
    .success-screen p { color: #7060a0; font-size: 0.92rem; }

    @media (max-width: 600px) {
      .modal { padding: 24px 22px 21px;}
      .modal-title { font-size: 1.6rem; }
      .dob-form { flex-direction: column; }
      .btn { font-size: 0.8rem; padding: 13px 16px; }
    }

    @keyframes shake {
      0%,100% { transform: translateX(0); }
      20%,60%  { transform: translateX(-6px); }
      40%,80%  { transform: translateX(6px); }
    }
    .shake { animation: shake 0.4s ease; }

    .error-msg {
      font-size: 0.78rem;
      color: #c0405a;
      margin-top: -20px;
      margin-bottom: 12px;
      display: none;
    }