/* =========================================================
   GLORY — Store styles
   Palette (brand-locked, see GLORY Style Guide.pdf):
   #EEEEEE text · #AC9069 gold · #615040→#AC9069 gold gradient
   #13161B→#06090E background gradient
   ========================================================= */

/* ---------- Fonts (supplied brand fonts only) ---------- */
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/BarlowCondensed-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/BarlowCondensed-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/BarlowCondensed-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/BarlowCondensed-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/BarlowCondensed-ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Neue Montreal'; src: url('/fonts/NeueMontreal-Light.otf') format('opentype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Neue Montreal'; src: url('/fonts/NeueMontreal-Regular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Neue Montreal'; src: url('/fonts/NeueMontreal-Medium.otf') format('opentype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Neue Montreal'; src: url('/fonts/NeueMontreal-Bold.otf') format('opentype'); font-weight: 700; font-display: swap; }

/* Arabic: Cairo covers Arabic letters only; Latin text keeps the brand fonts */
@font-face { font-family: 'Cairo'; src: url('/fonts/Cairo-Arabic-400.woff2') format('woff2'); font-weight: 300 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Cairo'; src: url('/fonts/Cairo-Arabic-600.woff2') format('woff2'); font-weight: 500 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Cairo'; src: url('/fonts/Cairo-Arabic-700.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Cairo'; src: url('/fonts/Cairo-Arabic-800.woff2') format('woff2'); font-weight: 800 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

/* ---------- Tokens ---------- */
:root {
  --text: #EEEEEE;
  --gold: #AC9069;
  --gold-deep: #615040;
  --bg-1: #13161B;
  --bg-2: #06090E;

  --text-70: rgba(238, 238, 238, .7);
  --text-50: rgba(238, 238, 238, .5);
  --line: rgba(238, 238, 238, .08);
  --line-2: rgba(238, 238, 238, .14);
  --gold-20: rgba(172, 144, 105, .2);
  --gold-40: rgba(172, 144, 105, .4);

  --grad-gold: linear-gradient(90deg, var(--gold-deep), var(--gold));
  --grad-gold-wide: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--gold-deep));
  --grad-bg: linear-gradient(180deg, var(--bg-1), var(--bg-2));
  --glow: drop-shadow(0 0 12px rgba(172, 144, 105, .45)) drop-shadow(0 0 28px rgba(172, 144, 105, .2));

  --f-head: 'Barlow Condensed', 'Cairo', sans-serif;
  --f-body: 'Neue Montreal', 'Cairo', sans-serif;

  --container: 1320px;
  --gutter: 24px;
  --radius: 14px;
  --nav-h: 72px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 32px + env(safe-area-inset-top)); -webkit-text-size-adjust: 100%; background: var(--bg-2); -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-2);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
/* Site background gradient, fixed behind everything */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(172, 144, 105, .06), transparent 70%),
    var(--grad-bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-family: var(--f-head); line-height: 1.05; text-transform: uppercase; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--bg-2); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px;
  background: var(--gold); color: var(--bg-2); border-radius: 8px; transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.container--narrow { --container: 900px; }
.muted { color: var(--text-50); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--f-head); font-weight: 700; font-size: 17px;
  letter-spacing: .08em; text-transform: uppercase; line-height: 1;
  transition: background-position .5s var(--ease), color .25s, border-color .25s, transform .25s var(--ease), box-shadow .3s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--gold {
  color: var(--bg-2);
  background: var(--grad-gold-wide);
  background-size: 200% 100%;
  background-position: 0 0;
}
.btn--gold:hover { background-position: 100% 0; box-shadow: 0 8px 28px -8px var(--gold-40); }
.btn--ghost {
  color: var(--text);
  border: 1px solid var(--line-2);
  background: rgba(19, 22, 27, .45);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { padding: 11px 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.icon-btn {
  position: relative;
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  color: var(--text);
  transition: color .25s, background-color .25s, border-color .25s;
}
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { color: var(--gold); }
.icon-btn--ring { border: 1px solid var(--line-2); }
.icon-btn--ring:hover { border-color: var(--gold); }
.badge {
  position: absolute; top: 0; right: -2px;
  min-width: 18px; height: 18px; padding: 0 5px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--gold); color: var(--bg-2);
  font: 700 11px/1 var(--f-body);
}
.badge.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- Loading screen ---------- */
.loader { display: none; }
.is-loading .loader, .loader.is-done {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  --p: 0;
  background:
    radial-gradient(40% 35% at 50% 45%, rgba(172, 144, 105, .14), transparent 70%),
    var(--grad-bg);
  transition: transform 1s cubic-bezier(.76, 0, .24, 1);
}
.is-loading body { overflow: hidden; }
/* gold edge that sweeps up on exit */
.loader::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--grad-gold-wide);
  box-shadow: 0 0 24px 2px rgba(172, 144, 105, .45);
  opacity: 0; transition: opacity .3s;
}
.loader.is-done { transform: translateY(-100%); pointer-events: none; }
.loader.is-done::after { opacity: 1; }

.loader__lines {
  position: absolute; inset: -80px;
  background: repeating-linear-gradient(115deg, rgba(238, 238, 238, .025) 0 1px, transparent 1px 90px);
  animation: lines-drift 6s linear infinite;
}
@keyframes lines-drift { to { transform: translateX(90px); } }

.loader__center {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  width: min(320px, 100% - 64px);
  transition: opacity .45s, transform .6s var(--ease);
}
.loader.is-done .loader__center { opacity: 0; transform: translateY(-30px) scale(.96); }

.loader__mark {
  position: relative;
  width: clamp(104px, 14vw, 148px);
  aspect-ratio: 400 / 358;
  animation: mark-in .9s var(--ease) both;
}
.loader__mark::before { /* soft pulse behind the G */
  content: ''; position: absolute; inset: -40%;
  background: radial-gradient(closest-side, rgba(172, 144, 105, .28), transparent);
  animation: pulse 2.2s ease-in-out infinite;
}
.loader__mark-base, .loader__mark-fill {
  position: absolute; inset: 0;
  -webkit-mask: url('/assets/brand/glory-icon.webp') center / contain no-repeat;
  mask: url('/assets/brand/glory-icon.webp') center / contain no-repeat;
}
.loader__mark-base { background: rgba(238, 238, 238, .08); }
.loader__mark-fill {
  background: linear-gradient(115deg, var(--gold-deep) 20%, var(--gold) 42%, var(--text) 50%, var(--gold) 58%, var(--gold-deep) 80%);
  background-size: 300% 100%;
  animation: sheen 2.4s linear infinite;
  clip-path: inset(calc((1 - var(--p)) * 100%) 0 0 0);
}
@keyframes sheen { from { background-position: 100% 0; } to { background-position: -50% 0; } }
@keyframes pulse { 50% { opacity: .45; transform: scale(.9); } }
@keyframes mark-in { from { opacity: 0; transform: scale(.85); filter: blur(6px); } }

.loader__bar {
  position: relative;
  width: 100%; height: 2px; margin-top: 38px;
  background: var(--line);
  border-radius: 2px;
}
.loader__bar span {
  position: absolute; inset: 0;
  background: var(--grad-gold);
  transform-origin: left;
  transform: scaleX(var(--p));
  border-radius: inherit;
}
.loader__bar::after { /* glowing tip */
  content: ''; position: absolute; top: 50%; left: calc(var(--p) * 100%);
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 12px 3px rgba(172, 144, 105, .7);
  transform: translate(-50%, -50%);
}
.loader__meta {
  width: 100%;
  display: flex; flex-direction: column-reverse; align-items: center; gap: 10px;
  margin-top: 18px;
  text-align: center;
  animation: rise .8s .2s var(--ease) both;
}
.loader__tag {
  font: 600 11px var(--f-head);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-50);
}
.loader__pct { font: 800 30px/1 var(--f-head); color: var(--gold); font-variant-numeric: tabular-nums; }
.loader__pct b { display: inline-block; min-width: 2ch; text-align: end; }
.loader__pct b { font-weight: inherit; }

/* Page entrance once the loader lifts */
.is-loading .hero__actions, .is-loading .nav { animation-play-state: paused; }
.is-loaded .hero__img, .is-loaded .banner__img { animation: hero-in 1.4s var(--ease) both; }
.nav { animation: nav-in .9s .35s var(--ease) both; }
@keyframes hero-in { from { transform: scale(1.04); opacity: .4; } }
@keyframes nav-in { from { opacity: 0; transform: translateY(-16px); } }

/* ---------- Nav ---------- */
.nav-wrap {
  position: fixed; inset: calc(16px + env(safe-area-inset-top)) 0 auto; z-index: 50;
  pointer-events: none;
}
/* Frosted band behind the floating nav (and the phone status bar) once the page scrolls */
.nav-wrap::before {
  content: '';
  position: absolute; z-index: -1;
  left: 0; right: 0;
  top: calc(-16px - env(safe-area-inset-top));
  height: calc(var(--nav-h) + 44px + env(safe-area-inset-top));
  background: linear-gradient(to bottom, rgba(12, 14, 18, .82), rgba(12, 14, 18, .45) 70%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
  mask-image: linear-gradient(to bottom, #000 72%, transparent);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.nav-wrap.is-scrolled::before { opacity: 1; }
.nav {
  pointer-events: auto;
  position: relative;
  width: min(var(--container), 100% - 32px);
  height: var(--nav-h);
  margin-inline: auto;
  padding: 0 14px 0 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  direction: ltr; /* logo always sits on the right */
  border-radius: var(--radius);
  background: rgba(19, 22, 27, .55);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px -18px rgba(6, 9, 14, .9);
  transition: background-color .35s;
}
.nav-wrap.is-scrolled .nav { background: rgba(19, 22, 27, .78); }

.nav__tools { display: flex; align-items: center; gap: 8px; justify-self: start; }
.nav__cart { display: inline-flex; align-items: center; gap: 2px; color: var(--text); }
.nav__cart:hover .icon-btn { color: var(--gold); }
.nav__cart-total { font: 500 14px var(--f-body); color: var(--text-70); font-variant-numeric: tabular-nums; }

.nav__lang {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: rgba(238, 238, 238, .05);
  font: 600 15px/1 var(--f-head); letter-spacing: .04em;
  color: var(--text-70);
  transition: color .25s, border-color .25s, background-color .25s;
}
.nav__lang svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.nav__lang:hover { color: var(--gold); border-color: var(--gold-40); background: rgba(172, 144, 105, .08); }
.nav__links { display: flex; gap: clamp(28px, 3.5vw, 56px); }
.nav__links a {
  position: relative;
  display: block; padding: 8px 2px;
  font: 600 19px var(--f-head);
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-70);
  transition: color .25s;
}
.nav__links a::after {
  content: ''; position: absolute; left: 50%; bottom: -2px;
  width: 6px; height: 6px; background: var(--gold);
  transform: translateX(-50%) rotate(45deg) scale(0);
  transition: transform .3s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a.is-active { color: var(--gold); }
.nav__links a.is-active::after { transform: translateX(-50%) rotate(45deg) scale(1); }

.nav__brand { justify-self: end; display: flex; align-items: center; gap: 6px; }
.nav__logo img { height: 30px; width: auto; transition: transform .3s var(--ease); }
.nav__logo:hover img { transform: scale(1.03); }
.nav__menu { display: none; }

/* ---------- Hero (full width, fades into the page) ---------- */
.hero, .banner { position: relative; }
.hero__img, .banner__img {
  width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
}
.hero__actions {
  position: absolute;
  left: 4.4%; top: 71%;
  display: flex; gap: 14px;
  animation: rise .9s .25s var(--ease) both;
}
.hero__actions .btn { font-size: clamp(14px, 1.05vw, 19px); padding: .85em 1.7em; }
/* Desktop art has this line baked in; the mobile art doesn't (it would be too small to read), so it's live text there */
.hero__sub { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Promo strips ---------- */
.strips {
  position: relative;
  height: 150px;
  margin-top: -40px;
  overflow: clip;
  z-index: 1;
}
.strip {
  position: absolute; left: -5%; right: -5%;
  top: 50%;
  padding: 14px 0;
  overflow: hidden;
}
.strip--gold {
  background: var(--grad-gold-wide);
  color: var(--bg-2);
  transform: translateY(-50%) rotate(-2.2deg);
  box-shadow: 0 12px 30px -12px rgba(6, 9, 14, .9);
}
.strip--dark {
  background: var(--bg-1);
  color: var(--gold);
  transform: translateY(-50%) rotate(2deg);
  border-block: 1px solid var(--gold-20);
  opacity: .9;
}
.strip__track {
  display: flex; width: max-content;
  animation: marquee 40s linear infinite;
}
.strip--dark .strip__track { animation-direction: reverse; animation-duration: 52s; }
.strip__track span {
  display: inline-flex; align-items: center; gap: 34px;
  padding-inline-end: 34px;
  font: 700 22px/1 var(--f-head);
  letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.strip__track span::after {
  content: ''; width: 9px; height: 9px;
  background: currentColor; transform: rotate(45deg);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 7vw, 104px); }
.section--tight { padding-block: clamp(24px, 3vw, 40px); }
#services { padding-top: clamp(28px, 4vw, 56px); }

.section-head { text-align: center; margin-bottom: clamp(32px, 4vw, 56px); }
.eyebrow {
  font: 600 15px var(--f-head);
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.title {
  font-weight: 800;
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: .01em;
}
.title em, .modal__title em {
  font-style: normal;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-inline-end: .04em;
}
.title--start { text-align: start; }
.divider {
  position: relative; display: block;
  width: 220px; height: 10px; margin: 18px auto 0;
  background:
    linear-gradient(90deg, transparent, var(--gold-40)) left center / calc(50% - 14px) 1px no-repeat,
    linear-gradient(90deg, var(--gold-40), transparent) right center / calc(50% - 14px) 1px no-repeat;
}
.divider::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 8px; height: 8px; background: var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
}

/* ---------- Cards (shared) — the card art itself, no box, no stroke ---------- */
.card { position: relative; }
.card > img {
  width: 100%; height: auto;
  transition: filter .4s var(--ease), transform .4s var(--ease);
}
.card:hover > img, .card:focus-within > img { filter: var(--glow); transform: translateY(-4px); }
.card__btn {
  position: absolute; z-index: 2;
  padding: 10px 18px;
  border-radius: 8px;
  font: 700 14px/1 var(--f-head);
  letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  color: var(--bg-2);
  background: var(--grad-gold-wide);
  background-size: 200% 100%;
  box-shadow: 0 8px 22px -8px rgba(6, 9, 14, .9);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background-position .5s var(--ease);
}
.card__btn:hover { background-position: 100% 0; }

/* What we offer banner */
.offer-banner img { width: 100%; height: auto; }

/* Services: 4 across */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 1.2vw, 18px);
  margin-top: clamp(20px, 3vw, 40px);
}
/* Best sellers: 3 across, photo cards that link to Level Up */
.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 28px);
}
a.card { display: block; border-radius: 16px; }

/* ---------- Why choose GLORY ---------- */
.section--features { position: relative; }
.section--features::before {
  content: ''; position: absolute; inset: 10% 0 auto; height: 70%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(172, 144, 105, .08), transparent 70%);
  pointer-events: none;
}
.features {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 40px);
}
.feature { text-align: center; perspective: 700px; }
.feature__icon {
  width: clamp(92px, 9vw, 124px); height: auto;
  margin: 0 auto 22px;
  transition: transform .9s var(--ease), filter .4s;
}
.feature:hover .feature__icon { transform: rotateY(360deg); }
.feature h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: .02em;
}
.feature p {
  margin-top: 8px;
  font-size: 13px; font-weight: 400;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-50);
}

/* ---------- CTA promo ---------- */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: clamp(32px, 5vw, 72px);
  background:
    radial-gradient(60% 90% at 85% 50%, rgba(172, 144, 105, .22), transparent 70%),
    linear-gradient(120deg, var(--bg-1), var(--bg-2));
  border: 1px solid var(--gold-20);
}
.cta__mark {
  position: absolute; right: clamp(-60px, -2vw, 0px); top: 50%;
  width: clamp(220px, 30vw, 420px); height: auto;
  transform: translateY(-50%) rotate(-8deg);
  opacity: .16;
  pointer-events: none;
}
.cta__body { position: relative; max-width: 620px; }
.cta__text { margin-top: 16px; color: var(--text-70); font-size: 17px; max-width: 520px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  border-radius: 12px;
  background: rgba(19, 22, 27, .8);
  border: 1px solid var(--line);
  transition: border-color .3s, background-color .3s;
}
.faq__item:hover { border-color: var(--line-2); }
.faq__item.is-open { border-color: var(--gold-20); background: rgba(19, 22, 27, .95); }
/* question text on the right, arrow on the left */
.faq__q {
  width: 100%;
  display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px;
  text-align: right;
  font: 600 clamp(18px, 1.6vw, 21px)/1.3 var(--f-head);
  letter-spacing: .03em; text-transform: uppercase;
}
.faq__q:focus-visible { outline-offset: -2px; border-radius: 12px; }
.faq__arrow {
  flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-20); color: var(--gold);
  transition: transform .45s var(--ease), background-color .3s, color .3s;
}
.faq__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.faq__item.is-open .faq__arrow { transform: rotate(180deg); background: var(--gold); color: var(--bg-2); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  padding: 0 24px 22px;
  text-align: right;
  color: var(--text-70);
  opacity: 0;
  transition: opacity .35s;
}
.faq__item.is-open .faq__a p { opacity: 1; transition-delay: .1s; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(56px, 8vw, 110px);
  padding-bottom: 28px;
}
.footer__panel {
  position: relative;
  padding: clamp(26px, 4vw, 52px);
  border-radius: 26px;
  background:
    radial-gradient(40% 70% at 0% 0%, rgba(172, 144, 105, .14), transparent 70%),
    radial-gradient(35% 60% at 100% 100%, rgba(172, 144, 105, .08), transparent 70%),
    linear-gradient(160deg, rgba(19, 22, 27, .92), rgba(6, 9, 14, .7));
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -40px rgba(6, 9, 14, .95);
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
/* gold top edge with the brand diamond */
.footer__panel::before {
  content: ''; position: absolute; top: -1px; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}
.footer__panel::after {
  content: ''; position: absolute; top: 0; left: 50%;
  width: 9px; height: 9px; background: var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 16px rgba(172, 144, 105, .7);
}

/* top row: brand statement + call to action */
.footer__top {
  display: flex; justify-content: space-between; align-items: center; gap: 28px;
  padding-bottom: clamp(24px, 3vw, 36px);
  margin-bottom: clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
}
.footer__logo { height: 40px; width: auto; margin-bottom: 14px; }
.footer__intro p { color: var(--text-70); font-size: 15px; max-width: 460px; }
.footer__cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.footer__cta-title {
  font: 800 clamp(26px, 2.6vw, 36px)/1.1 var(--f-head);
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--text), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__cta .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.footer__cta .btn:hover svg { transform: translateX(4px); }
[dir="rtl"] .footer__cta .btn svg { transform: scaleX(-1); }
[dir="rtl"] .footer__cta .btn:hover svg { transform: scaleX(-1) translateX(4px); }

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.4fr 1.5fr;
  gap: clamp(24px, 3.5vw, 48px);
  align-items: start;
}
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer__col h3 {
  position: relative;
  font-size: 19px; font-weight: 700; letter-spacing: .12em; color: var(--text);
  padding-bottom: 10px; margin-bottom: 4px;
}
.footer__col h3::after {
  content: ''; position: absolute; bottom: 0; inset-inline-start: 0;
  width: 28px; height: 2px; border-radius: 2px;
  background: var(--grad-gold);
}
.footer__col > a, .footer__col > button {
  display: inline-flex; align-items: center; gap: 0;
  color: var(--text-70); font-size: 15px; text-align: start;
  transition: color .25s, gap .3s var(--ease);
}
.footer__col > a::before, .footer__col > button::before {
  content: ''; width: 0; height: 6px; background: var(--gold);
  transform: rotate(45deg) scale(0);
  transition: width .3s var(--ease), transform .3s var(--ease);
}
.footer__col > a:hover, .footer__col > button:hover { color: var(--gold); gap: 10px; }
.footer__col > a:hover::before, .footer__col > button:hover::before { width: 6px; transform: rotate(45deg) scale(1); }
.footer__news p { color: var(--text-50); font-size: 14px; }

.news-form {
  display: flex; gap: 6px; width: 100%; margin-top: 6px;
  padding: 5px;
  border-radius: 12px;
  background: rgba(6, 9, 14, .7);
  border: 1px solid var(--line-2);
  transition: border-color .25s, box-shadow .25s;
}
.news-form:focus-within { border-color: var(--gold-40); box-shadow: 0 0 0 3px rgba(172, 144, 105, .12); }
.news-form input { flex: 1; min-width: 0; border: 0; background: none; padding: 10px 10px; }
.news-form input:focus { background: none; }
.cta__form.news-form { max-width: 460px; }

/* Freelance certificate badge */
.cert {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(172, 144, 105, .14), rgba(19, 22, 27, .6) 60%);
  border: 1px solid var(--gold-20);
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.cert:hover { border-color: var(--gold-40); transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(172, 144, 105, .5); }
.cert__seal {
  flex: none; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--grad-gold);
  box-shadow: 0 8px 20px -8px rgba(172, 144, 105, .7);
}
.cert__seal svg { width: 24px; height: 24px; fill: none; stroke: var(--bg-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cert__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cert__body strong { font: 700 17px/1.2 var(--f-head); letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.cert__body > span { font-size: 12.5px; line-height: 1.5; color: var(--text-50); }
.cert__body > .cert__meta { color: var(--text-70); }
.cert__meta b { font-weight: 500; color: var(--gold); }
.cert__body > .cert__view {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 4px;
  font: 600 13px var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--gold);
}
.cert__view svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.cert:hover .cert__view svg { transform: translate(2px, -2px); }
[dir="rtl"] .cert__view svg { transform: scaleX(-1); }

/* bottom bar */
.footer__bottom {
  position: relative;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 22px 6px env(safe-area-inset-bottom);
  color: var(--text-50); font-size: 14px;
}
.footer__bottom-links { display: flex; align-items: center; gap: 14px; }
.footer__bottom-links > span { width: 5px; height: 5px; background: var(--gold-40); transform: rotate(45deg); }
.footer__bottom-links a { transition: color .2s; }
.footer__bottom-links a:hover { color: var(--gold); }
.footer__lang { display: inline-flex; align-items: center; gap: 7px; }
.footer__lang svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 14px; }
.form label {
  display: flex; flex-direction: column; gap: 6px;
  font: 600 14px var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--text-70);
}
.form label small { font: 400 12px var(--f-body); letter-spacing: 0; text-transform: none; color: var(--text-50); }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: rgba(238, 238, 238, .04);
  font: 400 15px var(--f-body); letter-spacing: 0; text-transform: none;
  color: var(--text);
  transition: border-color .2s, background-color .2s;
}
input::placeholder, textarea::placeholder { color: var(--text-50); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); background: rgba(238, 238, 238, .06); }
select option { background: var(--bg-1); }
textarea { resize: vertical; min-height: 100px; }
.form__msg { min-height: 1.2em; font-size: 14px; color: var(--gold); }
.form__msg:empty { display: none; }

/* ---------- Dialogs ---------- */
dialog { color: var(--text); padding: 0; border: 0; }
dialog::backdrop { background: rgba(6, 9, 14, .72); backdrop-filter: blur(6px); }
.modal {
  width: min(460px, 100% - 32px);
  max-height: calc(100dvh - 32px);
  padding: 34px 30px 30px;
  border-radius: 18px;
  background: var(--grad-bg);
  border: 1px solid var(--gold-20);
  box-shadow: 0 30px 80px -20px rgba(6, 9, 14, .95);
}
.modal[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal--wide { width: min(920px, 100% - 32px); }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; }
.modal__title { font-size: 34px; font-weight: 800; margin-bottom: 18px; }
.subhead { font-size: 20px; font-weight: 700; letter-spacing: .06em; color: var(--gold); margin: 22px 0 12px; }

.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 20px; border-radius: 12px; background: rgba(238, 238, 238, .04); }
.tabs button {
  padding: 10px; border-radius: 9px;
  font: 600 15px var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--text-70);
  transition: background-color .25s, color .25s;
}
.tabs button[aria-selected="true"] { background: var(--grad-gold); color: var(--bg-2); }

.orders { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.orders li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: 10px; background: rgba(238, 238, 238, .04);
  font-size: 14px;
}
.orders .status { color: var(--gold); text-transform: capitalize; }

/* Package / service detail */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.detail__img { width: 100%; height: auto; }
.detail__body p[data-pkg-desc] { color: var(--text-70); }
.ticks { margin: 18px 0; display: flex; flex-direction: column; gap: 8px; color: var(--text-70); font-size: 15px; }
.ticks li { display: flex; gap: 10px; align-items: baseline; }
.price { font: 800 40px/1 var(--f-head); margin: 8px 0 20px; }
.price small { font-size: 18px; font-weight: 600; color: var(--gold); margin-inline-start: 6px; }
.detail--package { grid-template-columns: 220px 1fr; }
.detail--package .detail__img { max-width: 220px; margin-inline: auto; }
.detail--service { align-items: start; }
.detail--service .detail__side p[data-svc-desc] { color: var(--text-70); }
.detail--service .detail__img { margin-bottom: 14px; }
.detail--service .modal__title { margin-bottom: 10px; font-size: 30px; }
.detail--service .subhead { margin-top: 0; }

/* Search */
.modal--search {
  width: min(680px, 100% - 32px);
  margin-top: 12vh;
  padding: 10px;
  border-radius: 16px;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
}
.modal--search[open] { animation: pop .3s var(--ease); }
.search { display: flex; align-items: center; gap: 10px; padding: 0 6px 0 12px; }
.search > svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.8; }
.search input { border: 0; background: none; padding: 14px 4px; font-size: 18px; }
.search input:focus { background: none; }
.search__results { max-height: 60vh; overflow-y: auto; }
.search__results:not(:empty) { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
.search__results button {
  width: 100%; display: flex; align-items: center; gap: 14px;
  padding: 10px; border-radius: 10px; text-align: start;
  transition: background-color .2s;
}
.search__results button:hover, .search__results button:focus-visible, .search__results button.is-active { background: rgba(238, 238, 238, .05); }
.search__results img { width: 72px; height: auto; flex: none; }
.search__results strong { display: block; font: 700 18px var(--f-head); text-transform: uppercase; letter-spacing: .04em; }
.search__results span { font-size: 13px; color: var(--text-50); }
.search__results .none { padding: 16px; color: var(--text-50); }

/* Cart drawer — opens from the left, next to the cart button */
.drawer {
  position: fixed;
  inset: 0 auto 0 0;
  margin: 0;
  width: min(420px, 100%);
  height: 100dvh; max-height: 100dvh;
  display: flex; flex-direction: column;
  background: var(--grad-bg);
  border-right: 1px solid var(--gold-20);
  box-shadow: 30px 0 80px -30px rgba(6, 9, 14, .95);
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
}
.drawer:not([open]) { display: none; }
.drawer[open] { animation: slide .4s var(--ease); }
@keyframes slide { from { transform: translateX(-100%); } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 22px 8px 26px; }
.drawer__head .modal__title { margin: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 26px 20px; }
.drawer__foot { padding: 18px 26px 24px; border-top: 1px solid var(--line); }
.cart-items { display: flex; flex-direction: column; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 82px 1fr; gap: 14px; align-items: center; }
.cart-item img { width: 82px; height: auto; }
.cart-item h3 { font-size: 19px; font-weight: 700; letter-spacing: .03em; }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.cart-item__price { font-size: 14px; color: var(--gold); }
.link-btn { font-size: 13px; color: var(--text-50); text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--gold); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.cart-total span { font: 600 16px var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: var(--text-70); }
.cart-total strong { font: 800 28px var(--f-head); }
.cart-empty, .order-done { text-align: center; padding: 48px 0 20px; color: var(--text-70); }
.cart-empty img, .order-done img { width: 72px; margin: 0 auto 16px; opacity: .8; }
.cart-empty .btn { margin-top: 18px; }
.order-done strong { color: var(--gold); }

/* Toasts */
.toasts { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 200; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast {
  padding: 12px 20px; border-radius: 12px;
  background: var(--bg-1); border: 1px solid var(--gold-40);
  box-shadow: 0 14px 40px -12px rgba(6, 9, 14, .95);
  font-size: 15px; white-space: nowrap;
  animation: pop .3s var(--ease);
}
.toast.out { opacity: 0; transform: translateY(8px); transition: .3s; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Level Up: game & service cards ---------- */
.section--flush { padding-top: 0; margin-top: clamp(-90px, -5vw, -24px); position: relative; z-index: 2; }
.games {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(12px, 1.6vw, 22px);
}
.games > .card { flex: 0 1 calc((100% - 4 * clamp(12px, 1.6vw, 22px)) / 5); }
.game-card .card__btn {
  left: 50%; bottom: 11%;
  transform: translateX(-50%);
  font-size: clamp(12px, 1vw, 14px);
}
.game-card:hover .card__btn, .game-card:focus-within .card__btn { transform: translate(-50%, -4px); }
.card__btn--soon {
  cursor: default;
  color: var(--gold);
  background: rgba(6, 9, 14, .75);
  border: 1px solid var(--gold-40);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}

.crumbs {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: clamp(16px, 2vw, 26px);
  font: 600 15px var(--f-head); letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-50);
}
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.crumbs strong { color: var(--text); font-weight: 600; }

/* How it works */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 40px);
  margin: 0; padding: 0; list-style: none;
  counter-reset: none;
}
.step {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.step::before { /* gold segment that grows on reveal */
  content: ''; position: absolute; top: -1px; inset-inline-start: 0; height: 1px; width: 0;
  background: var(--grad-gold);
  transition: width 1s .3s var(--ease);
}
.step.is-visible::before, html:not(.js) .step::before { width: 60%; }
.step__num {
  display: block;
  font: 800 clamp(64px, 7vw, 96px)/.9 var(--f-head);
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-40);
  margin-bottom: 14px;
  transition: -webkit-text-stroke-color .3s;
}
.step:hover .step__num { -webkit-text-stroke-color: var(--gold); }
.step h3 { font-size: clamp(26px, 2.4vw, 32px); font-weight: 800; }
.step h3 em { font-style: normal; color: var(--gold); }
.step p { margin-top: 8px; color: var(--text-70); max-width: 320px; }

.cta__form { max-width: 460px; margin-top: 26px; }
.cta__form .btn { padding-inline: 22px; }

/* 404 */
.notfound { text-align: center; padding-top: calc(var(--nav-h) + 120px + env(safe-area-inset-top)); min-height: 70vh; }
.notfound__mark { width: 110px; margin: 0 auto 26px; opacity: .9; filter: var(--glow); }
.notfound .cta__text, .notfound .cta__actions { margin-inline: auto; justify-content: center; }

/* ---------- Package tiers (Team Management / Self-Service) ---------- */
.section-lead { max-width: 620px; margin: 18px auto 0; color: var(--text-70); font-size: 17px; }
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 26px);
}
.tiers--four { grid-template-columns: repeat(4, 1fr); }
.tier {
  position: relative;
  display: flex; flex-direction: column;
  padding: 30px 26px 26px;
  border-radius: 18px;
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(172, 144, 105, .12), transparent 70%),
    linear-gradient(165deg, var(--bg-1), var(--bg-2));
  border: 1px solid var(--line);
  transition: border-color .35s, box-shadow .35s, transform .4s var(--ease);
}
.tier:hover {
  border-color: var(--gold-40);
  box-shadow: 0 0 0 1px var(--gold-20), 0 18px 50px -20px rgba(172, 144, 105, .45);
  transform: translateY(-4px);
}
.tier__icon {
  width: auto; height: 96px;
  margin: 0 auto 18px;
  transition: transform .9s var(--ease), filter .4s;
}
.tier:hover .tier__icon { transform: rotateY(360deg); }
.tier__tag {
  text-align: center;
  font: 600 13px var(--f-head); letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold);
}
.tier__name { text-align: center; font-size: clamp(28px, 2.4vw, 34px); font-weight: 800; margin-top: 6px; }
.tier__name em { font-style: normal; font-weight: 400; color: var(--gold); }
.tier__price {
  display: flex; align-items: baseline; justify-content: center; gap: 8px;
  margin: 16px 0 18px; padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.tier__price { flex-wrap: wrap; }
.tier__price strong { font: 800 46px/1 var(--f-head); }
.tier__price span { font: 600 16px var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--text-50); }
.tier__features { flex: 1; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; font-size: 15px; color: var(--text-70); }
.tier__features li { display: flex; gap: 10px; align-items: baseline; }
.tiers--four .tier__price strong { font-size: 40px; }

/* Plan notes under the Team Management tiers */
.notes {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: clamp(28px, 3vw, 40px);
}
.notes li {
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(19, 22, 27, .7);
  border: 1px solid var(--line);
  font-size: 14px; color: var(--text-70);
}
.notes strong {
  display: block; margin-bottom: 4px;
  font: 700 20px var(--f-head); letter-spacing: .04em; text-transform: uppercase; color: var(--gold);
}
.fine { margin-top: 16px; font-size: 13px; color: var(--text-50); text-align: center; }
.fine a, .check a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.form .fine { text-align: start; margin-top: 0; }

/* Self-service "Important" panel */
.important {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(20px, 4vw, 56px);
  margin-top: clamp(28px, 3vw, 44px);
  padding: clamp(24px, 3.5vw, 44px);
  border-radius: 20px;
  background: linear-gradient(120deg, var(--bg-1), var(--bg-2));
  border: 1px solid var(--gold-20);
}
.important h3 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 800; }
.important h3 em { font-style: normal; color: var(--gold); }
.important__lead { margin: 14px 0 10px; color: var(--text-70); }
.important__list { display: grid; gap: 8px; color: var(--text-70); font-size: 15px; }
.important__list li { display: flex; gap: 10px; align-items: baseline; }
.important__list li::before { content: ''; flex: none; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg) translateY(-2px); }
.important__cta {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px;
  padding-inline-start: clamp(20px, 4vw, 56px);
  border-inline-start: 1px solid var(--line);
}
.important__cta p { color: var(--text-70); }
.important__cta .btn { margin-top: 6px; }

/* Checkout terms checkbox */
.form label.check {
  flex-direction: row; align-items: flex-start; gap: 10px;
  font: 400 14px/1.5 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--text-70);
}
.check input {
  flex: none; width: 18px; height: 18px; margin: 2px 0 0; padding: 0;
  accent-color: var(--gold);
}

/* Terms page */
.legal { padding-top: calc(var(--nav-h) + 90px + env(safe-area-inset-top)); }
.legal__list { margin: 0; padding: 0; list-style: none; counter-reset: legal; display: grid; gap: 14px; }
.legal__list > li {
  counter-increment: legal;
  padding: 24px 26px;
  border-radius: 14px;
  background: rgba(19, 22, 27, .8);
  border: 1px solid var(--line);
}
.legal__list h2 {
  display: flex; align-items: baseline; gap: 14px;
  font-size: 24px; font-weight: 800; margin-bottom: 12px;
}
.legal__list h2::before { content: counter(legal, decimal-leading-zero); color: var(--gold); font-weight: 700; }
.legal__list ul { display: grid; gap: 8px; color: var(--text-70); font-size: 15px; }
.legal__list ul li { display: flex; gap: 10px; align-items: baseline; }
.legal__list ul li::before { content: ''; flex: none; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg) translateY(-2px); }

/* Checkout: WhatsApp number with country code */
.phone { display: flex; gap: 8px; margin-top: -6px; }
.phone select { flex: none; width: 112px; }
.phone input { flex: 1; min-width: 0; }

/* Checkout: terms summary the customer must accept */
.terms-box {
  padding: 16px 16px 14px;
  border-radius: 12px;
  background: rgba(172, 144, 105, .06);
  border: 1px solid var(--gold-20);
}
.terms-box__title { font: 700 16px var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.terms-box ul { display: grid; gap: 6px; margin-bottom: 14px; font-size: 13px; color: var(--text-70); }
.terms-box li { display: flex; gap: 8px; align-items: baseline; }
.terms-box .check { padding-top: 12px; border-top: 1px solid var(--line); }

/* Mobile menu: language link lives inside the dropdown */
.nav__links-lang { display: none; }

/* ---------- Arabic / right-to-left ---------- */
:lang(ar) body, :lang(ar) body * { letter-spacing: 0 !important; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) .title { line-height: 1.35; }
:lang(ar) .btn, :lang(ar) .card__btn { line-height: 1.3; }
:lang(ar) .faq__q { line-height: 1.6; }
[dir="rtl"] .nav__links { direction: rtl; }
[dir="rtl"] .modal__close { right: auto; left: 12px; }
/* FAQ: question on the right, arrow on the left */
[dir="rtl"] .faq__q { flex-direction: row; text-align: right; }
[dir="rtl"] .cta__mark { right: auto; left: clamp(-60px, -2vw, 0px); transform: translateY(-50%) rotate(8deg); }
[dir="rtl"] .loader__bar span { transform-origin: right; }
[dir="rtl"] .loader__bar::after { left: auto; right: calc(var(--p) * 100%); transform: translate(50%, -50%); }
.strips { direction: ltr; } /* marquee always scrolls the same way */

/* ---------- Lists (site-wide) ---------- */
/* gold check in a soft circle */
.tier__features li::before, .ticks li::before, .terms-box li::before {
  content: ''; flex: none;
  width: 18px; height: 18px; border-radius: 50%;
  transform: translateY(2px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AC9069' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat, rgba(172, 144, 105, .16);
}
.tier__features li, .ticks li, .terms-box li { align-items: flex-start; gap: 10px; line-height: 1.5; }
.tier__features li { padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.tier__features li:last-child { border-bottom: 0; padding-bottom: 0; }
.terms-box li::before { width: 15px; height: 15px; background-size: 9px, auto; }

/* "Important" list as chips */
.important__list { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.important__list li {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(238, 238, 238, .03);
  border: 1px solid var(--line);
  align-items: center;
}
.important__list li::before { transform: rotate(45deg); }

/* Terms page lists: numbered cards with ruled items */
.legal__list ul { gap: 0; }
.legal__list ul li { padding: 10px 0; border-top: 1px solid var(--line); line-height: 1.7; }
.legal__list ul li:first-child { border-top: 0; padding-top: 0; }
.legal__list > li { transition: border-color .3s; }
.legal__list > li:hover { border-color: var(--gold-20); }

/* ---------- Dropdowns (select) ---------- */
select {
  -webkit-appearance: none; appearance: none;
  padding-inline-end: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AC9069' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: right 12px center;
  cursor: pointer;
}
[dir="rtl"] select { background-position: left 12px center; }
select:hover { border-color: var(--gold-40); }
select option { background: var(--bg-1); color: var(--text); }
select:invalid, select option[value=""] { color: var(--text-50); }

/* ---------- Hero slider ---------- */
.slider-section { padding-top: clamp(8px, 2vw, 24px); }
.slider {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-1);
  border: 1px solid var(--line);
  aspect-ratio: 2560 / 1067;
  touch-action: pan-y;
  user-select: none;
}
.slider__track { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transform: scale(1.03);
  transition: opacity .8s var(--ease), transform 1.2s var(--ease), visibility 0s .8s;
}
.slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.slide picture, .slide img, .slide__link { display: block; width: 100%; height: 100%; }
.slide img { object-fit: cover; }
.slide__link:focus-visible { outline-offset: -4px; }
.slider::after { /* soft vignette so arrows/dots stay readable */
  content: ''; position: absolute; inset: auto 0 0; height: 30%;
  background: linear-gradient(to top, rgba(6, 9, 14, .55), transparent);
  pointer-events: none;
}
.slider__arrow {
  position: absolute; top: 50%; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--text);
  background: rgba(19, 22, 27, .55);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity .3s, border-color .25s, color .25s, background-color .25s;
}
.slider:hover .slider__arrow, .slider:focus-within .slider__arrow { opacity: 1; }
.slider__arrow:hover { color: var(--gold); border-color: var(--gold); }
.slider__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.slider__arrow--prev { left: 16px; }
.slider__arrow--next { right: 16px; }
[dir="rtl"] .slider__arrow svg { transform: scaleX(-1); }
[dir="rtl"] .slider__arrow--prev { left: auto; right: 16px; }
[dir="rtl"] .slider__arrow--next { right: auto; left: 16px; }
.slider__dots {
  position: absolute; bottom: 16px; left: 50%; z-index: 2;
  display: flex; gap: 8px;
  transform: translateX(-50%);
}
.slider__dots button { padding: 8px 0; }
.slider__dots span {
  position: relative; display: block;
  width: 26px; height: 3px; border-radius: 3px;
  background: rgba(238, 238, 238, .3);
  overflow: hidden;
  transition: width .3s var(--ease);
}
.slider__dots [aria-selected="true"] span { width: 44px; background: rgba(238, 238, 238, .35); }
.slider__dots [aria-selected="true"] span::after {
  content: ''; position: absolute; inset: 0;
  background: var(--gold);
  transform-origin: left;
}
.slider.is-playing .slider__dots [aria-selected="true"] span::after { animation: slide-progress 6s linear both; }
[dir="rtl"] .slider__dots [aria-selected="true"] span::after { transform-origin: right; }
@keyframes slide-progress { from { transform: scaleX(0); } }

/* ---------- Sale prices ---------- */
.tier__badge {
  position: absolute; top: 16px; inset-inline-end: 16px;
  padding: 5px 10px; border-radius: 8px;
  font: 800 15px/1 var(--f-head); letter-spacing: .04em;
  color: var(--bg-2); background: var(--grad-gold);
  box-shadow: 0 6px 18px -6px rgba(172, 144, 105, .7);
}
.tier--sale { border-color: var(--gold-20); }
.tier__price s, .cart-item__price s { color: var(--text-50); font: 600 18px var(--f-head); text-decoration-thickness: 1.5px; }
.cart-item__price s { font-size: 13px; font-family: var(--f-body); }

/* ---------- Cart: coupon, summary, checkout fields ---------- */
.coupon { margin-top: 16px; }
.coupon__form {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 5px 5px 12px;
  border-radius: 12px;
  border: 1px dashed var(--gold-40);
  background: rgba(172, 144, 105, .05);
}
[dir="rtl"] .coupon__form { padding: 5px 12px 5px 5px; }
.coupon__form svg, .coupon__applied svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linejoin: round; }
.coupon__form input { flex: 1; min-width: 0; border: 0; background: none; padding: 9px 4px; text-transform: uppercase; letter-spacing: .08em; }
.coupon__form input:focus { background: none; }
.coupon__applied {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 6px 6px 14px;
  border-radius: 12px;
  background: rgba(172, 144, 105, .12);
  border: 1px solid var(--gold-40);
}
.coupon__applied span { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); letter-spacing: .08em; }
.coupon__applied .icon-btn { width: 32px; height: 32px; }
.coupon .form__msg { margin-top: 8px; }

.cart-summary { margin: 0 0 10px; display: grid; gap: 6px; font-size: 14px; }
.cart-summary > div { display: flex; justify-content: space-between; color: var(--text-70); }
.cart-summary dt, .cart-summary dd { margin: 0; }
.cart-summary__discount { color: var(--gold) !important; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font: 600 14px var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--text-70); }
.field > label small { font: 400 12px var(--f-body); letter-spacing: 0; text-transform: none; color: var(--text-50); }
.phone { margin-top: 0; }

.pay { border: 0; padding: 0; margin: 0; min-width: 0; }
.pay legend {
  padding: 0; margin-bottom: 8px;
  font: 600 14px var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--text-70);
}
.pay legend small { font: 400 12px var(--f-body); letter-spacing: 0; text-transform: none; color: var(--text-50); }
.pay__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.pay__option { position: relative; }
.pay__option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pay__card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 74px; padding: 10px 8px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(238, 238, 238, .03);
  font-size: 13px; text-align: center; line-height: 1.25; color: var(--text-70);
  transition: border-color .2s, background-color .2s, color .2s, transform .2s var(--ease);
}
.pay__card svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pay__option:hover .pay__card { border-color: var(--gold-40); color: var(--text); }
.pay__option input:checked + .pay__card {
  border-color: var(--gold); color: var(--text);
  background: linear-gradient(160deg, rgba(172, 144, 105, .18), rgba(172, 144, 105, .04));
  box-shadow: 0 0 0 1px var(--gold-20);
}
.pay__option input:checked + .pay__card svg { stroke: var(--gold); }
.pay__option input:focus-visible + .pay__card { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .games > .card { flex-basis: calc((100% - 2 * clamp(12px, 1.6vw, 22px)) / 3); }
  .tiers, .tiers--four { grid-template-columns: repeat(2, 1fr); }
  .notes { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav { grid-template-columns: 1fr auto; padding-inline: 10px 12px; }
  .nav__menu { display: inline-grid; }
  input, select, textarea { font-size: 16px; }
  .nav__cart-total { display: none; }
  .nav__links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px;
    border-radius: var(--radius);
    background: rgba(19, 22, 27, .92);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(-8px); visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav__links.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__links a { padding: 14px 16px; text-align: center; }
  .nav__lang { display: none; }
  .nav__links-lang { display: block; border-top: 1px solid var(--line); margin-top: 4px; }
  .nav__links-lang a { color: var(--gold); }
  .nav__links a::after { display: none; }
  .features { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .packages { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .detail { grid-template-columns: 1fr; }
  .detail__img { max-width: 360px; margin-inline: auto; }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .hero, .banner { padding-top: calc(var(--nav-h) + 8px + env(safe-area-inset-top)); }
  .hero__img, .banner__img {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 68%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 68%, transparent 100%);
  }
  .hero__sub {
    display: block; position: absolute; left: 5%; width: 52%; margin: 0;
    top: calc(var(--nav-h) + 8px + env(safe-area-inset-top) + (100% - var(--nav-h) - 8px - env(safe-area-inset-top)) * .535);
    font-family: var(--f-body); font-weight: 400; font-size: 10.5px; line-height: 1.45; letter-spacing: .03em;
    text-transform: uppercase; text-align: left;
    color: rgba(255, 255, 255, .85);
    animation: rise .9s .15s var(--ease) both;
  }
  .hero__actions { left: 5%; top: calc(var(--nav-h) + 8px + env(safe-area-inset-top) + (100% - var(--nav-h) - 8px - env(safe-area-inset-top)) * .76); }
  .hero__actions .btn--ghost { display: none; }
  .hero__actions .btn { font-size: 14px; }
  .strips { height: 110px; margin-top: -24px; }
  .strip { padding: 10px 0; }
  .strip__track span { font-size: 17px; gap: 24px; padding-inline-end: 24px; }
  .services { grid-template-columns: 1fr; }
  .games > .card { flex-basis: calc((100% - 12px) / 2); }
  .game-card .card__btn { padding: 8px 12px; font-size: 11px; bottom: 9%; }
  .steps { grid-template-columns: 1fr; }
  .tiers, .tiers--four, .notes { grid-template-columns: 1fr; }
  .important { grid-template-columns: 1fr; }
  .important__cta { padding-inline-start: 0; border-inline-start: 0; padding-top: 20px; border-top: 1px solid var(--line); }
  .detail--package { grid-template-columns: 1fr; }
  .detail--package .detail__img { max-width: 140px; }
  .section--flush { margin-top: -12px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__cta { justify-content: flex-start; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .slider { aspect-ratio: 1080 / 800; border-radius: 16px; }
  .slider__arrow { display: none; }
  .modal { padding: 30px 20px 22px; }
  .modal__title { font-size: 28px; }
  .cta { text-align: center; }
  .cta .title--start { text-align: center; }
  .cta__text { margin-inline: auto; }
  .cta__actions { justify-content: center; }
  .cta__mark, [dir="rtl"] .cta__mark { left: auto; right: 50%; transform: translate(50%, -50%) rotate(-8deg); opacity: .08; }
  .faq__q { padding: 16px 18px; }
  .faq__a p { padding: 0 18px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .strip__track { animation: none; }
}

/* ---------- Sign in with Google ---------- */
.google-btn {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; padding: 13px 18px;
  border-radius: 10px;
  background: var(--text); color: var(--bg-2);
  font: 600 16px var(--f-body);
  transition: transform .2s var(--ease), box-shadow .25s;
}
.google-btn:hover { box-shadow: 0 10px 26px -12px rgba(238, 238, 238, .5); transform: translateY(-1px); }
.google-btn__g { width: 20px; height: 20px; flex: none; }
.auth-or {
  display: flex; align-items: center; gap: 12px;
  margin: 18px 0;
  font: 600 13px var(--f-head); letter-spacing: .2em; text-transform: uppercase; color: var(--text-50);
}
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.google-btn + [data-email-auth] { margin-top: 18px; }

/* ---------- Checkout: payment details + payment screenshot ---------- */
.pay-info {
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(172, 144, 105, .12), rgba(19, 22, 27, .6));
  border: 1px solid var(--gold-40);
  animation: pop .3s var(--ease);
}
.pay-info__title { font: 700 18px var(--f-head); letter-spacing: .04em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.pay-info__lines { display: grid; gap: 6px; }
.pay-info__lines li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 10px 9px 12px;
  border-radius: 9px;
  background: rgba(6, 9, 14, .6);
  font-size: 14px; word-break: break-word;
}
.pay-info__copy {
  flex: none; padding: 5px 10px; border-radius: 7px;
  border: 1px solid var(--line-2);
  font: 600 12px var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--text-70);
  transition: color .2s, border-color .2s;
}
.pay-info__copy:hover { color: var(--gold); border-color: var(--gold); }
.pay-info__qr { width: 160px; height: 160px; object-fit: contain; margin: 12px auto 0; border-radius: 10px; background: var(--text); padding: 6px; }
.pay-info__link { margin-top: 12px; }
.pay-info__next { margin-top: 12px; font-size: 13px; color: var(--text-70); }

.proof__title { font: 600 14px var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--text-70); margin-bottom: 8px; }
.proof__title small { font: 400 12px var(--f-body); letter-spacing: 0; text-transform: none; color: var(--text-50); }
.form label.proof__drop {
  position: relative;
  display: grid; place-items: center;
  min-height: 120px; padding: 14px;
  border-radius: 12px;
  border: 1.5px dashed var(--gold-40);
  background: rgba(172, 144, 105, .05);
  cursor: pointer;
  text-transform: none; letter-spacing: 0; font: 500 14px var(--f-body); color: var(--text-70);
  transition: border-color .2s, background-color .2s;
}
.form label.proof__drop:hover { border-color: var(--gold); background: rgba(172, 144, 105, .1); }
.proof__drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.proof__empty { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.proof__empty svg { width: 28px; height: 28px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.proof__preview { max-height: 220px; width: auto; border-radius: 8px; }
.proof__status { margin-top: 8px; font-size: 13px; color: var(--text-70); }
.proof.is-done .proof__drop { border-style: solid; border-color: var(--gold); }
.proof.is-done .proof__status { color: var(--gold); }
