:root {
  --bg: #0f0f10;
  --bg-soft: #121212;
  --panel: #171717;
  --panel-2: #1b1b1b;
  --text: #f4f4f4;
  --muted: #8a8a8a;
  --muted-2: #666666;
  --line: rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.13);
  --accent: #f39a3c;
  --accent-2: #ffb25d;
  --green: #19d45b;
  --hero-image: url("https://i.imgur.com/zKftTmw.png");
  --radius: 14px;
  --max: 1280px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  min-width: 320px;
  background: radial-gradient(circle at 50% -20%, rgba(243,154,60,.08), transparent 36%), var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
svg { display: block; fill: currentColor; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--accent);
  color: #111;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}
.container.wide { width: min(100% - 24px, 1440px); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background .28s ease, border-color .28s ease, box-shadow .28s ease, backdrop-filter .28s ease;
}
.site-header.scrolled {
  background: rgba(17,17,17,.90);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 36px rgba(0,0,0,.18);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(100% - 36px, var(--max));
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: .9;
  text-transform: uppercase;
}
.brand { justify-self: start; }
.brand-mark {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px 3px 8px 3px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  overflow: hidden;
}
.brand-logo { width: 15px; height: 15px; object-fit: contain; display: block; }
.brand-name { font-size: 14px; font-weight: 900; letter-spacing: .08em; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-self: center;
}
.desktop-nav a {
  padding: 9px 13px;
  border-radius: 8px;
  color: #9a9a9a;
  font-size: 12px;
  font-weight: 700;
  transition: color .2s ease, opacity .2s ease, transform .2s ease;
}
.desktop-nav a:hover {
  color: #fff;
  opacity: 1;
  transform: translateY(-1px);
}
.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
}
.lang-button, .icon-button, .menu-button {
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.025);
  color: #ddd;
  height: 36px;
  border-radius: 9px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.lang-button:hover, .icon-button:hover, .menu-button:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.lang-button:active, .icon-button:active, .menu-button:active { transform: scale(.96); }
.lang-button { padding: 0 10px; display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; }
.flag { font-size: 15px; }
.icon-button { width: 36px; display: grid; place-items: center; border-color: transparent; background: transparent; }
.icon-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.menu-button { width: 42px; padding: 0 10px; display: none; flex-direction: column; justify-content: center; gap: 4px; }
.menu-button span { width: 100%; height: 1.5px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-button.active span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-button.active span:nth-child(2) { opacity: 0; }
.menu-button.active span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  padding: 24px;
  background: rgba(17,17,17,.98);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
}
.mobile-menu a { display: block; padding: 16px 4px; border-bottom: 1px solid var(--line); color: #d6d6d6; font-size: 16px; font-weight: 700; }

.hero {
  min-height: 740px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
  padding: calc(var(--header-h) + 84px) 0 132px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 320px;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(15,15,16,0), rgba(15,15,16,.48) 40%, rgba(15,15,16,.86) 72%, var(--bg) 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; opacity: 1; }
.hero-bg::before {
  content: "";
  position: absolute;
  inset: -2% -1% 0;
  background:
    linear-gradient(to bottom, rgba(8,8,8,.38) 0%, rgba(8,8,8,.48) 20%, rgba(8,8,8,.64) 48%, rgba(8,8,8,.86) 76%, rgba(15,15,16,.98) 100%),
    radial-gradient(circle at 50% 28%, rgba(255,255,255,.08), transparent 40%),
    var(--hero-image) center 22% / cover no-repeat;
  filter: grayscale(.12) saturate(.72) brightness(.42) contrast(1.04);
  transform: scale(1.03);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 32%, rgba(243,154,60,.10), transparent 28%), linear-gradient(90deg, rgba(0,0,0,.34) 0%, transparent 22%, transparent 78%, rgba(0,0,0,.34) 100%);
}
.hero-grid {
  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: 72px 72px;
  mask-image: radial-gradient(circle at 50% 50%, #000 5%, transparent 68%);
  opacity: .12;
}
.hero-orb { position: absolute; border-radius: 999px; filter: blur(60px); will-change: transform; }
.hero-orb-a { width: 540px; height: 540px; left: 15%; top: 4%; background: rgba(243,154,60,.10); animation: float-a 12s ease-in-out infinite alternate; }
.hero-orb-b { width: 420px; height: 420px; right: 12%; bottom: 10%; background: rgba(89,79,255,.06); animation: float-b 15s ease-in-out infinite alternate; }
.hero-ring { position: absolute; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; box-shadow: inset 0 0 40px rgba(255,255,255,.015); }
.hero-ring-a { width: 540px; height: 540px; left: calc(50% - 270px); top: 90px; animation: rotate-ring 28s linear infinite; opacity: .55; }
.hero-ring-b { width: 370px; height: 370px; left: calc(50% - 185px); top: 175px; border-color: rgba(243,154,60,.11); animation: rotate-ring-rev 21s linear infinite; opacity: .6; }
.hero-ring::before, .hero-ring::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 24px rgba(243,154,60,.55); }
.hero-ring-a::before { top: 34px; left: 105px; }
.hero-ring-a::after { right: 24px; bottom: 115px; opacity: .35; }
.hero-ring-b::before { top: -5px; left: 50%; }
.hero-ring-b::after { bottom: 10%; left: 10%; opacity: .45; }
@keyframes float-a { to { transform: translate3d(80px, 45px, 0) scale(1.08); } }
@keyframes float-b { to { transform: translate3d(-80px, -25px, 0) scale(.92); } }
@keyframes rotate-ring { to { transform: rotate(360deg); } }
@keyframes rotate-ring-rev { to { transform: rotate(-360deg); } }

.hero-content { text-align: center; max-width: 940px; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.hero h1, .section-heading h2, .community-card h2 { margin: 0; letter-spacing: -.045em; }
.hero h1 { font-size: clamp(50px, 7.3vw, 98px); line-height: .96; font-weight: 700; text-wrap: balance; text-shadow: 0 12px 40px rgba(0,0,0,.32); }
.hero-copy { max-width: 720px; margin: 26px auto 0; color: rgba(255,255,255,.62); font-size: clamp(15px, 1.35vw, 18px); line-height: 1.8; text-wrap: balance; text-shadow: 0 8px 20px rgba(0,0,0,.22); }
.hero-actions { margin-top: 34px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.button { min-height: 42px; padding: 0 16px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-transform: uppercase; font-size: 11px; font-weight: 800; letter-spacing: .06em; transition: transform .2s ease, background .2s ease, border-color .2s ease, filter .2s ease; }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(.98); }
.button-primary { background: var(--green); color: #05130a; }
.button-primary:hover { filter: brightness(1.08); box-shadow: 0 10px 28px rgba(25,212,91,.22); }
.button-secondary { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #fff; }
.button-secondary.square { width: 42px; padding: 0; }

.section { padding: 118px 0; position: relative; }
.section-soft { background: var(--bg-soft); border-block: 1px solid rgba(255,255,255,.035); }
.section-heading { max-width: 720px; margin: 0 auto 58px; text-align: center; }
.section-heading h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1; }
.section-heading > p:not(.eyebrow) { margin: 20px auto 0; color: var(--muted); font-size: 16px; line-height: 1.75; text-wrap: balance; }
.section-heading.compact { margin-bottom: 50px; }
.section-heading.compact h2 { font-size: clamp(24px, 3vw, 34px); }

.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.game-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(24,24,24,.58); transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease; }
.game-card:hover { transform: translateY(-6px); border-color: rgba(243,154,60,.45); box-shadow: 0 18px 44px rgba(0,0,0,.25), 0 0 0 3px rgba(243,154,60,.035); }
.game-art { height: 225px; position: relative; overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.game-art::before { content: ""; position: absolute; inset: 0; z-index: -2; }
.art-one::before { background: radial-gradient(circle at 75% 30%, rgba(255,171,85,.55), transparent 28%), linear-gradient(135deg, #2a160d, #161616 55%, #241911); }
.art-two::before { background: radial-gradient(circle at 30% 25%, rgba(101,88,255,.5), transparent 26%), linear-gradient(135deg, #111527, #171717 60%, #0d1525); }
.art-three::before { background: radial-gradient(circle at 60% 65%, rgba(56,205,173,.33), transparent 28%), linear-gradient(135deg, #10211d, #171717 60%, #141919); }
.art-lines { position: absolute; inset: -25%; z-index: -1; background: repeating-linear-gradient(100deg, transparent 0 24px, rgba(255,255,255,.055) 25px 26px); transform: rotate(-10deg); transition: transform .55s ease; }
.game-card:hover .art-lines { transform: rotate(-14deg) scale(1.08); }
.art-symbol { font-size: 78px; font-weight: 900; letter-spacing: -.08em; color: rgba(255,255,255,.88); text-shadow: 0 14px 36px rgba(0,0,0,.4); }
.game-body { padding: 24px; }
.game-body h3 { margin: 0 0 10px; font-size: 19px; }
.game-body p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; min-height: 72px; }
.tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 7px; }
.tags span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; color: #aaa; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.card-link, .card-status { margin-top: 22px; min-height: 34px; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.card-link { color: var(--accent-2); }
.card-link:hover { color: #fff; }
.card-status { color: #6e6e6e; }

.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pillar { min-height: 260px; padding: 30px; border-right: 1px solid var(--line); background: rgba(255,255,255,.012); transition: background .2s ease; }
.pillar:last-child { border-right: 0; }
.pillar:hover { background: rgba(255,255,255,.032); }
.pillar-number { display: block; margin-bottom: 70px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.pillar h3 { margin: 0 0 12px; font-size: 16px; }
.pillar p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.012); text-align: center; transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.team-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.025); border-color: var(--line-strong); }
.avatar { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 14px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line); color: #777; font-size: 20px; font-weight: 800; }
.team-card h3 { margin: 0; font-size: 17px; }
.team-card span { display: block; margin-top: 8px; color: var(--accent); font-size: 11px; text-transform: uppercase; font-weight: 800; letter-spacing: .08em; }
.team-card p { margin: 16px auto 0; max-width: 320px; color: var(--muted); font-size: 13px; line-height: 1.7; }

.sponsor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sponsor { min-height: 120px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; border: 1px dashed rgba(255,255,255,.12); border-radius: 12px; color: #777; }
.sponsor span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: #202020; border: 1px solid var(--line); font-size: 21px; }
.sponsor small { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.sponsor.ghost { opacity: .48; }

.technologies { overflow: hidden; }
.tech-marquee { position: relative; overflow: hidden; padding: 18px 0; }
.tech-marquee::before, .tech-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 19%; z-index: 2; pointer-events: none; }
.tech-marquee::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.tech-marquee::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.marquee-track { width: max-content; display: flex; gap: 70px; padding-left: 70px; animation: marquee 38s linear infinite; }
.tech-marquee:hover .marquee-track { animation-play-state: paused; }
.tech-item { width: 92px; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 10px; color: #7e7e7e; }
.tech-item strong { height: 42px; display: grid; place-items: center; color: #cacaca; font-size: 23px; letter-spacing: -.05em; }
.tech-item span { font-size: 11px; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(calc(-50% - 35px)); } }

.community-section { padding-top: 70px; }
.community-card { min-height: 330px; border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 52px 24px; background: rgba(255,255,255,.008); }
.community-card h2 { font-size: clamp(34px, 4vw, 52px); }
.community-card > p:not(.eyebrow) { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.whatsapp-button { margin-top: 28px; min-height: 38px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; border-radius: 7px; background: var(--green); color: #07170d; font-size: 10px; font-weight: 900; text-transform: uppercase; transition: transform .2s ease, filter .2s ease; }
.whatsapp-button:hover { transform: translateY(-2px); filter: brightness(1.06); }
.whatsapp-button svg { width: 17px; height: 17px; }

.site-footer { border-top: 1px solid var(--line); padding: 24px 20px 82px; text-align: center; background: var(--bg); }
.footer-social { display: flex; justify-content: center; gap: 10px; padding: 0 0 44px; }
.footer-social a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #272727; color: #eee; transition: transform .2s ease, background .2s ease; }
.footer-social a:hover { background: #343434; transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; }
.footer-brand { margin: 0 auto; color: #626262; transition: color .2s ease; }
.footer-brand:hover { color: #8b8b8b; }
.footer-brand .brand-mark { border-color: currentColor; width: 30px; height: 30px; }
.footer-brand > span:last-child { font-size: 13px; font-weight: 900; letter-spacing: .08em; text-align: left; line-height: 1; text-transform: uppercase; }
.copyright { max-width: 620px; margin: 28px auto 0; color: #626262; font-size: 12px; line-height: 1.7; }
.legal-nav { margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.legal-nav a { color: #c9c9c9; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; transition: color .2s ease; }
.legal-nav a:hover { color: #fff; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s cubic-bezier(.22,.61,.36,1), transform .65s cubic-bezier(.22,.61,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .menu-button { display: flex; }
  .game-grid, .team-grid { grid-template-columns: 1fr 1fr; }
  .game-card:last-child, .team-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 11px); width: 100%; justify-self: center; }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .sponsor-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  :root { --header-h: 66px; }
  .container { width: min(100% - 28px, var(--max)); }
  .header-inner { width: calc(100% - 24px); gap: 10px; }
  .brand-name { font-size: 12px; }
  .brand-mark { width: 26px; height: 26px; }
  .lang-label, .theme-button { display: none; }
  .lang-button { width: 38px; justify-content: center; padding: 0; border-color: transparent; background: transparent; }
  .hero { min-height: 650px; padding-top: 120px; }
  .hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .hero-copy { font-size: 15px; }
  .hero-ring-a { width: 420px; height: 420px; left: calc(50% - 210px); top: 118px; }
  .hero-ring-b { width: 290px; height: 290px; left: calc(50% - 145px); top: 182px; }
  .section { padding: 86px 0; }
  .section-heading { margin-bottom: 40px; }
  .game-grid, .team-grid, .pillar-grid, .sponsor-grid { grid-template-columns: 1fr; }
  .game-card:last-child, .team-card:last-child { grid-column: auto; max-width: none; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); min-height: 220px; }
  .pillar:last-child { border-bottom: 0; }
  .pillar-number { margin-bottom: 46px; }
  .sponsor-grid { gap: 10px; }
  .community-card { min-height: 300px; padding-inline: 20px; }
  .legal-nav { flex-direction: column; gap: 17px; }
  .site-footer { padding-bottom: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
