

:root{
  --bg:#070b12;
  --bg2:#0a1020;
  --card: rgba(14, 20, 34, .72);
  --card2: rgba(12, 18, 30, .6);
  --border: rgba(120, 140, 180, .16);
  --text:#e8eefc;
  --muted: rgba(232,238,252,.72);

  --blue:#3b82f6;
  --cyan:#22d3ee;
  --green:#22c55e;
  --purple:#8b5cf6;

  --radius:18px;
  --shadow: 0 20px 80px rgba(0,0,0,.45);
}

*{ box-sizing:border-box; margin:0; padding:0; }
html,body{ height:100%; }
body{
  font-family: Vazirmatn, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 70% 10%, rgba(59,130,246,.18), transparent 55%),
              radial-gradient(900px 700px at 20% 60%, rgba(34,197,94,.16), transparent 55%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  direction: rtl;
  overflow-x:hidden;
}

a{ color: inherit; text-decoration:none; }
.container{ width:min(1200px, calc(100% - 40px)); margin-inline:auto; }

/* Topbar */
.topbar{
  background: linear-gradient(90deg, rgba(59,130,246,.22), rgba(34,211,238,.18));
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.topbar__inner{ display:flex; justify-content:space-between; align-items:center; gap:14px; padding:10px 0; }
.topbar__text{ color: rgba(255,255,255,.88); font-size:.95rem; display:flex; gap:10px; align-items:center; }
.sparkle{ opacity:.9; }
.topbar__cta{
  font-weight:700;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.10);
}

/* Background layers like dotted */
/* Background layers like dotted (animated drift) */
.bg-dots{
  position: fixed;
  inset: 0;
  pointer-events:none;
  opacity: .65;
  background-image:
    radial-gradient(rgba(59,130,246,.55) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(closest-side at 50% 40%, rgba(0,0,0,1), transparent 80%);
  will-change: transform, background-position;
  animation: dotsDrift 26s linear infinite;
}

.bg-dots::before{
  content:"";
  position:absolute;
  inset:-40px;
  background-image:
    radial-gradient(rgba(34,211,238,.35) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .55;
  filter: blur(.2px);
  mix-blend-mode: screen;
  animation: dotsDrift2 34s linear infinite;
}

@keyframes dotsDrift{
  0%   { transform: translate3d(0,0,0); background-position: 0 0; }
  50%  { transform: translate3d(10px,-18px,0); background-position: 20px -30px; }
  100% { transform: translate3d(0,0,0); background-position: 0 0; }
}
@keyframes dotsDrift2{
  0%   { transform: translate3d(0,0,0); background-position: 0 0; }
  50%  { transform: translate3d(-14px,16px,0); background-position: -26px 22px; }
  100% { transform: translate3d(0,0,0); background-position: 0 0; }
}

.bg-glow{
  position: fixed;
  width: 900px;
  height: 900px;
  filter: blur(90px);
  opacity: .25;
  pointer-events:none;
}
.bg-glow--a{ top:-320px; right:-280px; background: radial-gradient(circle, rgba(34,211,238,.8), transparent 60%); }
.bg-glow--b{ bottom:-380px; left:-260px; background: radial-gradient(circle, rgba(34,197,94,.75), transparent 60%); }

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 18, .55);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 180px;
}
.brand img{ width: 34px; height: 34px; object-fit:contain; filter: drop-shadow(0 8px 16px rgba(0,0,0,.35)); }
.brand__name{ font-weight:800; letter-spacing:.2px; opacity:.95; }

.nav{
  display:flex;
  align-items:center;
  gap:18px;
  color: rgba(232,238,252,.85);
}
.nav a{
  padding:8px 10px;
  border-radius: 10px;
}
.nav a:hover{
  background: rgba(255,255,255,.06);
}

.header__actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.nav-toggle{
  display:none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}
.nav-toggle span{
  display:block;
  width: 18px; height: 2px;
  background: rgba(255,255,255,.86);
  margin: 4px auto;
  border-radius: 999px;
}
.mobile-nav{
  display:none;
  padding: 0 0 14px;
}
.mobile-nav a{
  display:block;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  margin-top: 10px;
}
.mobile-nav__btn{ margin-top:12px; text-align:center; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.92);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{ transform: translateY(-1px); border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); }
.btn--primary{
  border: none;
  background: linear-gradient(90deg, rgba(59,130,246,.95), rgba(34,211,238,.9));
  box-shadow: 0 18px 40px rgba(59,130,246,.22);
}
.btn--ghost{
  background: rgba(255,255,255,.03);
}
.btn--lg{ padding: 12px 18px; font-size: 1.05rem; }
.w100{ width: 100%; }

/* Hero */
.hero{ padding: 54px 0 20px; }
.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: stretch;
}
.hero__content{
  padding: 18px 0;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(232,238,252,.88);
  font-weight: 700;
  margin-bottom: 16px;
}
.pill__dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--green), rgba(34,197,94,.25));
  box-shadow: 0 0 0 6px rgba(34,197,94,.12);
}
.hero__title{
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.2px;
}
.grad{
  background: linear-gradient(90deg, rgba(34,197,94,1), rgba(34,211,238,1), rgba(59,130,246,1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__desc{
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
  max-width: 60ch;
}
.hero__actions{
  margin-top: 18px;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}

/* Prompt box */
.prompt{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  align-items:center;
  padding: 14px 14px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
}
.prompt__icon{
  width: 40px; height: 40px;
  border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.22);
}
.prompt__title{ font-weight: 900; }
.prompt__sub{ color: rgba(232,238,252,.72); font-size:.92rem; margin-top:2px; }
.prompt__btn{
  margin-right:auto;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  background: rgba(34,197,94,.14);
  border: 1px solid rgba(34,197,94,.25);
  white-space: nowrap;
}
.prompt__btn:hover{ background: rgba(34,197,94,.18); }

/* Stats */
.stats{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}
.stat{
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  padding: 12px 12px;
}
.stat__num{ font-weight: 900; }
.stat__label{ color: rgba(232,238,252,.72); font-size: .92rem; margin-top: 2px; }

/* Hero visual card */
.hero__visual{ display:flex; align-items:stretch; }
.glass{
  width:100%;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
  overflow:hidden;
  position: relative;
}
.glass:before{
  content:"";
  position:absolute;
  inset:-1px;
  background: radial-gradient(700px 240px at 40% 0%, rgba(34,211,238,.22), transparent 60%),
              radial-gradient(700px 260px at 80% 40%, rgba(34,197,94,.18), transparent 60%);
  pointer-events:none;
}
.glass__header{
  position:relative;
  display:flex;
  align-items:center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.10);
}
.dot{ width:10px; height:10px; border-radius:99px; opacity:.95; }
.dot--r{ background:#ef4444; }
.dot--y{ background:#f59e0b; }
.dot--g{ background:#22c55e; }
.glass__title{ margin-right: 8px; color: rgba(232,238,252,.82); font-weight: 800; }

.glass__body{
  position:relative;
  padding: 14px;
}
.meter{ margin-bottom: 14px; }
.meter__label{ font-weight: 900; margin-bottom: 8px; color: rgba(232,238,252,.88); }
.meter__bar{
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  overflow:hidden;
}
.meter__bar span{
  display:block;
  height:100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(34,197,94,.95), rgba(34,211,238,.95), rgba(59,130,246,.95));
}
.meter__value{ margin-top: 8px; color: rgba(232,238,252,.70); font-size: .92rem; }

.mini-cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin-top: 10px;
}
.mini-card{
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}
.mini-card__k{ color: rgba(232,238,252,.72); font-size: .9rem; }
.mini-card__v{ font-weight: 900; margin-top: 6px; }

.hero__logoWrap{
  margin-top: 14px;
  display:flex;
  justify-content:center;
}
.hero__logo{
  width: 220px;
  opacity: .95;
  filter: drop-shadow(0 18px 35px rgba(0,0,0,.35));
}

/* Sections */
.section{ padding: 58px 0; }
.section--dark{
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.section__head{ margin-bottom: 22px; }
.section__title{
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  font-weight: 900;
}
.section__desc{ color: var(--muted); margin-top: 8px; line-height:1.9; }

/* Grids */
.grid{ display:grid; gap: 14px; }
.grid--2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--4{ grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid--5{ grid-template-columns: repeat(5, minmax(0,1fr)); }

.card{
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
  padding: 16px;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(59,130,246,.22);
  background: rgba(14, 20, 34, .78);
}
.card__icon{ font-size: 1.35rem; opacity:.95; }
.card h3{ margin-top: 10px; font-weight: 900; }
.card p{ margin-top: 8px; color: rgba(232,238,252,.72); line-height: 1.9; }

/* Games */
.grid--games .game-card{ height: 160px; }
.game-card{
  border-radius: var(--radius);
  background: rgba(10, 16, 32, .58);
  border: 1px solid rgba(255,255,255,.08);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 14px;
  transition: transform .15s ease, border-color .15s ease;
}
.game-card:hover{ transform: translateY(-3px); border-color: rgba(34,211,238,.22); }
.game-card img{
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(0,0,0,.35));
}
.game-card__name{ font-weight: 900; opacity: .95; }
.note{ margin-top: 14px; color: rgba(232,238,252,.68); }

/* Pricing */
.price-card{
  border-radius: var(--radius);
  background: var(--card2);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 55px rgba(0,0,0,.25);
  padding: 16px;
  position: relative;
}
.price-card__head{ padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.07); }
.price-card h3{ font-weight: 900; }
.price{
  margin-top: 10px;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}
.price span{
  display:block;
  font-size: .95rem;
  color: rgba(232,238,252,.70);
  margin-top: 2px;
}
.list{ list-style:none; padding: 14px 0; display:grid; gap: 10px; color: rgba(232,238,252,.78); }
.list li{ position:relative; padding-right: 22px; }
.list li:before{
  content:"✓";
  position:absolute;
  right:0;
  top:0;
  color: rgba(34,197,94,.95);
  font-weight: 900;
}
.price-card--featured{
  border-color: rgba(34,197,94,.25);
  box-shadow: 0 22px 70px rgba(34,197,94,.10);
}
.badge2{
  position:absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(34,197,94,.14);
  border: 1px solid rgba(34,197,94,.25);
  font-weight: 900;
  font-size: .85rem;
}

/* Slider */
.slider{
  display:grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 10px;
  align-items:center;
}
.slider__btn{
  width: 48px; height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.9);
  font-size: 1.8rem;
}
.slider__btn:hover{ background: rgba(255,255,255,.06); }
.slider__track{
  display:flex;
  gap: 12px;
  overflow:hidden;
  scroll-behavior:smooth;
}
.t-card{
  min-width: 340px;
  border-radius: var(--radius);
  background: rgba(14, 20, 34, .65);
  border: 1px solid rgba(255,255,255,.10);
  padding: 16px;
}
.t-card__title{ font-weight: 900; }
.t-card__text{ margin-top: 8px; color: rgba(232,238,252,.72); line-height: 1.9; }
.t-card__meta{ margin-top: 10px; color: rgba(232,238,252,.62); }

/* Info cards */
.info-card{
  border-radius: var(--radius);
  background: rgba(14, 20, 34, .55);
  border: 1px solid rgba(255,255,255,.09);
  padding: 18px;
}
.info-card h3{ font-weight: 900; }
.info-card p{ margin-top: 10px; color: rgba(232,238,252,.72); line-height: 1.9; }

/* FAQ */
.faq{ display:grid; gap: 12px; }
.faq-item{
  border-radius: var(--radius);
  background: rgba(14,20,34,.55);
  border: 1px solid rgba(255,255,255,.10);
  overflow:hidden;
}
.faq-q{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 14px 16px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,.92);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 900;
  cursor:pointer;
}
.chev{ opacity: .8; transition: transform .15s ease; }
.faq-a{
  max-height: 0;
  overflow:hidden;
  transition: max-height .25s ease;
}
.faq-a p{
  padding: 0 16px 16px;
  color: rgba(232,238,252,.72);
  line-height: 1.9;
}
.faq-item.is-open .faq-a{ max-height: 220px; }
.faq-item.is-open .chev{ transform: rotate(180deg); }

/* Footer */
.footer{
  padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.15);
}
.footer__inner{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  align-items:center;
}
.footer__brand{ font-weight: 900; }
.footer__copy{ color: rgba(232,238,252,.65); margin-top: 6px; }
.footer__links{ display:flex; justify-content:center; gap: 14px; color: rgba(232,238,252,.78); }
.footer__links a:hover{ text-decoration: underline; }
.footer__trust{ display:flex; justify-content:flex-end; }

/* Responsive */
@media (max-width: 1100px){
  .grid--5{ grid-template-columns: repeat(3, minmax(0,1fr)); }
  .grid--4{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__visual{ order: -1; }
  .hero__logo{ width: 190px; }
}

@media (max-width: 760px){
  .nav{ display:none; }
  .header__actions{ display:none; }
  .nav-toggle{ display:inline-block; }

  .mobile-nav.is-open{ display:block; }
  .topbar__inner{ flex-direction:column; align-items:flex-start; }
  .grid--2{ grid-template-columns: 1fr; }
  .grid--5{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .t-card{ min-width: 280px; }
  .footer__inner{ grid-template-columns: 1fr; text-align:center; }
  .footer__links{ justify-content:center; }
  .footer__trust{ justify-content:center; }
}

/* Scroll reveal */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  filter: blur(2px);
  transition: opacity .6s ease, transform .6s ease, filter .6s ease;
  will-change: opacity, transform, filter;
}

.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .bg-dots, .bg-dots::before{ animation: none !important; }
  .reveal{ transition: none !important; transform: none !important; filter: none !important; opacity: 1 !important; }
}

/* =========================================================
   Compatibility Layer (Old HTML classes -> New Design)
   If your template still uses: main-header/navbar/nav-links/hero-section...
   Paste this at the END of your CSS.
========================================================= */

/* Header (old) */
.main-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 18, .55);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
}

.navbar{
  width:min(1200px, calc(100% - 40px));
  margin-inline:auto;
  padding: 14px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.logo img{
  width:34px;
  height:34px;
  object-fit:contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.35));
}

.nav-links{
  list-style:none;
  display:flex;
  align-items:center;
  gap:18px;
  color: rgba(232,238,252,.85);
}

.nav-links li{ margin:0; }
.nav-links a{
  display:inline-flex;
  align-items:center;
  padding:8px 10px;
  border-radius:10px;
}

.nav-links a:hover{
  background: rgba(255,255,255,.06);
}

/* Buttons (old) */
.btn-primary{
  border:none !important;
  background: linear-gradient(90deg, rgba(59,130,246,.95), rgba(34,211,238,.9));
  box-shadow: 0 18px 40px rgba(59,130,246,.22);
  color: rgba(255,255,255,.95) !important;
}
.btn-secondary{
  background: rgba(255,255,255,.03) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  color: rgba(255,255,255,.92) !important;
}

/* Hero (old) */
.hero-section{
  width:min(1200px, calc(100% - 40px));
  margin-inline:auto;
  padding: 54px 0 20px;
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
}

.hero-content{
  padding: 18px 0;
}

.hero-content h1{
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.2px;
}

.hero-content p{
  margin-top: 14px;
  color: rgba(232,238,252,.72);
  font-size: 1.05rem;
  line-height: 1.9;
  max-width: 60ch;
}

.hero-image-container{
  display:flex;
  align-items:center;
  justify-content:center;
}

/* 🔥 این همون چیزی‌ه که عکس‌های عظیم رو درست می‌کنه */
.hero-rocket-image{
  width: 260px;
  max-width: 100%;
  height: auto;
  opacity: .95;
  filter: drop-shadow(0 18px 35px rgba(0,0,0,.35));
}

/* Sections mapping (old) */
.features-section, .pricing-section, .games-section, .testimonials-section, .info-section, .faq-section{
  padding: 58px 0;
}

.section-title{
  width:min(1200px, calc(100% - 40px));
  margin: 0 auto 22px;
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  font-weight: 900;
}

/* Old grids -> New look */
.features-grid, .pricing-grid{
  width:min(1200px, calc(100% - 40px));
  margin-inline:auto;
  display:grid;
  gap: 14px;
}

.features-grid{ grid-template-columns: repeat(4, minmax(0,1fr)); }
.pricing-grid{ grid-template-columns: repeat(4, minmax(0,1fr)); }

.feature-card, .pricing-card{
  border-radius: var(--radius);
  background: rgba(14, 20, 34, .72);
  border: 1px solid rgba(120, 140, 180, .16);
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
  padding: 16px;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.feature-card:hover, .pricing-card:hover{
  transform: translateY(-2px);
  border-color: rgba(59,130,246,.22);
  background: rgba(14, 20, 34, .78);
}

.pricing-card ul{ list-style:none; padding: 14px 0; display:grid; gap: 10px; }
.pricing-card li{ position:relative; padding-right: 22px; color: rgba(232,238,252,.78); }
.pricing-card li:before{
  content:"✓";
  position:absolute; right:0; top:0;
  color: rgba(34,197,94,.95);
  font-weight: 900;
}

.pricing-card.recommended{
  border-color: rgba(34,197,94,.25);
  box-shadow: 0 22px 70px rgba(34,197,94,.10);
}

/* Games old */
.games-grid{
  width:min(1200px, calc(100% - 40px));
  margin-inline:auto;
  display:grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 14px;
}

.game-card{
  border-radius: var(--radius);
  background: rgba(10, 16, 32, .58);
  border: 1px solid rgba(255,255,255,.08);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 14px;
  transition: transform .15s ease, border-color .15s ease;
  min-height: 160px;
}

.game-card:hover{ transform: translateY(-3px); border-color: rgba(34,211,238,.22); }
.game-card img{ width: 70px; height:70px; object-fit: contain; }

/* FAQ old */
.faq-item{
  width:min(1200px, calc(100% - 40px));
  margin: 0 auto 12px;
  border-radius: var(--radius);
  background: rgba(14,20,34,.55);
  border: 1px solid rgba(255,255,255,.10);
  overflow:hidden;
  padding: 14px 16px;
}

.faq-question{ font-weight: 900; }
.faq-answer p{ margin-top: 8px; color: rgba(232,238,252,.72); line-height: 1.9; }

/* Responsive */
@media (max-width: 1100px){
  .features-grid, .pricing-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .games-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
  .hero-section{ grid-template-columns: 1fr; }
  .hero-image-container{ order: -1; }
}

@media (max-width: 760px){
  .games-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
/* =========================
   Bottom Sections FIX PACK
   paste at END of style.css
========================= */

/* remove debug outlines if any */
*{ outline-color: transparent; }
body{ outline: none !important; }

/* Section titles in old markup */
.section-title{
  width:min(1200px, calc(100% - 40px));
  margin: 0 auto 22px;
}

/* ----- INFO (تست رایگان / ضمانت) ----- */
.info-section{
  padding: 58px 0;
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
}
.info-grid{
  width:min(1200px, calc(100% - 40px));
  margin-inline:auto;
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:14px;
}
.info-card{
  border-radius: var(--radius);
  background: rgba(14, 20, 34, .55);
  border: 1px solid rgba(255,255,255,.09);
  padding: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
}
.info-card h3{ font-weight: 900; }
.info-card p{ margin-top:10px; color: rgba(232,238,252,.72); line-height:1.9; }

/* ----- TESTIMONIALS (خالی بودن اسلایدر = بهم ریختگی) ----- */
.testimonials-section{ padding: 58px 0; }
.testimonial-slider:empty{ display:none !important; }
.testimonials-section .slider-nav{
  width:min(1200px, calc(100% - 40px));
  margin: 10px auto 0;
  display:flex;
  justify-content:center;
  gap:10px;
}
.testimonials-section .slider-nav button{
  width: 48px; height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.9);
  font-size: 1.6rem;
}
.testimonials-section .slider-nav button:hover{ background: rgba(255,255,255,.06); }

/* ----- FAQ old markup align + nice look ----- */
.faq-section{ padding: 58px 0; }
.faq-section .faq-item{
  width:min(1200px, calc(100% - 40px));
  margin: 0 auto 12px;
  border-radius: var(--radius);
  background: rgba(14,20,34,.55);
  border: 1px solid rgba(255,255,255,.10);
  overflow:hidden;
}
.faq-section .faq-question{
  padding: 14px 16px;
  font-weight: 900;
  cursor:pointer;
  position: relative;
}
.faq-section .faq-question::after{
  content:"⌄";
  position:absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  opacity:.8;
  transition: transform .15s ease;
}
.faq-section .faq-answer{
  max-height: 0;
  overflow:hidden;
  transition: max-height .25s ease;
}
.faq-section .faq-answer p{
  padding: 0 16px 16px;
  color: rgba(232,238,252,.72);
  line-height: 1.9;
}
.faq-item.is-open .faq-answer{ max-height: 260px; }
.faq-item.is-open .faq-question::after{ transform: translateY(-50%) rotate(180deg); }

/* ----- Footer (old markup) ----- */
.main-footer{
  padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.15);
}
.main-footer .footer-content{
  width:min(1200px, calc(100% - 40px));
  margin-inline:auto;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  align-items:center;
}
.main-footer .footer-content ul{
  list-style:none;
  display:flex;
  gap:14px;
  justify-content:flex-end;
}
.main-footer .footer-content a:hover{ text-decoration: underline; }
.main-footer a[href*="enamad"]{ display:block; width:min(1200px, calc(100% - 40px)); margin: 12px auto 0; }

/* responsive */
@media (max-width: 760px){
  .info-grid{ grid-template-columns: 1fr; }
  .main-footer .footer-content{ grid-template-columns: 1fr; text-align:center; }
  .main-footer .footer-content ul{ justify-content:center; flex-wrap:wrap; }
}
/* Center all section headings */
.section-title,
.features-section .section-title,
.pricing-section .section-title,
.games-section .section-title,
.testimonials-section .section-title,
.info-section .section-title,
.faq-section .section-title{
  text-align: center !important;
}

.features-section .section-title,
.pricing-section .section-title,
.games-section .section-title,
.testimonials-section .section-title,
.info-section .section-title,
.faq-section .section-title{
  margin-left: auto !important;
  margin-right: auto !important;
}
/* Center enamad at bottom */
.main-footer a[href*="trustseal.enamad.ir"]{
  display: flex !important;
  justify-content: center !important;
  margin: 14px auto 0 !important;
  width: 100% !important;
}

.main-footer a[href*="trustseal.enamad.ir"] img{
  display: block !important;
  margin: 0 auto !important;
}
.games-section .section-note{
  width: fit-content;
  margin: 18px auto 0 !important;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  text-align: center !important;
  font-size: 1.1rem !important;
  font-weight: 900 !important;
  color: rgba(232,238,252,.82) !important;
}

/* Pricing cards: center text + button under list */
.pricing-card{
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 10px;
  min-height: 320px; /* اختیاری: کارت‌ها هم‌قد */
}

/* Keep header + price centered */
.pricing-card h3,
.pricing-card .price{
  text-align: center !important;
  width: 100%;
}

/* List: stay readable RTL but block centered */
.pricing-card ul{
  list-style: none;
  display: inline-block;   /* block centered */
  text-align: right;       /* RTL readability */
  padding: 0 !important;
  margin: 10px auto 0 !important;
}

/* each line spacing */
.pricing-card li{
  padding-right: 22px;
  margin: 6px 0;
}

/* Push button to bottom and keep centered */
.pricing-card a.btn,
.pricing-card .btn{
  margin-top: auto !important;   /* 👈 می‌چسبه ته کارت */
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
}
