@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');
:root {
  --bg: #17172e;
  --bg-deep: #111124;
  --panel: rgba(42, 37, 71, .68);
  --panel-border: rgba(202, 184, 255, .15);
  --text: #f4f0ff;
  --muted: #b9b1d0;
  --violet: #bda5f5;
  --violet-strong: #9474df;
  --cyan: #65dccb;
  --gold: #f4d89a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden; color: var(--text);
  background: radial-gradient(ellipse at 75% 8%, #292044 0, transparent 38%), var(--bg);
  font-family: "Vazirmatn", Tahoma, sans-serif;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
#particles { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: .62; }
.ambient { position: fixed; width: 34rem; height: 34rem; border-radius: 50%; filter: blur(100px); opacity: .13; pointer-events: none; z-index: 0; }
.ambient-one { background: #8b62d8; top: -15rem; right: -12rem; }
.ambient-two { background: #3caaa9; bottom: -20rem; left: -12rem; }
.site-header, main, .site-footer { position: relative; z-index: 1; }
.site-header { height: 82px; max-width: 1240px; margin: auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.07); }
.brand { display: inline-flex; align-items: center; gap: 10px; direction: ltr; font-size: 22px; font-weight: 800; letter-spacing: 3px; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid rgba(189,165,245,.55); border-radius: 11px; color: var(--gold); font-size: 20px; box-shadow: 0 0 24px rgba(189,165,245,.18); }
.main-nav { display: flex; gap: 36px; color: var(--muted); font-size: 13px; }
.main-nav a, .text-link, .back-top { transition: color .25s ease; }
.main-nav a:hover, .text-link:hover, .back-top:hover { color: var(--cyan); }
.header-cta { padding: 10px 17px; border: 1px solid rgba(189,165,245,.35); border-radius: 30px; color: #e4d9ff; font-size: 12px; transition: .25s; }
.header-cta:hover { background: rgba(189,165,245,.12); border-color: var(--violet); }
.header-cta span { margin-right: 7px; color: var(--cyan); }
.menu-toggle { display: none; background: none; border: 0; color: white; font-size: 25px; }
.hero { max-width: 1240px; min-height: 650px; margin: auto; padding: 70px 32px 85px; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 24px; position: relative; }
.hero-copy { position: relative; z-index: 2; padding-right: 22px; }
.eyebrow, .section-kicker { color: var(--cyan); font-size: 12px; letter-spacing: .4px; display: flex; align-items: center; gap: 10px; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
h1 { margin: 24px 0 17px; font-size: clamp(48px, 6vw, 78px); line-height: 1.28; letter-spacing: -2px; font-weight: 800; }
h1 span, h2 span { color: var(--violet); text-shadow: 0 0 35px rgba(189,165,245,.22); }
.hero-description { max-width: 440px; color: var(--muted); font-size: 15px; line-height: 2.25; font-weight: 300; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 31px; flex-wrap: wrap; }
.button { min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; border-radius: 30px; font-size: 13px; font-weight: 600; transition: transform .25s, box-shadow .25s, background .25s; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: #201a34; background: linear-gradient(110deg, #d2c0ff, #9cdbd6); box-shadow: 0 9px 30px rgba(157,135,221,.2); }
.button-primary:hover { box-shadow: 0 12px 36px rgba(157,135,221,.36); }
.button-primary span, .button-outline span { font-size: 19px; }
.text-link { color: #d5cbe9; font-size: 12px; }
.text-link span { margin-right: 7px; color: var(--cyan); font-size: 18px; }
.hero-note { margin-top: 50px; color: #8e87a9; font-size: 11px; }
.sparkle { color: var(--gold); margin-left: 8px; }
.hero-art { position: relative; min-height: 490px; display: grid; place-items: center; }
.hero-art img { width: min(100%, 600px); position: relative; z-index: 1; filter: drop-shadow(0 20px 60px rgba(95,68,155,.3)); animation: float 7s ease-in-out infinite; }
.hero-glow { position: absolute; width: 65%; aspect-ratio: 1; border-radius: 50%; background: #8a68d8; filter: blur(100px); opacity: .22; }
.hero-orbit { position: absolute; border: 1px solid rgba(189,165,245,.13); border-radius: 50%; transform: rotate(-25deg); }
.orbit-a { width: 88%; height: 47%; }
.orbit-b { width: 75%; height: 65%; transform: rotate(50deg); border-color: rgba(101,220,203,.12); }
.floating-chip { position: absolute; z-index: 2; padding: 10px 15px; border: 1px solid rgba(212,198,255,.2); border-radius: 30px; background: rgba(32,28,56,.72); backdrop-filter: blur(12px); color: #d9d0ed; font-size: 11px; box-shadow: 0 12px 35px rgba(0,0,0,.2); animation: bob 5s ease-in-out infinite; }
.floating-chip span { color: var(--gold); margin-left: 7px; }
.chip-top { top: 17%; right: 1%; }
.chip-bottom { bottom: 16%; left: 0; animation-delay: -2s; }
.scroll-cue { position: absolute; bottom: 25px; right: 50%; transform: translateX(50%); color: #827a9f; font-size: 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue span { height: 27px; width: 1px; background: linear-gradient(var(--violet), transparent); }
.section-wrap { max-width: 1120px; margin: auto; padding: 105px 32px; }
.intro { border-top: 1px solid rgba(255,255,255,.06); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 50px; margin-top: 20px; }
h2 { margin: 10px 0 0; font-size: clamp(34px, 4vw, 49px); line-height: 1.5; letter-spacing: -1px; }
.intro-grid p, .section-heading > p { color: var(--muted); font-size: 14px; line-height: 2.2; font-weight: 300; max-width: 470px; margin: 0 0 8px; }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 58px; }
.feature-card { min-height: 180px; padding: 25px; border: 1px solid var(--panel-border); border-radius: 18px; background: linear-gradient(145deg, rgba(65,54,100,.36), rgba(29,28,54,.28)); transition: transform .3s, border-color .3s, background .3s; }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(189,165,245,.4); background: rgba(72,58,112,.35); }
.feature-icon { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--gold); background: rgba(244,216,154,.09); font-size: 20px; }
.feature-card h3 { margin: 17px 0 7px; font-size: 15px; }
.feature-card p { color: #a9a1c1; font-size: 12px; line-height: 1.9; margin: 0; }
.games-section { padding-top: 75px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.section-heading h2 { font-size: 39px; }
.section-heading > p { max-width: 330px; font-size: 12px; }
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.game-card { overflow: hidden; border: 1px solid var(--panel-border); border-radius: 19px; background: rgba(37,33,64,.72); transition: transform .3s, border-color .3s, box-shadow .3s; }
.game-card:hover { transform: translateY(-7px); border-color: rgba(189,165,245,.48); box-shadow: 0 18px 45px rgba(0,0,0,.2); }
.game-cover { height: 190px; position: relative; overflow: hidden; background: #292344; }
.game-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.game-card:hover .game-cover img { transform: scale(1.06); }
.game-status { position: absolute; top: 13px; right: 13px; padding: 5px 11px; border-radius: 20px; background: rgba(20,18,37,.72); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(8px); color: #d9d0ed; font-size: 10px; }
.game-info { padding: 19px 19px 18px; }
.game-category { color: var(--cyan); font-size: 10px; }
.game-info h3 { font-size: 18px; margin: 7px 0 6px; }
.game-info p { min-height: 45px; color: #aaa2c1; font-size: 11px; line-height: 1.9; margin: 0 0 17px; }
.game-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.game-button { border: 0; border-radius: 25px; padding: 9px 16px; background: rgba(189,165,245,.16); color: #e4d9ff; cursor: pointer; font-size: 11px; transition: .2s; }
.game-button:hover { background: rgba(189,165,245,.28); }
.game-button:disabled { cursor: default; opacity: .55; }
.game-platform { color: #8d86a7; font-size: 10px; }
.catalog-footnote { text-align: center; color: #9189a9; font-size: 11px; margin-top: 33px; }
.catalog-footnote span { color: var(--gold); margin-left: 6px; }
.manifesto { margin-top: 30px; padding: 100px 25px; text-align: center; border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); background: radial-gradient(ellipse at center, rgba(95,70,143,.25), transparent 65%); }
.manifesto-inner { max-width: 680px; margin: auto; }
.manifesto-symbol { font-size: 31px; color: var(--gold); margin-bottom: 20px; text-shadow: 0 0 25px rgba(244,216,154,.35); }
.manifesto h2 { margin: 18px 0; font-size: clamp(30px, 4vw, 43px); }
.manifesto p { color: var(--muted); font-size: 13px; line-height: 2.2; max-width: 570px; margin: 0 auto 27px; }
.button-outline { border: 1px solid rgba(189,165,245,.42); color: #e4d9ff; }
.button-outline:hover { background: rgba(189,165,245,.1); }
.site-footer { max-width: 1240px; margin: auto; padding: 27px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #827b9b; font-size: 10px; }
.footer-brand { color: var(--text); font-size: 17px; }
.footer-brand .brand-mark { width: 25px; height: 25px; font-size: 16px; border-radius: 8px; }
.back-top { color: #aaa2c1; }
.game-dialog { width: min(480px, calc(100% - 30px)); border: 1px solid rgba(189,165,245,.3); border-radius: 22px; padding: 30px; color: var(--text); background: #211d3a; box-shadow: 0 25px 100px rgba(0,0,0,.5); }
.game-dialog::backdrop { background: rgba(8,7,20,.78); backdrop-filter: blur(6px); }
.dialog-close { position: absolute; left: 15px; top: 12px; border: 0; background: none; color: #cfc5e7; font-size: 27px; cursor: pointer; }
.dialog-cover { width: 100%; max-height: 190px; object-fit: cover; border-radius: 13px; }
.dialog-platform { color: var(--cyan); font-size: 11px; margin-top: 15px; }
.dialog-title { font-size: 23px; margin: 5px 0; }
.dialog-description { color: var(--muted); font-size: 13px; line-height: 2; }
.dialog-download { margin-top: 10px; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-13px) rotate(1deg); } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 800px) {
  .site-header { height: 70px; padding: 0 20px; }
  .main-nav { display: none; position: absolute; top: 69px; right: 15px; left: 15px; padding: 18px; border: 1px solid var(--panel-border); border-radius: 15px; background: #211d3a; flex-direction: column; gap: 17px; z-index: 5; }
  .main-nav.open { display: flex; }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .hero { min-height: auto; padding: 65px 23px 85px; grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(47px, 12vw, 68px); }
  .hero-art { min-height: 340px; margin-top: 10px; }
  .hero-art img { max-width: 480px; }
  .chip-top { right: 0; top: 12%; }
  .chip-bottom { left: 0; bottom: 10%; }
  .scroll-cue { display: none; }
  .section-wrap { padding: 75px 22px; }
  .intro-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-row { grid-template-columns: 1fr; gap: 12px; margin-top: 35px; }
  .feature-card { min-height: 145px; }
  .section-heading { align-items: start; flex-direction: column; gap: 10px; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .game-cover { height: 160px; }
  .site-footer { padding: 25px 22px; flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .brand { font-size: 19px; }
  .hero { padding-top: 50px; }
  .hero-description { font-size: 13px; }
  .hero-actions { gap: 17px; }
  .hero-art { min-height: 270px; }
  .floating-chip { font-size: 9px; padding: 8px 11px; }
  .game-grid { grid-template-columns: 1fr; }
  .game-cover { height: 205px; }
  .section-heading h2 { font-size: 34px; }
  .manifesto { padding: 75px 22px; }
  .site-footer { justify-content: center; text-align: center; }
  .site-footer > span { width: 100%; order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
