:root {
  --bg: #060608;
  --bg-2: #0c0c11;
  --card: #111117;
  --card-2: #16161e;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f6f6f8;
  --muted: #a0a0ae;
  --dim: #6c6c7a;
  --orange: #ff7a00;
  --amber: #ffb01f;
  --grad: linear-gradient(135deg, #ffb01f 0%, #ff7a00 55%, #ff5a00 100%);
  --radius: 22px;
  --wrap: 1240px;
  --font-head: 'Montserrat', system-ui, sans-serif;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  color-scheme: dark;
}
html[lang='ar'] { --font-head: 'Cairo', system-ui, sans-serif; --font: 'Cairo', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
::selection { background: var(--orange); color: #000; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.02em; }
html[lang='ar'] h1, html[lang='ar'] h2, html[lang='ar'] h3 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px;
}
html[lang='ar'] .eyebrow { letter-spacing: 0; font-size: 14px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ''; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.row-between { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
@media (max-width: 760px) { .section { padding: 76px 0; } .section-head { margin-bottom: 36px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px;
  border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--grad); color: #140800; box-shadow: 0 10px 30px -8px rgba(255, 122, 0, .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(255, 122, 0, .75); }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn-play { background: #fff; color: #000; }
.btn-play:hover { transform: translateY(-2px); }
.btn-play small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1; opacity: .7; }
.btn-play b { display: block; line-height: 1.1; font-size: 16px; }
.btn-play span { text-align: start; }
[dir='rtl'] .flip { transform: scaleX(-1); }

/* Header */
.announce { background: var(--grad); color: #140800; text-align: center; font-size: 14px; font-weight: 600; padding: 9px 16px; }
.announce:empty { display: none; }
.site-header {
  position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(6, 6, 8, .78); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand small { display: block; font-size: 9.5px; letter-spacing: .32em; color: var(--amber); font-weight: 700; margin-top: 2px; }
.brand span { line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: 14px; }
.lang-btn svg { width: 16px; height: 16px; }
.lang-menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); background: var(--card-2); border: 1px solid var(--line-2);
  border-radius: 16px; padding: 6px; min-width: 160px; display: none; box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
}
.lang.open .lang-menu { display: block; }
.lang-menu button { display: flex; width: 100%; justify-content: space-between; padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.lang-menu button:hover, .lang-menu button.on { background: rgba(255, 255, 255, .07); }
.lang-menu button.on::after { content: '●'; color: var(--orange); font-size: 10px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); align-items: center; justify-content: center; }
.burger svg { width: 22px; height: 22px; }
@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: inline-flex; }
  .site-header.menu-open .nav-links {
    display: flex; position: absolute; top: 78px; inset-inline: 0; flex-direction: column; align-items: stretch;
    background: rgba(6, 6, 8, .97); border-bottom: 1px solid var(--line); padding: 12px 16px 24px; backdrop-filter: blur(18px);
  }
  .site-header.menu-open .nav-links a { font-size: 18px; padding: 14px 16px; }
}

/* Hero */
.hero { position: relative; padding: 70px 0 90px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: float 14s ease-in-out infinite; }
.blob.b1 { width: 520px; height: 520px; background: #ff6a00; top: -140px; inset-inline-end: -120px; }
.blob.b2 { width: 380px; height: 380px; background: #ffb01f; bottom: -160px; inset-inline-start: -100px; opacity: .3; animation-delay: -6s; }
@keyframes float { 50% { transform: translate(30px, 40px) scale(1.08); } }
.hero-wave { position: absolute; inset-inline: 0; bottom: 0; height: 160px; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(44px, 7vw, 92px); font-weight: 900; letter-spacing: -0.045em; line-height: .98; margin-bottom: 26px; }
html[lang='ar'] .hero h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.2; }
.hero-lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 28px; margin-top: 48px; flex-wrap: wrap; }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust b { font-family: var(--font-head); font-size: 28px; font-weight: 800; }
.hero-trust span { color: var(--dim); font-size: 13.5px; font-weight: 500; }
.hero-visual { position: relative; height: 560px; }
.phone {
  position: absolute; top: 50%; left: 50%; width: 270px; height: 550px; transform: translate(-50%, -50%) rotate(-6deg);
  border-radius: 44px; padding: 12px; background: linear-gradient(160deg, #3a3346, #0f0d14 40%, #1b1722);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 50px 100px -20px rgba(0, 0, 0, .9), 0 0 120px -20px rgba(255, 122, 0, .45);
}
.phone-screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #000; position: relative; }
.phone-screen::before { content: ''; position: absolute; top: 10px; left: 50%; width: 90px; height: 24px; transform: translateX(-50%); background: #000; border-radius: 20px; z-index: 3; }
.phone-screen img.shot { width: 100%; height: 100%; object-fit: cover; transition: opacity .8s; }
.phone-screen .shot-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #2a1500, #000 70%); }
.phone-screen .shot-fallback img { width: 60%; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px;
  background: rgba(20, 20, 28, .75); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .5); animation: bob 6s ease-in-out infinite; z-index: 2;
}
.float-card img { width: 46px; height: 46px; border-radius: 12px; }
.float-card b { display: block; font-size: 14px; line-height: 1.2; }
.float-card span { font-size: 12.5px; color: var(--muted); }
.float-card .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #140800; }
.float-card .ico svg { width: 24px; height: 24px; }
.fc1 { top: 70px; inset-inline-start: 0; }
.fc2 { bottom: 90px; inset-inline-end: 0; animation-delay: -3s; }
.fc3 { top: 40px; inset-inline-end: 20px; animation-delay: -1.5s; padding: 10px; }
@keyframes bob { 50% { transform: translateY(-14px); } }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 520px; }
  .hero { padding-top: 40px; }
}
@media (max-width: 480px) {
  .hero-visual { height: 470px; }
  .phone { width: 230px; height: 470px; }
  .fc1 { inset-inline-start: -4px; top: 30px; } .fc2 { inset-inline-end: -4px; bottom: 50px; } .fc3 { display: none; }
}

/* Marquee */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scroll 38s linear infinite; }
[dir='rtl'] .marquee-track { animation-direction: reverse; }
.marquee-track span { display: flex; align-items: center; gap: 56px; font-family: var(--font-head); font-weight: 800; font-size: 26px; color: rgba(255, 255, 255, .2); text-transform: uppercase; white-space: nowrap; letter-spacing: .02em; }
.marquee-track span::after { content: '✦'; color: var(--orange); font-size: 18px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Featured game */
.featured {
  position: relative; border-radius: 32px; overflow: hidden; min-height: 520px; display: flex; align-items: flex-end;
  border: 1px solid var(--line-2); isolation: isolate;
}
.featured-bg { position: absolute; inset: 0; z-index: -2; }
.featured-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s; }
.featured:hover .featured-bg img { transform: scale(1.09); }
.featured::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 6, 8, .97) 8%, rgba(6, 6, 8, .55) 50%, rgba(6, 6, 8, .1)), linear-gradient(90deg, rgba(6, 6, 8, .7), transparent 70%); }
[dir='rtl'] .featured::after { background: linear-gradient(0deg, rgba(6, 6, 8, .97) 8%, rgba(6, 6, 8, .55) 50%, rgba(6, 6, 8, .1)), linear-gradient(-90deg, rgba(6, 6, 8, .7), transparent 70%); }
.featured-body { padding: 48px; max-width: 680px; }
.featured-tag { display: inline-flex; align-items: center; gap: 8px; background: var(--grad); color: #140800; font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; padding: 7px 14px; margin-bottom: 22px; }
.featured-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.featured-head img { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 10px 30px rgba(0, 0, 0, .6); }
.featured-head h3 { font-size: clamp(28px, 4vw, 46px); font-weight: 900; margin: 0; }
.featured p { color: #d0d0d8; font-size: 17px; max-width: 560px; }
.meta { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0 26px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); }
.chip svg { width: 14px; height: 14px; color: var(--amber); }
@media (max-width: 600px) { .featured-body { padding: 26px; } .featured { min-height: 480px; } .featured-head img { width: 68px; height: 68px; } }

/* Game cards */
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.game-card {
  position: relative; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .35s; display: flex; flex-direction: column;
}
.game-card:hover { transform: translateY(-8px); border-color: rgba(255, 122, 0, .45); box-shadow: 0 30px 60px -20px rgba(255, 122, 0, .35); }
.game-cover { aspect-ratio: 16 / 9; background: #1a1a22; overflow: hidden; position: relative; }
.game-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.game-card:hover .game-cover img { transform: scale(1.07); }
.game-cover .ph { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, #2a1500, #0e0e13); }
.game-cover .ph img { width: 30%; height: auto; object-fit: contain; }
.game-info { padding: 0 22px 22px; position: relative; flex: 1; display: flex; flex-direction: column; }
.game-icon { width: 72px; height: 72px; border-radius: 18px; margin-top: -36px; border: 3px solid var(--card); background: #222; position: relative; box-shadow: 0 10px 24px rgba(0, 0, 0, .5); object-fit: cover; }
.game-info h3 { font-size: 20px; margin: 14px 0 6px; font-weight: 800; }
.game-info p { color: var(--muted); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }
.game-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: 10px; }
.game-foot .rate { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.game-foot .rate svg { width: 16px; height: 16px; color: var(--amber); }
.genre { font-size: 12px; font-weight: 700; color: var(--amber); text-transform: uppercase; letter-spacing: .08em; }
.card-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.game-foot .btn { position: relative; z-index: 2; }
.skeleton { background: linear-gradient(90deg, #14141a 25%, #1d1d25 50%, #14141a 75%); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: var(--radius); min-height: 360px; }
@keyframes sk { to { background-position: -200% 0; } }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius); }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filters button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: 14px; color: var(--muted); }
.filters button.on { background: var(--text); color: #000; border-color: var(--text); }
.search { position: relative; max-width: 340px; width: 100%; }
.search input { width: 100%; height: 46px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); color: var(--text); padding-inline: 46px 18px; font: inherit; font-size: 15px; }
.search svg { position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--dim); }
input:focus, textarea:focus, select:focus { outline: 2px solid rgba(255, 122, 0, .6); outline-offset: 1px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); position: relative; overflow: hidden; transition: border-color .3s, transform .3s; }
.feature:hover { border-color: var(--line-2); transform: translateY(-4px); }
.feature::before { content: ''; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: var(--orange); filter: blur(80px); opacity: 0; top: -90px; inset-inline-end: -90px; transition: opacity .4s; }
.feature:hover::before { opacity: .35; }
.feature .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 122, 0, .12); color: var(--orange); margin-bottom: 22px; border: 1px solid rgba(255, 122, 0, .25); }
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; font-weight: 800; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 28px; background: var(--bg-2); overflow: hidden; }
.stat { padding: 40px 28px; border-inline-end: 1px solid var(--line); }
.stat:last-child { border-inline-end: 0; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(36px, 4vw, 54px); font-weight: 900; letter-spacing: -0.03em; line-height: 1; margin-bottom: 10px; }
.stat span { color: var(--muted); font-weight: 500; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-inline-end: 0; } .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); } }

/* Studio split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); position: relative; aspect-ratio: 4/3; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; }
.split p { color: var(--muted); font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks li::before { content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px; background: var(--grad) center/12px no-repeat; -webkit-mask: none; box-shadow: inset 0 0 0 6px var(--bg); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* Community CTA */
.cta-box {
  position: relative; border-radius: 36px; padding: 80px 40px; text-align: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse at 50% 120%, rgba(255, 122, 0, .55), transparent 60%), var(--bg-2); border: 1px solid var(--line-2);
}
.cta-box h2 { font-size: clamp(32px, 5vw, 60px); font-weight: 900; max-width: 760px; margin-inline: auto; }
.cta-box p { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 auto 36px; }
.socials { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.social {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line-2); transition: transform .25s, background .25s, color .25s; color: var(--text);
}
.social:hover { transform: translateY(-4px); background: var(--grad); color: #140800; }
.social i { width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; display: block; }
.socials.sm .social { width: 42px; height: 42px; border-radius: 12px; }
.socials.sm .social i { width: 18px; height: 18px; }
.socials-empty { color: var(--dim); font-size: 14px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 72px 0 28px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; font-family: var(--font); font-weight: 700; }
html[lang='ar'] .foot-grid h4 { letter-spacing: 0; font-size: 15px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid ul a { color: var(--muted); font-size: 15px; transition: color .2s; }
.foot-grid ul a:hover { color: var(--orange); }
.foot-about p { color: var(--muted); font-size: 15px; max-width: 340px; margin: 18px 0 22px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 56px; padding-top: 26px; color: var(--dim); font-size: 14px; }
.foot-bottom a:hover { color: var(--text); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }

/* Page hero (inner pages) */
.page-hero { padding: 80px 0 50px; position: relative; overflow: hidden; isolation: isolate; }
.page-hero h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 900; letter-spacing: -0.04em; }
.page-hero p { color: var(--muted); font-size: 19px; max-width: 640px; }
.page-hero .blob.b1 { width: 420px; height: 420px; top: -220px; opacity: .4; }

/* Game detail */
.gd-hero { position: relative; padding: 60px 0 40px; isolation: isolate; overflow: hidden; }
.gd-bg { position: absolute; inset: 0; z-index: -1; }
.gd-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(40px) saturate(1.3); opacity: .35; transform: scale(1.2); }
.gd-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 6, 8, .4), var(--bg)); }
.gd-top { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.gd-top .icon { width: 150px; height: 150px; border-radius: 36px; box-shadow: 0 30px 60px rgba(0, 0, 0, .6), 0 0 0 1px var(--line-2); object-fit: cover; background: #222; }
.gd-top h1 { font-size: clamp(34px, 5vw, 62px); font-weight: 900; margin-bottom: 8px; }
.gd-top .dev { color: var(--amber); font-weight: 700; margin-bottom: 14px; }
.gd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.gd-stats { display: flex; gap: 0; margin: 40px 0 10px; border: 1px solid var(--line); border-radius: 20px; background: rgba(17, 17, 23, .7); width: fit-content; max-width: 100%; overflow-x: auto; }
.gd-stats div { padding: 16px 28px; border-inline-end: 1px solid var(--line); text-align: center; white-space: nowrap; }
.gd-stats div:last-child { border: 0; }
.gd-stats b { display: block; font-size: 19px; font-weight: 800; }
.gd-stats span { font-size: 12.5px; color: var(--muted); }
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.shots img { height: 420px; width: auto; border-radius: 18px; scroll-snap-align: start; border: 1px solid var(--line); cursor: zoom-in; flex: none; background: #15151b; }
@media (max-width: 600px) { .shots img { height: 300px; } .gd-top .icon { width: 110px; height: 110px; border-radius: 28px; } }
.gd-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; margin-top: 56px; }
.gd-desc { white-space: pre-line; color: #cfcfd8; font-size: 16.5px; }
.gd-side { position: sticky; top: 100px; align-self: start; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.gd-side dl { margin: 0; display: grid; gap: 14px; }
.gd-side dt { color: var(--dim); font-size: 13px; }
.gd-side dd { margin: 0; font-weight: 600; }
.video { aspect-ratio: 16/9; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 40px; }
.video iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .gd-body { grid-template-columns: 1fr; } .gd-side { position: static; } }
.lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, .92); z-index: 100; display: none; place-items: center; padding: 20px; cursor: zoom-out; }
.lightbox.on { display: grid; }
.lightbox img { max-height: 92vh; border-radius: 16px; }

/* Forms / contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.info-card { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: flex; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.info-card .ico { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 122, 0, .12); color: var(--orange); }
.info-card .ico svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 17px; margin-bottom: 4px; }
.info-card p, .info-card a { color: var(--muted); margin: 0; font-size: 15px; word-break: break-word; }
.info-card a:hover { color: var(--orange); }
.form { padding: 36px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 14px; color: var(--text); font: inherit; padding: 14px 16px; font-size: 15px;
}
.field textarea { min-height: 150px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 14px 16px; border-radius: 14px; font-weight: 600; font-size: 15px; margin-top: 16px; display: none; }
.notice.ok { display: block; background: rgba(34, 197, 94, .12); color: #4ade80; border: 1px solid rgba(34, 197, 94, .3); }
.notice.err { display: block; background: rgba(239, 68, 68, .12); color: #f87171; border: 1px solid rgba(239, 68, 68, .3); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .two { grid-template-columns: 1fr; } .form { padding: 24px; } }

/* Legal */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: 56px; padding-bottom: 60px; }
.legal-nav { position: sticky; top: 100px; align-self: start; display: grid; gap: 4px; }
.legal-nav a { padding: 12px 16px; border-radius: 12px; color: var(--muted); font-weight: 600; font-size: 15px; }
.legal-nav a.active, .legal-nav a:hover { background: var(--card); color: var(--text); }
.legal-nav a.active { box-shadow: inset 3px 0 0 var(--orange); }
[dir='rtl'] .legal-nav a.active { box-shadow: inset -3px 0 0 var(--orange); }
.prose { max-width: 780px; color: #cfcfd8; font-size: 16.5px; }
.prose h2 { font-size: 24px; margin: 44px 0 14px; color: var(--text); }
.prose h3 { font-size: 18px; margin: 28px 0 10px; color: var(--text); }
.prose a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { padding-inline-start: 22px; }
.prose li { margin-bottom: 8px; }
.prose .updated { color: var(--dim); font-size: 14px; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; gap: 24px; } .legal-nav { position: static; display: flex; overflow-x: auto; } .legal-nav a { white-space: nowrap; } }

/* Cookie banner */
.cookie {
  position: fixed; bottom: 20px; inset-inline: 20px; max-width: 520px; z-index: 90; padding: 22px; border-radius: 20px;
  background: rgba(22, 22, 30, .96); border: 1px solid var(--line-2); box-shadow: 0 30px 60px rgba(0, 0, 0, .6); backdrop-filter: blur(12px);
  transform: translateY(150%); transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.cookie.on { transform: none; }
.cookie p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.cookie p a { color: var(--amber); text-decoration: underline; }
.cookie .btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.to-top { position: fixed; bottom: 24px; inset-inline-end: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--grad); color: #140800; display: grid; place-items: center; z-index: 40; opacity: 0; pointer-events: none; transition: opacity .3s; box-shadow: 0 10px 30px rgba(255, 122, 0, .5); }
.to-top.on { opacity: 1; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; }
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.nf b { font-family: var(--font-head); font-size: clamp(110px, 20vw, 220px); font-weight: 900; line-height: 1; display: block; }
.btn-block { width: 100%; }
.foot-about .socials { justify-content: flex-start; }
