/* =====================================================
   Envision Shop — Design tokens
===================================================== */
:root {
  --bg: #0d0d0d;
  --bg-alt: #121212;
  --card: #181818;
  --card-alt: #1f1f1f;
  --border: #2a2a2a;
  --border-light: #333333;

  --accent: #ffcc00;
  --accent-2: #ffd700;
  --accent-dim: #4d3f00;
  --accent-soft: rgba(255, 204, 0, 0.12);

  --text-heading: #ffffff;
  --text-body: #cccccc;
  --text-muted: #888888;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 9px;

  --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 10px 26px rgba(255, 204, 0, 0.18);

  --font: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;

  --container: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { color: var(--text-heading); margin: 0; font-weight: 800; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* =====================================================
   Buttons
===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #151200;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover:not(:disabled) { transform: translateY(-1px); }
.btn-primary:disabled {
  background: var(--card-alt);
  color: var(--text-muted);
  box-shadow: none;
  cursor: not-allowed;
}

.btn-outline {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}
.btn-outline:hover { background: var(--accent-soft); }

.btn-block { width: 100%; }

/* =====================================================
   Header
===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
}
.brand-name { font-weight: 800; font-size: 1.15rem; color: var(--text-heading); }
.brand-name em { color: var(--accent); font-style: normal; }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--text-heading); border-color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text-heading); border-radius: 2px; }

/* =====================================================
   HERO — Battlefield banner (Midasbuy style)
===================================================== */
.hero3d {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(900px 430px at 10% 112%, rgba(185, 32, 22, 0.40), transparent 64%),
    radial-gradient(820px 420px at 90% 114%, rgba(92, 30, 100, 0.46), transparent 66%),
    radial-gradient(1200px 520px at 50% -30%, #101d33, transparent 72%),
    linear-gradient(180deg, #080d18 0%, #0b1122 46%, #0d0d0d 100%);
}
.hero3d::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(580px 270px at 47% 96%, rgba(255, 86, 30, 0.26), rgba(150, 30, 60, 0.12) 55%, transparent 76%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 8, 16, 0.5), transparent 30%, transparent 70%, #0d0d0d 100%),
    radial-gradient(150% 110% at 50% 42%, transparent 52%, rgba(4, 5, 10, 0.6) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-char {
  position: absolute;
  bottom: 0;
  height: 86%;
  max-height: 480px;
  width: auto;
  opacity: 0;
  filter: drop-shadow(0 26px 46px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 28px rgba(255, 204, 0, 0.18));
  pointer-events: none;
  z-index: 1;
}
.hero-char.left {
  left: 3%;
  animation: charFloat 5.6s ease-in-out infinite alternate;
}
.hero-char.right { right: -22px; }
.hero-char.show { opacity: 1; }
@keyframes charFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

.hero3d.has-bg .hero-bg {
  background-image: url("img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 320px at 72% 38%, rgba(110, 40, 160, 0.16), transparent 64%),
    radial-gradient(620px 300px at 18% 46%, rgba(200, 40, 30, 0.13), transparent 62%);
}

.hero3d-embers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.hero3d-embers i {
  position: absolute;
  bottom: 12%;
  left: var(--l);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffb700;
  box-shadow: 0 0 7px #ff9d00;
  opacity: 0;
  animation: emberRise var(--t) linear infinite;
  animation-delay: var(--dl);
}
.hero3d-embers i:nth-child(3n) { width: 2px; height: 2px; }
.hero3d-embers i:nth-child(4n) { width: 4px; height: 4px; }
@keyframes emberRise {
  0% { transform: translate(0, 0); opacity: 0; }
  8% { opacity: 0.85; }
  70% { opacity: 0.6; }
  100% { transform: translate(var(--dx), -40vh); opacity: 0; }
}

.hero3d-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 52px 0 66px;
}

.hero-game-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.hero-game-badge img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  border: 1px solid rgba(255, 204, 0, 0.35);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
}
.hero-game-badge b {
  display: block;
  color: var(--text-heading);
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: 2px;
}
.official-chip {
  display: inline-flex;
  align-items: center;
  margin-top: 7px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(255, 204, 0, 0.1);
  border: 1px solid var(--accent-dim);
  padding: 3px 10px;
  border-radius: 999px;
}

.hero-cta {
  margin-top: 26px;
  padding: 15px 30px;
  font-size: 1rem;
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(255, 204, 0, 0.28);
}
.hero-cta svg { transform: scaleX(-1); }

.hero3d .purchase-hero {
  max-width: 600px;
  margin: 0;
  padding: 0;
}
.hero3d .purchase-hero h1 {
  font-size: clamp(1.8rem, 4.2vw, 2.7rem);
  text-shadow: 0 10px 38px rgba(0, 0, 0, 0.7);
}
.hero3d .purchase-hero p {
  max-width: 560px;
  margin: 14px 0 0;
  color: #b9c2cf;
}
.hero3d .trust-chips { margin-top: 22px; }
.hero3d .chip {
  background: rgba(8, 10, 18, 0.55);
  backdrop-filter: blur(6px);
  border-color: rgba(255, 204, 0, 0.28);
}

/* =====================================================
   Purchase section — two column layout
===================================================== */
.purchase-section {
  padding: 40px 0 70px;
  background: #0d0d0d;
}

.two-col {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 26px;
  align-items: start;
}

/* ---- order summary sidebar ---- */
.order-summary {
  background: rgba(24, 24, 24, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  order: -1;
}

.summary-sticky { position: sticky; top: 96px; padding: 22px; }

.summary-product { display: flex; align-items: center; gap: 14px; }

.summary-product-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.summary-product-info h3 { font-size: 1rem; }
.summary-product-info p { margin: 4px 0 0; color: var(--accent); font-weight: 700; font-size: 0.9rem; }

.summary-divider { height: 0; margin: 18px 0; border-top: 1px dashed var(--border-light); }

.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 0.9rem; }
.summary-label { color: var(--text-muted); }
.summary-value { color: var(--text-heading); font-weight: 700; }

.summary-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.summary-total .summary-label { font-size: 0.9rem; }
.summary-price { color: var(--accent); font-weight: 800; font-size: 1.25rem; }
.summary-price span, .mobile-cta-value span { display: inline-block; font-variant-numeric: tabular-nums; }
.price-flash { animation: priceFlash 0.45s ease; }
@keyframes priceFlash {
  0% { transform: scale(1); }
  35% { transform: scale(1.08); color: #ffffff; }
  100% { transform: scale(1); }
}

.summary-hint { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin: 10px 0 0; }

/* ---- steps column ---- */
.purchase-steps { min-width: 0; }

/* ---- purchase hero ---- */
.purchase-hero { padding: 34px 0 6px; }

.purchase-hero h1 {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 900;
  line-height: 1.35;
}

.purchase-hero p {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--card);
  border: 1px solid var(--border-light);
  color: var(--text-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
}
.chip svg { color: var(--accent); flex-shrink: 0; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin: 20px 0 0;
}
.hero-stat { font-size: 0.82rem; color: var(--text-muted); }
.hero-stat b { color: var(--text-heading); font-weight: 800; margin-left: 5px; }

.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-bottom: 22px;
}

.step-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.step-badge {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #171200;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}
.step-header h2 { font-size: 1.1rem; margin-bottom: 4px; }
.step-header p { margin: 0; color: var(--text-muted); font-size: 0.88rem; }

/* package grid */
.package-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.package-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--card-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.badge-popular {
  position: absolute;
  top: -11px;
  right: 14px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #171200;
  font-size: 0.66rem;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow-gold);
  pointer-events: none;
}

.package-card.selected {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(255,204,0,.12), rgba(255,204,0,.03));
  box-shadow: 0 0 0 1px var(--accent) inset;
  animation: selectPulse 0.35s ease;
}

@keyframes selectPulse {
  0% { box-shadow: 0 0 0 1px var(--accent) inset, 0 0 0 0 rgba(255, 204, 0, 0.4); }
  100% { box-shadow: 0 0 0 1px var(--accent) inset, 0 0 18px rgba(255, 204, 0, 0.12); }
}

.package-buy-btn {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  color: var(--text-heading);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 9px 16px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.package-buy-btn:hover { border-color: var(--accent); color: var(--accent); }
.package-card.selected .package-buy-btn { background: var(--accent); color: #171200; border-color: var(--accent); }

.package-info { text-align: left; }
.package-name { color: var(--text-heading); font-weight: 700; font-size: 0.92rem; margin-bottom: 4px; }
.package-price { color: var(--text-muted); font-size: 0.8rem; }
.package-price b { color: var(--accent); font-weight: 800; }

.package-media { display: flex; align-items: center; gap: 12px; }
.package-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: #0a0a0a;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  overflow: hidden;
}
.package-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.qty-control {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 4px;
}
.package-card.selected .qty-control { display: flex; animation: popIn 0.18s ease; }
.package-card.selected .package-buy-btn { display: none; }

@keyframes popIn {
  from { transform: scale(0.88); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #171200;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.qty-value { min-width: 18px; text-align: center; color: var(--text-heading); font-weight: 700; font-size: 0.9rem; }

/* id input */
.id-input-block { margin-bottom: 18px; }
.id-input-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.id-input-top label { color: var(--text-heading); font-weight: 700; font-size: 0.9rem; }
.guide-link { display: flex; align-items: center; gap: 5px; color: var(--accent); font-size: 0.82rem; font-weight: 600; }

.id-input {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  color: var(--text-heading);
  font-family: inherit;
  font-size: 1rem;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  transition: border-color 0.15s ease;
}
.id-input::placeholder { color: var(--text-muted); }
.id-input:focus { border-color: var(--accent); }
.id-input.invalid { border-color: #ff5c5c; }
.id-input.valid { border-color: #3ecb6e; }

.id-input-msg { display: block; margin-top: 8px; font-size: 0.78rem; min-height: 1em; }
.id-input-msg.error { color: #ff7a7a; }
.id-input-msg.ok { color: #3ecb6e; }

.warning-box {
  display: flex;
  gap: 12px;
  background: rgba(255, 204, 0, 0.08);
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.warning-icon { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.warning-box p { margin: 0; font-size: 0.85rem; color: var(--text-body); }

/* ---- invoice (step 3) ---- */
.invoice-box {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 6px 18px;
  margin-bottom: 20px;
}
.invoice-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--border-light);
  font-size: 0.88rem;
}
.invoice-row:last-child { border-bottom: none; }
.invoice-row span { color: var(--text-muted); }
.invoice-row b { color: var(--text-heading); font-weight: 700; }
.invoice-row.invoice-total { border-top: 1.5px solid var(--border-light); border-bottom: none; margin-top: 2px; padding: 15px 0 13px; }
.invoice-row.invoice-total span { color: var(--text-heading); font-weight: 800; }
.invoice-row.invoice-total b { color: var(--accent); font-size: 1.1rem; font-weight: 900; }
.invoice-row.invoice-total b span { color: var(--accent); font-size: 1.1rem; }

/* =====================================================
   Benefits section
===================================================== */
.benefits-section { padding: 70px 0; background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-intro { max-width: 640px; margin-bottom: 50px; }
.section-intro.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-intro.between { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; max-width: none; }
.section-intro h2 { font-size: 1.7rem; margin: 14px 0 12px; line-height: 1.4; }
.section-intro p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 7px 14px;
  border-radius: 999px;
}

.benefits-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}

.benefit-center { grid-column: 2; grid-row: 1 / span 2; display: flex; align-items: center; justify-content: center; }
.benefit-center-ring {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px dashed var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.benefit-center-ring::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-2), var(--accent));
  box-shadow: var(--shadow-gold);
}
.benefit-center-number {
  position: relative;
  z-index: 1;
  font-size: 2.4rem;
  font-weight: 900;
  color: #171200;
}

.benefit-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.benefit-box:hover { border-color: var(--accent-dim); transform: translateY(-3px); }
.benefits-layout .benefit-box[data-pos="5"] {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(480px, 100%);
  text-align: center;
}
.benefits-layout .benefit-box[data-pos="5"] .benefit-icon { margin-inline: auto; }
.benefit-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.benefit-box h3 { font-size: 1.02rem; margin-bottom: 8px; }
.benefit-box p { margin: 0; font-size: 0.86rem; color: var(--text-muted); }

/* =====================================================
   Articles section
===================================================== */
.articles-section { padding: 70px 0; }

.view-all {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  padding-bottom: 6px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.article-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.article-card:hover { transform: translateY(-4px); border-color: var(--accent-dim); }

.article-thumb {
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.9);
  position: relative;
}
.article-thumb svg { position: relative; z-index: 1; }
.article-thumb .banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.article-banner {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  margin-bottom: 26px;
}
.article-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%);
}

.article-body { padding: 18px 20px 20px; }
.article-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0 0 16px;
  line-height: 1.6;
  min-height: 3.2em;
}
.article-footer { display: flex; align-items: center; justify-content: space-between; }
.article-date { color: var(--text-muted); font-size: 0.78rem; }
.article-more { color: var(--accent); font-size: 0.82rem; font-weight: 700; }

/* =====================================================
   SEO text section
===================================================== */
.seo-section { padding: 20px 0 80px; }
.seo-section h2 { font-size: 1.35rem; margin-bottom: 20px; }

.seo-text {
  position: relative;
  color: var(--text-body);
  font-size: 0.92rem;
}
.seo-text h3 { font-size: 1.05rem; margin: 22px 0 10px; }
.seo-text p { margin: 0 0 16px; }
.seo-text.collapsed { max-height: 210px; overflow: hidden; }

.seo-fade {
  height: 70px;
  margin-top: -70px;
  background: linear-gradient(180deg, rgba(13,13,13,0), var(--bg));
  position: relative;
  pointer-events: none;
}
.seo-fade.hidden { display: none; }

.seo-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px auto 0;
  background: none;
  border: 1px solid var(--border-light);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 22px;
  border-radius: 999px;
}
.seo-toggle svg { transition: transform 0.2s ease; }
.seo-toggle.open svg { transform: rotate(180deg); }

/* =====================================================
   Footer
===================================================== */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 60px; }

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 34px;
  padding-bottom: 40px;
}

.footer-brand-block { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer-about-text { color: var(--text-muted); font-size: 0.85rem; margin: 0; }

.trust-badges { display: flex; gap: 10px; }
.trust-badge {
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--card);
}

.footer-col h4 { font-size: 0.95rem; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: var(--text-muted); font-size: 0.86rem; transition: color 0.15s ease; }
.footer-col ul a:hover { color: var(--accent); }

.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.contact-line { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--text-muted); }
.contact-line svg { color: var(--accent); flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { margin: 0; font-size: 0.78rem; color: var(--text-muted); }
.footer-logo { font-weight: 800; color: var(--accent); font-size: 0.9rem; }

/* =====================================================
   Payment modal
===================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
  animation: fadeIn 0.18s ease;
}
.modal-overlay[hidden] { display: none; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.payment-modal {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 360px;
  padding: 30px 26px;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-card);
  animation: modalIn 0.22s ease;
}

@keyframes modalIn {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 14px;
  left: 14px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
}

.gateway-logo { color: var(--accent); font-weight: 800; margin-bottom: 22px; }

.spinner {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid var(--border-light);
  border-top-color: var(--accent);
  margin: 0 auto 18px;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

#paymentStatusText { margin: 0; font-size: 0.9rem; color: var(--text-body); }

/* =====================================================
   Skip link + mobile CTA bar
===================================================== */
.skip-link {
  position: fixed;
  top: -52px;
  right: 16px;
  z-index: 200;
  background: var(--accent);
  color: #171200;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 65;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(18, 18, 18, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-light);
}
.mobile-cta-price { display: flex; flex-direction: column; gap: 2px; }
.mobile-cta-label { font-size: 0.72rem; color: var(--text-muted); }
.mobile-cta-value { color: var(--accent); font-weight: 800; font-size: 1.05rem; }
.mobile-cta-bar .btn { padding: 12px 34px; }

/* =====================================================
   FAQ section
===================================================== */
.faq-section { padding: 70px 0 40px; background: var(--bg-alt); border-top: 1px solid var(--border); }

.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item.open { border-color: var(--accent-dim); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: none;
  border: none;
  color: var(--text-heading);
  font-weight: 700;
  font-size: 0.92rem;
  text-align: right;
  padding: 17px 20px;
  transition: color 0.15s ease;
}
.faq-q:hover { color: var(--accent); }
.faq-q svg { flex-shrink: 0; color: var(--accent); transition: transform 0.2s ease; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-a p { margin: 0; padding: 0 20px 18px; font-size: 0.85rem; color: var(--text-muted); line-height: 2; }
.faq-item.open .faq-a { max-height: 260px; }

/* =====================================================
   Toast
===================================================== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 50%;
  transform: translateX(50%);
  z-index: 150;
  background: var(--card);
  border: 1px solid var(--accent-dim);
  color: var(--text-heading);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  animation: toastIn 0.25s ease;
}
.toast[hidden] { display: none; }
@keyframes toastIn {
  from { transform: translate(50%, 14px); opacity: 0; }
  to { transform: translate(50%, 0); opacity: 1; }
}

/* =====================================================
   Payment success check
===================================================== */
.success-check {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #171200;
  animation: popIn 0.3s ease;
  box-shadow: 0 0 0 8px rgba(255, 204, 0, 0.12);
}

/* =====================================================
   Inner pages (about / blog / contact / article)
===================================================== */
.page-hero {
  padding: 52px 0 10px;
  background: radial-gradient(640px 320px at 88% -60px, rgba(255, 204, 0, 0.07), transparent 70%);
}
.page-hero h1 {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 900;
  line-height: 1.35;
}
.page-hero p {
  max-width: 640px;
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.prose { max-width: 760px; font-size: 0.93rem; }
.prose h2 { font-size: 1.2rem; margin: 30px 0 12px; }
.prose h3 { font-size: 1.02rem; margin: 24px 0 10px; }
.prose p { margin: 0 0 16px; line-height: 2; }
.prose ul { list-style: disc; padding-right: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.stat-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  text-align: center;
}
.stat-box b {
  display: block;
  color: var(--accent);
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 6px;
}
.stat-box span { color: var(--text-muted); font-size: 0.84rem; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 26px;
  align-items: start;
  padding-bottom: 80px;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.contact-card h3 { font-size: 1rem; margin-bottom: 18px; }
.contact-card .contact-line { padding: 4px 0; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-field label {
  display: block;
  color: var(--text-heading);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 8px;
}
.form-input, .form-textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  color: var(--text-heading);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  transition: border-color 0.15s ease;
}
.form-input:focus, .form-textarea:focus { border-color: var(--accent); outline: none; }
.form-textarea { min-height: 130px; resize: vertical; }

.article-hero { padding: 46px 0 8px; max-width: 820px; }
.article-hero .article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.article-hero h1 { font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.5; }

.article-cta {
  margin-top: 60px;
  background: var(--card);
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.article-cta h3 { font-size: 1.05rem; margin: 0; }
.article-cta p { margin: 6px 0 0; font-size: 0.85rem; color: var(--text-muted); }

/* =====================================================
   User reviews section
===================================================== */
.reviews-section { padding: 70px 0; background: var(--bg-alt); border-top: 1px solid var(--border); }

.review-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}
.review-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-dim);
  color: var(--text-heading);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 9px 18px;
  border-radius: 999px;
}
.review-chip svg { color: var(--accent); flex-shrink: 0; }
.review-chip mark { background: none; color: var(--accent); }

.reviews-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 26px;
  align-items: start;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.review-card:hover { border-color: var(--accent-dim); transform: translateY(-2px); }

.review-head { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-2), var(--accent));
  color: #171200;
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-who { min-width: 0; }
.review-name { color: var(--text-heading); font-weight: 700; font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-when { color: var(--text-muted); font-size: 0.7rem; margin-top: 2px; white-space: nowrap; }
.review-stars { margin-right: auto; direction: ltr; color: var(--accent); font-size: 0.95rem; letter-spacing: 2px; white-space: nowrap; }
.review-stars .off { color: var(--border-light); }
.review-text { margin: 0; font-size: 0.86rem; color: var(--text-body); line-height: 1.9; word-break: break-word; }

#reviewsMore { margin-top: 18px; }

/* ---- submit form ---- */
.review-form-card {
  background: var(--card);
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 96px;
}
.review-form-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.review-form-hint { color: var(--text-muted); font-size: 0.76rem; margin: 0 0 18px; }

.rf-field { margin-bottom: 16px; }
.rf-field label {
  display: block;
  color: var(--text-heading);
  font-weight: 700;
  font-size: 0.84rem;
  margin-bottom: 8px;
}
.rf-field input, .rf-field textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  color: var(--text-heading);
  font-family: inherit;
  font-size: 0.9rem;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  transition: border-color 0.15s ease;
}
.rf-field input:focus, .rf-field textarea:focus { border-color: var(--accent); outline: none; }
.rf-field textarea { min-height: 110px; resize: vertical; }

.star-input { display: flex; gap: 6px; direction: ltr; justify-content: flex-end; }
.star-input button {
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--border-light);
  cursor: pointer;
  padding: 2px;
  transition: color 0.12s ease, transform 0.12s ease;
}
.star-input button:hover { transform: scale(1.15); }
.star-input button.on {
  color: var(--accent);
  text-shadow: 0 0 12px rgba(255, 204, 0, 0.45);
}

/* =====================================================
   Responsive
===================================================== */
@media (max-width: 980px) {
  .two-col { grid-template-columns: 1fr; }
  .order-summary { order: 2; }
  .summary-sticky { position: static; }
  .benefits-layout { grid-template-columns: 1fr; }
  .benefit-center { grid-column: 1; grid-row: auto; order: -1; margin-bottom: 10px; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .reviews-layout { grid-template-columns: 1fr; }
  .review-form-card { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand-block { grid-column: 1 / -1; }
  .mobile-cta-bar { display: flex; }
  .site-footer { padding-bottom: 76px; }
  .contact-layout { grid-template-columns: 1fr; }
  .values-grid, .stats-band { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .section-intro.between { flex-direction: column; align-items: flex-start; }
  .package-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .values-grid, .stats-band { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .article-cta { flex-direction: column; text-align: center; }
  .hero3d { padding: 34px 0 46px; }
  .hero3d .purchase-hero h1 { font-size: 1.65rem; }
  .hero3d .purchase-hero p { font-size: 0.88rem; }
  .hero-char.left { height: 320px; max-height: none; left: 50%; transform: translateX(-50%); opacity: 0.3; }
  .hero-char.right { display: none; }
  .hero-game-badge img { width: 52px; height: 52px; }
}

@media (max-width: 480px) {
  .header-actions .btn-outline { display: none; }
  .step { padding: 18px; }
  .benefit-box { padding: 20px; }
}

/* =====================================================
   اطلاعیه‌ها — زنگ هدر + بنر خبر فوری + مودال
===================================================== */
.announce-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 1.3rem;
  line-height: 1;
  padding: 6px 8px;
  cursor: pointer;
  filter: grayscale(30%);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.announce-btn:hover { transform: translateY(-1px); filter: grayscale(0); }
.announce-dot {
  position: absolute;
  top: -1px;
  left: -3px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #141414;
  font-family: var(--font);
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 17px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.announce-dot[hidden] { display: none; }

/* بنر خبر فوری — فقط بالای صفحه اصلی */
.urgent-banner {
  background: linear-gradient(90deg, rgba(255, 204, 0, 0.16), rgba(255, 204, 0, 0.04));
  border-bottom: 1px solid var(--accent-dim);
  color: var(--text-heading);
  animation: fadeIn 0.25s ease;
}
.urgent-banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
}
.urgent-banner-icon { font-size: 1.2rem; }
.urgent-banner-text {
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.urgent-banner-text b { color: var(--accent); }
.urgent-banner-more {
  background: var(--accent);
  color: #141414;
  border: none;
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
}
.urgent-banner-more:hover { background: var(--accent-2); }
.urgent-banner-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.95rem;
  padding: 4px 6px;
}
.urgent-banner-close:hover { color: var(--text-heading); }

/* مودال اطلاعیه‌ها */
.ann-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 120;
  padding: 24px 16px;
  overflow-y: auto;
  animation: fadeIn 0.18s ease;
}
.ann-overlay[hidden] { display: none; }
.ann-modal {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  margin-top: 6vh;
  box-shadow: var(--shadow-card);
  animation: modalIn 0.2s ease;
  overflow: hidden;
}
.ann-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
}
.ann-modal-head h3 { margin: 0; color: var(--text-heading); font-size: 1.05rem; }
.ann-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px 8px;
}
.ann-close:hover { color: var(--text-heading); }
.ann-list {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 64vh;
  overflow-y: auto;
}
.ann-item {
  background: var(--card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.ann-item-urgent {
  border-color: var(--accent-dim);
  background: rgba(255, 204, 0, 0.06);
}
.ann-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.ann-badge-urgent {
  background: var(--accent);
  color: #141414;
  font-weight: 800;
  font-size: 0.72rem;
  border-radius: 999px;
  padding: 2px 10px;
}
.ann-date { color: var(--text-muted); font-size: 0.78rem; }
.ann-item-title { margin: 0 0 6px; color: var(--text-heading); font-size: 0.98rem; }
.ann-item-body {
  margin: 0;
  color: var(--text-body);
  font-size: 0.88rem;
  line-height: 1.9;
  white-space: pre-wrap;
}
.ann-empty { text-align: center; color: var(--text-muted); padding: 30px 0; margin: 0; }

@media (max-width: 640px) {
  .urgent-banner-text { white-space: normal; font-size: 0.85rem; line-height: 1.7; }
  .urgent-banner-more { display: none; }
  .ann-badge-urgent { font-size: 0.68rem; }
}
