@font-face {
  font-family: 'Villeroy Boch';
  src: url('../fonts/VilleroyBoch-Bold.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Brandon Grotesque';
  src: url('../fonts/BrandonGrotesque-MediumItalic.otf') format('opentype');
  font-weight: 500; font-style: italic; font-display: swap;
}
/* Only the medium italic cut was supplied, so map normal-style text to it too. */
@font-face {
  font-family: 'Brandon Grotesque';
  src: url('../fonts/BrandonGrotesque-MediumItalic.otf') format('opentype');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --bg: #07051a;
  /* White for titles and key text, a scale of cool grays for everything around it. */
  --ink: #ffffff;
  --ink-soft: #d3d3db;          /* body text */
  --ink-faint: #9e9eac;         /* labels, meta, hints */
  --silver: linear-gradient(180deg, #dcdce3 0%, #a7a7b3 100%);  /* buttons */
  --silver-solid: #c4c4ce;      /* selected borders, checks */
  --on-light: #22222b;          /* text on silver */
  --glass: rgba(18, 14, 40, 0.6);
  --glass-line: rgba(196, 196, 210, 0.26);
  --field: rgba(210, 210, 225, 0.08);
  --field-line: rgba(196, 196, 210, 0.3);
  --error: #ffb0b0;
  --radius: 22px;
  --font-display: 'Villeroy Boch', 'Times New Roman', serif;
  --font-body: 'Brandon Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-glyph: 'Noto Sans Symbols', 'Segoe UI Symbol', 'Apple Symbols', sans-serif;
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

/* Arabic: Tajawal everywhere, and no letter-spacing / uppercase (they break Arabic letter joining). */
html[dir="rtl"] {
  --font-display: 'Tajawal', sans-serif;
  --font-body: 'Tajawal', sans-serif;
}
html[dir="rtl"] body * { letter-spacing: 0 !important; text-transform: none !important; }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-user-select: none;
  user-select: none;
  overscroll-behavior: none;
  touch-action: manipulation;
}

input { -webkit-user-select: text; user-select: text; }
button { font: inherit; color: inherit; cursor: pointer; }

/* ---------- Background ---------- */
/* The intro's last frame. It drifts and zooms very slowly back and forth, so there is no loop point. */
.bg-image {
  position: fixed; inset: -6%; z-index: 0; pointer-events: none;
  background: #07051a url('../assets/video/background.jpg') center / cover no-repeat;
  animation: bg-drift 70s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes bg-drift {
  0% { transform: scale(1) translate(0, 0) rotate(0deg); }
  50% { transform: scale(1.12) translate(-1.5%, 1%) rotate(1.5deg); }
  100% { transform: scale(1.22) translate(1%, -1.5%) rotate(-1deg); }
}
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; display: block; pointer-events: none; }

/* ---------- Screens ---------- */
#app { position: fixed; inset: 0; z-index: 2; }
.screen {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: max(84px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .7s ease, visibility 0s linear .7s;
}
.screen.active {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity .7s ease, visibility 0s;
}

/* ---------- Attract screen ---------- */
#screen-attract { padding: 0; flex-direction: column; }
#attract-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
}
#attract-video.playing { opacity: 1; }
/* Tapping start: the whole attract scene swells and fades into the intro. */
#screen-attract:not(.active) .start-orb { transform: scale(1.8); opacity: 0; transition: transform 1.2s cubic-bezier(.55, 0, .25, 1), opacity .9s ease; }
.start-btn {
  position: relative; z-index: 1; background: none; border: 0; padding: 0;
  width: min(46vw, 46vh, 300px); aspect-ratio: 1; border-radius: 50%;
}
.start-btn:active .start-orb { transform: scale(.95); }
.start-orb {
  position: absolute; inset: 0; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .22), rgba(196, 196, 210, .08) 55%, rgba(18, 14, 40, .35) 75%);
  border: 1.5px solid rgba(220, 220, 232, .7);
  box-shadow: 0 0 60px rgba(255, 255, 255, .18), inset 0 0 50px rgba(255, 255, 255, .12);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: orb-breathe 4s ease-in-out infinite;
  transition: transform .2s ease;
}
.start-orb::before, .start-orb::after {
  content: ''; position: absolute; inset: -2px; border-radius: 50%;
  border: 1.5px solid rgba(220, 220, 232, .6);
  animation: ripple 3.2s ease-out infinite;
}
.start-orb::after { animation-delay: 1.6s; }
@keyframes orb-breathe {
  0%, 100% { box-shadow: 0 0 50px rgba(255, 255, 255, .14), inset 0 0 40px rgba(255, 255, 255, .1); }
  50% { box-shadow: 0 0 90px rgba(255, 255, 255, .3), inset 0 0 60px rgba(255, 255, 255, .2); }
}
.start-en {
  font-family: 'Villeroy Boch', serif; font-size: clamp(24px, 3.6vh, 34px); color: var(--ink);
  text-shadow: 0 0 20px rgba(255, 255, 255, .4);
}
.start-ar { font-family: 'Tajawal', sans-serif; font-size: clamp(20px, 3vh, 28px); font-weight: 500; color: var(--ink-soft); }
.attract-line {
  position: absolute; bottom: max(48px, env(safe-area-inset-bottom)); left: 0; right: 0; z-index: 1;
  margin: 0; text-align: center; color: var(--ink-faint); font-size: 18px; letter-spacing: .2em; text-transform: uppercase;
  display: flex; justify-content: center; align-items: baseline; gap: 14px; flex-wrap: wrap; padding: 0 20px;
}
.attract-line [lang="ar"] { font-family: 'Tajawal', sans-serif; letter-spacing: 0; font-size: 20px; text-transform: none; }
.screen.active .start-btn { animation: rise 1.2s .2s cubic-bezier(.2, .8, .2, 1) both; }
.screen.active .attract-line { animation: rise 1.2s .6s cubic-bezier(.2, .8, .2, 1) both; }

/* ---------- Intro video ---------- */
/* Leaving the video: it zooms into the sky while fading, and the form appears in its place. */
#screen-video { padding: 0; background: transparent; transition: opacity 1.6s ease, visibility 0s linear 1.6s; }
#screen-video.active { transition: opacity .4s ease, visibility 0s; }
#intro-video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.45);
  transition: transform 1.8s cubic-bezier(.55, 0, .25, 1);
}
#screen-video.active #intro-video { transform: none; transition: none; }

.pill-btn {
  position: absolute; bottom: max(28px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.45); border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 18px; letter-spacing: .08em; text-transform: uppercase;
}
.pill-btn[hidden] { display: none; }
.pill-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.skip-btn { right: 28px; }
.skip-btn .chev { font-size: 22px; }
.unmute-btn { left: 28px; }

/* ---------- Corner circles ---------- */
.corner-btn {
  position: fixed; top: max(20px, env(safe-area-inset-top)); z-index: 20;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0, 0, 0, .35); border: 1px solid var(--glass-line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .15s ease, background .2s;
}
.corner-btn:active { transform: scale(.92); background: rgba(255, 255, 255, .15); }
.corner-btn[hidden] { display: none; }
.lang-btn { left: 20px; font-family: 'Tajawal', sans-serif; font-size: 16px; font-weight: 700; }
html[dir="rtl"] .lang-btn { font-family: 'Brandon Grotesque', sans-serif; font-size: 17px; }
.sound-btn { right: 20px; }
.sound-btn svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sound-btn .off, .sound-btn.muted .on { display: none; }
.sound-btn.muted .off { display: block; }

/* ---------- Shared type / buttons ---------- */
.eyebrow {
  margin: 0 0 10px; color: var(--ink-faint); font-size: 15px;
  letter-spacing: .32em; text-transform: uppercase;
}
.splash-title, .form-title, .products-title, .sign-name, .picker-title {
  font-family: var(--font-display); font-weight: 700; margin: 0; color: var(--ink);
  text-shadow: 0 0 28px rgba(255, 255, 255, .28), 0 2px 12px rgba(0, 0, 0, .55);
}
.btn-primary {
  border: 0; border-radius: 999px;
  background: var(--silver);
  color: var(--on-light); font-weight: 600; letter-spacing: .06em;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -2px 0 rgba(0, 0, 0, .12);
  transition: transform .15s ease, opacity .2s ease, box-shadow .2s ease;
}
.btn-primary:active { transform: scale(.97); }
.btn-primary:disabled { opacity: .4; box-shadow: none; }
.btn-xl { padding: 22px 56px; font-size: 22px; text-transform: uppercase; }
.btn-block { width: 100%; padding: 20px; font-size: 20px; text-transform: uppercase; margin-top: 8px; }
.btn-ghost {
  background: transparent; border: 1px solid var(--glass-line); border-radius: 999px;
  padding: 14px 40px; font-size: 18px; color: var(--ink-soft);
}
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.glyph { font-family: var(--font-glyph); line-height: 1; color: var(--ink); }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------- Start Your Journey ---------- */
.splash { text-align: center; max-width: 760px; }
.splash .splash-sub { margin-bottom: 44px; }
.screen.active .splash > * { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.screen.active .splash > :nth-child(1) { animation-delay: .5s; }
.screen.active .splash > :nth-child(2) { animation-delay: .6s; }
.screen.active .splash > :nth-child(3) { animation-delay: .7s; }
.screen.active .splash > .journey-btn {
  animation: rise 1s .85s cubic-bezier(.2, .8, .2, 1) both, journey-pulse 2.8s 2s ease-in-out infinite;
}
@keyframes journey-pulse {
  0%, 100% { box-shadow: 0 12px 34px rgba(0, 0, 0, .4), 0 0 0 0 rgba(196, 196, 210, .45), inset 0 1px 0 rgba(255, 255, 255, .7); }
  50% { box-shadow: 0 12px 34px rgba(0, 0, 0, .4), 0 0 0 18px rgba(196, 196, 210, 0), inset 0 1px 0 rgba(255, 255, 255, .7); }
}

/* ---------- Claim your gift ---------- */
.gift { text-align: center; max-width: 760px; }
.gift .splash-title { margin-bottom: 40px; }
.gift-icon {
  width: 150px; height: 150px; margin: 0 auto 26px; border-radius: 50%;
  display: grid; place-items: center; position: relative;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03) 70%);
  border: 1.5px solid var(--glass-line);
  box-shadow: 0 0 60px rgba(255, 255, 255, .14), inset 0 0 30px rgba(255, 255, 255, .1);
}
.gift-icon::after {
  content: ''; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .3);
  animation: spin 30s linear infinite;
}
.gift-icon svg {
  width: 76px; height: 76px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, .5));
}
.screen.active .gift > * { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.screen.active .gift > :nth-child(1) { animation-delay: .2s; }
.screen.active .gift > :nth-child(2) { animation-delay: .35s; }
.screen.active .gift > :nth-child(3) { animation-delay: .45s; }
.screen.active .gift > .journey-btn {
  animation: rise 1s .6s cubic-bezier(.2, .8, .2, 1) both, journey-pulse 2.8s 1.8s ease-in-out infinite;
}

/* ---------- Form ---------- */
#screen-form { overflow-y: auto; overflow-x: hidden; align-items: center; }
/* No card: the fields float on the sky. A soft dark halo keeps text readable over passing stars. */
.form-card { position: relative; width: min(680px, 100%); padding: 20px 8px; margin: auto; }
.form-card::before {
  content: ''; position: absolute; inset: -12% -18%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(7, 5, 26, .72), rgba(7, 5, 26, .4) 60%, transparent);
}
/* Appears out of the intro's zoom: drops in from the top, fields following one by one. */
.screen.active .form-card { animation: drop-in 1.1s .35s cubic-bezier(.18, .9, .24, 1.05) both; }
.screen.active .form-card > * { animation: fade-down .7s cubic-bezier(.2, .8, .2, 1) both; }
.screen.active .form-card > :nth-child(1) { animation-delay: .7s; }
.screen.active .form-card > :nth-child(2) { animation-delay: .77s; }
.screen.active .form-card > :nth-child(3) { animation-delay: .85s; }
.screen.active .form-card > :nth-child(4) { animation-delay: .93s; }
.screen.active .form-card > :nth-child(5) { animation-delay: 1.01s; }
.screen.active .form-card > :nth-child(6) { animation-delay: 1.09s; }
.screen.active .form-card > :nth-child(7) { animation-delay: 1.17s; }
.screen.active .form-card > :nth-child(8) { animation-delay: 1.25s; }

/* Marketing consent: optional checkbox above the submit button */
.consent { display: flex; align-items: center; gap: 14px; margin: 2px 0 22px; cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.consent-box {
  flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: var(--field); border: 1px solid var(--field-line);
  transition: background .2s, border-color .2s;
}
.consent-box svg { width: 18px; height: 18px; fill: none; stroke: var(--on-light); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .15s; }
.consent input:checked + .consent-box { background: var(--silver); border-color: var(--silver-solid); }
.consent input:checked + .consent-box svg { opacity: 1; }
.consent input:focus-visible + .consent-box { box-shadow: 0 0 0 4px rgba(196, 196, 210, .25); }
.consent-text { font-size: 17px; color: var(--ink-soft); line-height: 1.4; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
@keyframes drop-in {
  from { opacity: 0; transform: translateY(-110vh) scale(.96); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-down { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }

.form-title { font-size: 42px; text-align: center; }
.form-sub { text-align: center; color: var(--ink-faint); margin: 6px 0 28px; font-size: 15px; }
.req { color: var(--ink-soft); }
.row { display: grid; gap: 16px; }
.row.two { grid-template-columns: 1fr 1fr; }
.row.three { grid-template-columns: 1fr 1.4fr 1.3fr; gap: 12px; }
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-size: 15px; letter-spacing: .04em; color: var(--ink-faint); margin-bottom: 8px; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.field input, .field select {
  width: 100%; height: 60px; padding: 0 18px;
  font: 500 20px var(--font-body); color: var(--ink);
  background: var(--field); border: 1px solid var(--field-line); border-radius: 14px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  outline: none; transition: border-color .2s, background .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: rgba(255, 255, 255, .4); }
.field select {
  padding-right: 44px;
  background-image: var(--chevron);
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px;
}
.field select option { background: #1b1440; color: var(--ink); }
.field input:focus, .field select:focus {
  border-color: var(--silver-solid); background-color: rgba(210, 210, 225, .13);
  box-shadow: 0 0 0 4px rgba(196, 196, 210, .14);
}
.field input.invalid, .field select.invalid { border-color: var(--error); }
.phone { display: grid; grid-template-columns: 150px 1fr; gap: 12px; }
.country-btn {
  height: 60px; display: flex; align-items: center; gap: 10px; padding: 0 36px 0 16px;
  font: 500 20px var(--font-body); color: var(--ink); direction: ltr;
  background: var(--field) var(--chevron) no-repeat right 12px center / 18px;
  border: 1px solid var(--field-line); border-radius: 14px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.flag { width: 30px; height: 22px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); flex: none; }
.err { display: block; min-height: 18px; margin-top: 6px; color: var(--error); font-size: 14px; }

html[dir="rtl"] .field select { padding: 0 18px 0 44px; background-position: left 14px center; }
html[dir="rtl"] .field input[name="mobile"] { text-align: right; }

/* ---------- Modals ---------- */
.modal {
  position: fixed; inset: 0; z-index: 10;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(4, 2, 16, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  animation: fade .4s ease both;
}
.modal[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes card-in {
  from { opacity: 0; transform: translateY(40px) scale(.85) rotateX(20deg); }
  to { opacity: 1; transform: none; }
}

.circle-btn {
  position: absolute; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .06); border: 1.5px solid rgba(255, 255, 255, .6);
  transition: transform .15s ease, background .2s;
}
.circle-btn:active { transform: scale(.92); background: rgba(255, 255, 255, .18); }
.circle-btn svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.close-btn { top: 18px; right: 18px; }
html[dir="rtl"] .close-btn { right: auto; left: 18px; }

/* ---------- Sign video (big, centre, nothing else on screen) ---------- */
#screen-reveal { padding: 0; }
#sign-canvas {
  width: min(92vw, 92vh); height: min(92vw, 92vh);
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, .3));
}
.card-open #screen-reveal { opacity: .35; transition: opacity .8s ease; }

/* ---------- Sign card ---------- */
.sign-card {
  position: relative; width: min(580px, 100%);
  padding: 50px 48px 36px; text-align: center;
  animation: card-in .8s cubic-bezier(.18, .9, .24, 1.1) both;
}
.sign-logo {
  width: 170px; height: 170px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; position: relative;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03) 70%);
  border: 1.5px solid var(--glass-line);
  box-shadow: 0 0 60px rgba(255, 255, 255, .14), inset 0 0 30px rgba(255, 255, 255, .1);
}
.sign-logo::after {
  content: ''; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .3);
  animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.sign-logo img { width: 78%; height: 78%; object-fit: contain; }
.sign-logo .glyph { font-size: 96px; text-shadow: 0 0 30px rgba(255, 255, 255, .55); }
.sign-name { font-size: 58px; letter-spacing: .04em; }
.sign-dates { margin: 6px 0 22px; color: var(--ink-faint); font-size: 18px; letter-spacing: .1em; }
.sign-host-title {
  margin: 0 auto 12px; font-family: var(--font-display); font-size: 21px; color: var(--ink-soft);
  letter-spacing: .1em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.sign-host-title::before, .sign-host-title::after { content: ''; width: 36px; height: 1px; background: var(--ink-faint); }
.sign-desc { font-size: 21px; line-height: 1.55; margin: 0; color: var(--ink); }
.sign-desc-2 { margin-top: 12px; color: var(--ink-faint); }
html[dir="rtl"] .sign-desc { font-size: 23px; line-height: 1.7; }

/* Continue: a glowing circle with a soft ripple and a quiet line of text underneath. */
.next-btn {
  margin: 30px auto 0; background: none; border: 0; padding: 0;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.next-circle {
  position: relative; width: 74px; height: 74px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--silver);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .7);
  transition: transform .15s ease;
}
.next-circle::before, .next-circle::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--silver-solid);
  animation: ripple 2.4s ease-out infinite;
}
.next-circle::after { animation-delay: 1.2s; }
@keyframes ripple { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.next-circle svg {
  width: 28px; height: 28px; fill: none; stroke: var(--on-light); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  animation: nudge 2s 1s ease-in-out infinite;
}
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
html[dir="rtl"] .next-circle svg { transform: scaleX(-1); animation-name: nudge-rtl; }
@keyframes nudge-rtl { 0%, 100% { transform: scaleX(-1) translateX(0); } 50% { transform: scaleX(-1) translateX(4px); } }
.next-btn:active .next-circle { transform: scale(.92); }
.next-label { font-size: 14px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-faint); }
html[dir="rtl"] .next-label { font-size: 17px; }

/* ---------- Products ---------- */
#screen-products { overflow-y: auto; }
.products { width: min(1100px, 100%); text-align: center; margin: auto; }
.products-title { font-size: clamp(36px, 5vw, 56px); }
.products-sub { margin: 10px 0 34px; color: var(--ink-faint); font-size: 19px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 36px; }
.product-card {
  position: relative; padding: 22px 14px 20px;
  border-radius: var(--radius); border: 1.5px solid var(--glass-line);
  background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .25s ease, border-color .25s, box-shadow .25s;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.screen.active .product-card { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.screen.active .product-card:nth-child(2) { animation-delay: .1s; }
.screen.active .product-card:nth-child(3) { animation-delay: .2s; }
.screen.active .product-card:nth-child(4) { animation-delay: .3s; }
.product-card:active { transform: scale(.97); }
.product-card.selected {
  border-color: var(--silver-solid); transform: translateY(-6px);
  box-shadow: 0 0 0 3px rgba(196, 196, 210, .28), 0 20px 50px rgba(0, 0, 0, .45);
}
.product-card .check {
  position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--glass-line); display: grid; place-items: center; transition: all .2s;
}
html[dir="rtl"] .product-card .check { right: auto; left: 12px; }
.product-card.selected .check { background: var(--silver); border-color: var(--silver-solid); }
.product-card .check svg { width: 16px; height: 16px; fill: none; stroke: var(--on-light); stroke-width: 3; opacity: 0; }
.product-card.selected .check svg { opacity: 1; }
.product-art { width: 100%; max-width: 200px; aspect-ratio: 1; }
.product-art svg, .product-art img { width: 100%; height: 100%; display: block; object-fit: contain; }
.product-name { font-family: var(--font-display); font-size: 22px; color: var(--ink); margin: 10px 0 2px; }
.product-meta { font-size: 15px; color: var(--ink-faint); letter-spacing: .06em; min-height: 1.3em; }
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-inline-end: 6px; vertical-align: -1px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); }

/* ---------- Country picker ---------- */
.picker-title { font-size: 30px; margin: 0 50px 22px; text-align: center; }
.country-picker {
  position: relative; width: min(620px, 100%); height: min(760px, 88vh);
  padding: 40px 28px 24px; display: flex; flex-direction: column;
  animation: card-in .5s cubic-bezier(.18, .9, .24, 1.1) both;
}
.country-search {
  width: 100%; height: 56px; padding: 0 18px; margin-bottom: 14px; flex: none;
  font: 500 19px var(--font-body); color: var(--ink);
  background: var(--field); border: 1px solid var(--field-line); border-radius: 14px; outline: none;
}
.country-search::placeholder { color: rgba(255, 255, 255, .45); }
.country-search:focus { border-color: var(--silver-solid); }
.country-list { overflow-y: auto; flex: 1; margin: 0 -8px; padding: 0 8px; -webkit-overflow-scrolling: touch; }
.country-list button {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 12px;
  background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .07);
  font-size: 19px; text-align: start; border-radius: 10px;
}
.country-list button:active, .country-list button.current { background: rgba(255, 255, 255, .12); }
.country-list .name { flex: 1; }
.country-list .code { color: var(--ink-faint); direction: ltr; }
.country-list .divider { height: 1px; background: var(--glass-line); margin: 8px 0; }
.country-list .empty { color: var(--ink-faint); text-align: center; padding: 30px; }

/* ---------- Thanks ---------- */
.thanks { text-align: center; max-width: 760px; }
.splash-title { font-size: clamp(44px, 7vw, 84px); line-height: 1.1; margin-bottom: 20px; }
.splash-sub { font-size: clamp(18px, 2.2vw, 24px); color: var(--ink-faint); margin: 0 0 44px; }
.thanks-glyph {
  font-family: var(--font-glyph); font-size: 120px; color: var(--ink); line-height: 1;
  text-shadow: 0 0 40px rgba(255, 255, 255, .55); margin-bottom: 16px;
}
.screen.active .thanks > * { animation: rise .8s cubic-bezier(.2, .8, .2, 1) both; }
.screen.active .thanks > :nth-child(2) { animation-delay: .1s; }
.screen.active .thanks > :nth-child(3) { animation-delay: .2s; }
.screen.active .thanks > :nth-child(4) { animation-delay: .4s; }

/* ---------- Responsive (portrait tablet / phones) ---------- */
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 18px; }
  .product-art { max-width: 180px; }
}
@media (max-width: 600px) {
  .row.two { grid-template-columns: 1fr; gap: 0; }
  .row.three { grid-template-columns: 1fr 1.3fr; }
  .row.three select:last-child { grid-column: 1 / -1; }
  .phone { grid-template-columns: 130px 1fr; }
  .country-btn { font-size: 18px; padding-left: 12px; gap: 8px; }
  .sign-card { padding: 40px 24px 30px; }
  .sign-name { font-size: 42px; }
  .sign-desc { font-size: 17px; }
  .btn-xl { padding: 18px 36px; font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
