/* gamewarp.ir landing */
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.wrap.narrow { width: min(780px, 100% - 48px); }
.wrap.two { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.muted { color: var(--muted); }
.p { color: var(--text-2); font-size: 16px; line-height: 1.9; margin-top: 12px; }
.p.narrow { max-width: 640px; margin-inline: auto; }
.center { text-align: center; }
.eyebrow { display: inline-block; font: 600 12px/1 var(--f-display); letter-spacing: .22em; color: var(--cyan); margin-bottom: 14px; }
.h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.015em; line-height: 1.25; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px) saturate(140%); background: rgba(10,13,22,.55); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.nav.scrolled { background: rgba(10,13,22,.85); border-bottom-color: var(--border); }
.nav-in { height: 72px; display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 24px; margin-inline-start: 28px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--warp); transform: scaleX(0); transition: transform .2s; transform-origin: center; }
.nav-links a:hover { color: var(--text); } .nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { margin-inline-start: auto; display: flex; gap: 10px; }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border-2); background: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.burger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 72px; min-height: 86vh; display: flex; align-items: center; }
.hero-art { position: absolute; inset: 0; z-index: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 20%; opacity: .28; filter: saturate(1.1); transform: scale(1.04); animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.12) translate(1.5%, -1%); } }
.hero-shade { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(270deg, rgba(10,13,22,.97) 0%, rgba(10,13,22,.88) 45%, rgba(10,13,22,.45) 100%),
  linear-gradient(180deg, rgba(10,13,22,.35) 0%, transparent 35%, var(--ink) 100%); }
.hero-in { position: relative; z-index: 2; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); line-height: 1.12; font-weight: 800; letter-spacing: -0.015em; margin: 22px 0 20px; }
.lead { font-size: 17.5px; color: var(--text-2); max-width: 560px; line-height: 1.95; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 10px; margin-top: 20px; font-size: 13px; color: var(--muted); align-items: center; }

.hero-shot { position: relative; direction: ltr; }
.hero-shot img { width: 100%; border-radius: 16px; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 40px 100px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(var(--violet-rgb), .2), 0 0 80px -20px rgba(var(--violet-rgb), .45); transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .6s; }
.hero-shot:hover img { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.shot-badge { position: absolute; left: -18px; bottom: 28px; display: flex; align-items: baseline; gap: 6px; padding: 12px 16px; border-radius: 14px; background: rgba(14,18,32,.9); border: 1px solid rgba(var(--cyan-rgb), .45); backdrop-filter: blur(10px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); }
.shot-badge b { font-size: 30px; font-weight: 700; color: var(--cyan); }
.shot-badge small { font-size: 12px; color: var(--muted); }
.shot-badge span { font-size: 12px; color: var(--text-2); margin-left: 8px; }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--border); background: var(--ink-2); padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; direction: ltr; animation: mq 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.mq { position: relative; width: 220px; height: 104px; border-radius: 12px; overflow: hidden; margin: 0; background: var(--surface-2); border: 1px solid var(--border); flex: none; }
.mq img { width: 100%; height: 100%; object-fit: cover; }
.mq .ab { position: absolute; inset: 0; display: grid; place-items: center; font: 700 22px/1 var(--f-display); color: var(--muted); z-index: 0; }
.mq img { position: relative; z-index: 1; }
.mq figcaption { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; padding: 8px 10px; background: linear-gradient(transparent, rgba(5,7,12,.9)); font-size: 12px; }
.mq figcaption b { display: block; font-weight: 600; }
.mq figcaption small { color: var(--muted); font-size: 11px; }

/* sections */
.section { padding: 100px 0; }
.section.alt { background: var(--ink-2); border-block: 1px solid var(--border); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.sec-head .p { max-width: 420px; margin: 0; }
.checks { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); font-size: 15px; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 6px; background: var(--warp); mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M4 10.5 8 14.5 16 6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat; }

/* route diagram */
.route-diagram { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-l); padding: 22px; direction: ltr; }
.rd { width: 100%; height: auto; display: block; font-family: var(--f-body); }
.rd-lab { font: 600 13px var(--f-fa, var(--f-body)); fill: var(--muted); }
.rd-t { font-size: 11px; fill: var(--muted); text-anchor: middle; }
.rd-pub circle, .rd-pub rect { fill: var(--surface-2); stroke: var(--border-2); stroke-width: 1.5; }
.rd-pub path { fill: none; stroke: #5E6A86; stroke-width: 1.5; stroke-dasharray: 4 4; }
.rd-wob { animation: wob 1.2s ease-in-out infinite alternate; }
@keyframes wob { to { d: path("M326 80 C 360 120, 380 40, 420 80"); } }
.rd-bad { font: 600 11px var(--f-body); fill: var(--danger); text-anchor: middle; }
.rd-gw circle, .rd-gw rect { fill: rgba(var(--violet-rgb), .14); stroke: rgba(var(--cyan-rgb), .7); stroke-width: 1.5; }
.rd-gw path { fill: none; stroke: url(#w); stroke-width: 2.5; }
.rd-good { font: 600 11px var(--f-body); fill: var(--success); text-anchor: middle; }
.rd-dot { fill: #fff; filter: drop-shadow(0 0 6px var(--cyan)); }

/* app */
.app-shot { margin: 44px auto 0; max-width: 980px; direction: ltr; }
.app-shot img { width: 100%; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 50px 120px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(var(--violet-rgb), .18); }
.app-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.af { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.af b { display: block; font-size: 15px; margin-bottom: 6px; }
.af span { color: var(--text-2); font-size: 13.5px; line-height: 1.75; }

/* covers */
.covers { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; direction: ltr; }
.cover { position: relative; aspect-ratio: 16 / 7.6; border-radius: 14px; overflow: hidden; margin: 0; background: var(--surface-2); border: 1px solid var(--border); transition: transform .2s, border-color .2s; }
.cover:hover { transform: translateY(-3px); border-color: rgba(var(--violet-rgb), .5); }
.cover img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; transition: transform .5s; }
.cover:hover img { transform: scale(1.05); }
.cover .ab { position: absolute; inset: 0; display: grid; place-items: center; font: 700 26px/1 var(--f-display); color: var(--muted); }
.cover figcaption { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; padding: 12px 14px; background: linear-gradient(transparent, rgba(5,7,12,.92)); }
.cover figcaption b { display: block; font-size: 14px; font-weight: 600; }
.cover figcaption small { color: var(--muted); font-size: 11.5px; }

/* numbers */
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.num { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 26px 22px; }
.num b { font-size: 44px; font-weight: 700; letter-spacing: -0.02em; background: var(--warp); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num i { font-style: normal; font-size: 14px; color: var(--muted); margin-left: 6px; }
.num span { display: block; margin-top: 8px; color: var(--text-2); font-size: 13.5px; line-height: 1.7; }

/* steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-l); padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.steps li > span { font: 700 56px/1 var(--f-display); color: transparent; -webkit-text-stroke: 1px rgba(var(--cyan-rgb), .5); position: absolute; top: 14px; inset-inline-end: 18px; opacity: .8; }
.steps h3 { font-size: 19px; font-weight: 700; }
.steps p { color: var(--text-2); font-size: 14.5px; line-height: 1.8; flex: 1; }
.steps .btn { align-self: flex-start; margin-top: 6px; }

/* faq */
.faq { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0 22px; margin-top: 10px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; align-items: center; gap: 12px; font-size: 15.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; font: 700 20px/1 var(--f-display); color: var(--cyan); width: 20px; transition: transform .2s; }
.faq[open] summary::before { content: "−"; }
.faq p { padding: 0 32px 20px; color: var(--text-2); font-size: 14.5px; line-height: 1.85; }
#faq .center { margin-bottom: 24px; }

/* cta */
.cta { padding: 40px 0 110px; }
.cta-in { text-align: center; padding: 56px 32px; border-radius: 24px; background: radial-gradient(60% 80% at 50% 0%, rgba(var(--violet-rgb), .3), transparent 70%), var(--surface); border: 1px solid rgba(var(--violet-rgb), .35); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cta-logo { width: 56px; height: 56px; filter: drop-shadow(0 0 22px rgba(var(--violet-rgb), .6)); margin-bottom: 8px; }
.cta .btn { margin-top: 14px; }

/* footer */
.foot { border-top: 1px solid var(--border); padding: 30px 0; }
.foot-in { display: flex; align-items: center; gap: 24px; font-size: 13.5px; }
.foot nav { display: flex; gap: 18px; color: var(--text-2); margin-inline-start: 12px; }
.foot .muted { margin-inline-start: auto; }

@media (max-width: 960px) {
  .hero-in, .wrap.two, .app-feats, .steps, .nums { grid-template-columns: 1fr; }
  .nums { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; padding: 56px 0 40px; }
  .hero-shot img { transform: none; }
  .nav-links { display: none; position: absolute; top: 72px; inset-inline: 0; flex-direction: column; gap: 0; padding: 8px 24px 16px; background: rgba(10,13,22,.96); border-bottom: 1px solid var(--border); }
  .nav-links a { padding: 12px 0; }
  .nav.open .nav-links { display: flex; }
  .nav-cta .btn-ghost { display: none; }
  .burger { display: flex; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .foot-in { flex-wrap: wrap; }
}
@media (max-width: 560px) { .nums { grid-template-columns: 1fr; } .hero-actions .btn { width: 100%; } }
