@font-face { font-family: "Lilita One"; src: url(fonts/lilita-one.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Nunito"; src: url(fonts/nunito.woff2) format("woff2"); font-weight: 200 1000; font-display: swap; }
:root {
  --ink: #0d0a1f;
  --ink2: #17123a;
  --text: #f6f3ff;
  --soft: #b9b1df;
  --pink: #ff3d81;
  --orange: #ffb02e;
  --cyan: #2ee6ff;
  --violet: #8a5cff;
  --lime: #b6ff3b;
  --grad: linear-gradient(90deg, var(--pink), var(--orange) 50%, var(--cyan));
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Nunito", system-ui, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
h1, h2, h3, .brand span { font-family: "Lilita One", "Nunito", sans-serif; font-weight: 400; letter-spacing: .5px; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(3rem, 9vw, 7.2rem); }
h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h3 { font-size: 1.6rem; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { text-transform: uppercase; letter-spacing: 3px; font-weight: 900; font-size: .8rem; color: var(--cyan); margin: 0 0 14px; }
.eyebrow.pink { color: var(--pink); }
.lede { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--soft); max-width: 36ch; }
.center { text-align: center; }
.sub { color: var(--soft); margin: 10px 0 34px; }
section { padding: clamp(64px, 10vw, 120px) clamp(18px, 6vw, 80px); position: relative; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 28px; border-radius: 999px; text-decoration: none;
  font-weight: 900; font-size: 1.05rem; color: #1b0a14;
  background: var(--grad); background-size: 200% 100%;
  box-shadow: 0 8px 0 #9c1d4f, 0 18px 40px rgba(255, 61, 129, .35);
  transition: transform .15s, box-shadow .15s, background-position .4s;
}
.btn:hover { transform: translateY(-3px); background-position: 100% 0; }
.btn:active { transform: translateY(4px); box-shadow: 0 3px 0 #9c1d4f; }
.btn-ghost { background: transparent; color: var(--text); border: 3px solid rgba(255,255,255,.25); box-shadow: none; }
.btn-ghost:hover { border-color: var(--cyan); }
.btn-small { padding: 10px 18px; font-size: .9rem; box-shadow: 0 5px 0 #9c1d4f; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(13, 10, 31, .72); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 38px; height: 38px; }
.brand span { font-size: 1.6rem; }
.wordmark { display: flex; flex-direction: column; line-height: .95; }
.wordmark small { font-family: "Nunito", sans-serif; font-weight: 900; font-size: .42em; letter-spacing: .42em; text-transform: uppercase; margin-top: 3px;
  background: linear-gradient(90deg, #2ee6ff, #8a5cff, #ff3d81, #ffb02e, #b6ff3b, #2ee6ff); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 4s linear infinite; filter: drop-shadow(0 0 6px rgba(255,61,129,.55)); }
@keyframes shine { to { background-position: 300% 0; } }
@media (prefers-reduced-motion: reduce) { .wordmark small { animation: none; } }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { text-decoration: none; font-weight: 900; color: var(--soft); transition: color .2s; }
.links a:hover { color: var(--text); }
.menu { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--text); border-radius: 3px; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { min-height: calc(100vh - 66px); display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; overflow: hidden; }
.hero-text { position: relative; z-index: 2; }
.hero .lede { margin: 22px 0 34px; }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.blobs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.blobs i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 14s ease-in-out infinite alternate; }
.blobs i:nth-child(1) { width: 480px; height: 480px; background: var(--pink); top: -120px; left: -120px; }
.blobs i:nth-child(2) { width: 420px; height: 420px; background: var(--violet); bottom: -140px; right: 10%; animation-delay: -5s; }
.blobs i:nth-child(3) { width: 300px; height: 300px; background: var(--cyan); top: 30%; right: -80px; opacity: .35; animation-delay: -9s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.15); } }
.pulse-line { position: absolute; left: 0; right: 0; top: 52%; width: 100%; height: 120px; z-index: 1; opacity: .8; }
.pulse-line path { fill: none; stroke: url(#beatGrad); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(255,61,129,.6)); stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: beat 3.2s ease-in-out infinite; }
@keyframes beat { 50% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1400; } }
.hero-phones { position: relative; height: min(640px, 75vh); z-index: 2; }
.phone { position: absolute; width: min(240px, 42%); border-radius: 28px; border: 6px solid #1e1844; box-shadow: 0 30px 60px rgba(0,0,0,.5); animation: float 6s ease-in-out infinite; }
.p1 { left: 4%; top: 10%; transform: rotate(-9deg); }
.p2 { left: 32%; top: 0; z-index: 2; animation-delay: -2s; }
.p3 { left: 60%; top: 14%; transform: rotate(8deg); animation-delay: -4s; }
@keyframes float { 50% { translate: 0 -16px; } }

/* Ticker: two identical halves scroll left by exactly one half, so it loops seamlessly */
.ticker { overflow: hidden; background: var(--grad); background-size: 200% 100%; animation: shimmer 6s linear infinite; color: #1b0a14; transform: rotate(-2deg) scale(1.04); padding: 16px 0; box-shadow: 0 10px 40px rgba(255,61,129,.35); }
.ticker-track { display: flex; width: max-content; animation: scroll 28s linear infinite; will-change: transform; }
.ticker-track span { white-space: nowrap; font-family: "Lilita One"; font-size: clamp(1.3rem, 3vw, 2rem); letter-spacing: 2px; padding-right: 0; }
.ticker-track i { font-style: normal; font-size: .6em; vertical-align: middle; margin: 0 .6em; color: #fff; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes scroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@keyframes shimmer { to { background-position: 200% 0; } }

/* Featured game */
.game { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.game-art { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.game-art img { border-radius: var(--radius); border: 6px solid #1e1844; box-shadow: 0 24px 50px rgba(0,0,0,.45); transition: transform .3s; }
.game-art img:nth-child(2) { margin-top: 60px; }
.game-art img:hover { transform: translateY(-8px) rotate(-1deg); }
.game-text .lede { margin: 18px 0; }
.feats { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; color: var(--soft); }
.feats li { padding-left: 30px; position: relative; }
.feats li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 5px; background: var(--grad); }
.feats b { color: var(--text); }
.stores { display: flex; gap: 14px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 16px; background: #000; color: #fff; border-radius: 14px; border: 2px solid #3a3360; text-decoration: none; transition: transform .15s, border-color .15s; }
.badge:hover { transform: translateY(-3px); border-color: var(--cyan); }
.badge svg { width: 28px; height: 28px; fill: #fff; }
.badge span { display: flex; flex-direction: column; font-weight: 900; font-size: 1.2rem; line-height: 1.1; }
.badge small { font-size: .62rem; letter-spacing: 1px; font-weight: 700; opacity: .8; }
.badge-soon { opacity: .55; cursor: default; }
.badge-soon:hover { transform: none; border-color: #3a3360; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1200px; margin: 0 auto; }
.card { border-radius: var(--radius); padding: 34px 28px; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .25s; position: relative; overflow: hidden; color: #160a1f; }
.card:hover { transform: translateY(-8px) rotate(-1deg); }
.card p { margin: 8px 0 0; font-weight: 700; }
.c1 { background: linear-gradient(140deg, var(--orange), var(--pink)); }
.c2 { background: linear-gradient(140deg, var(--cyan), var(--violet)); }
.c3 { background: linear-gradient(140deg, var(--lime), var(--cyan)); }
.tag { position: absolute; top: 20px; left: 22px; font-size: .75rem; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; background: rgba(0,0,0,.18); padding: 4px 10px; border-radius: 999px; }

/* Gallery */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 280px)); justify-content: center; gap: 22px; margin: 0 auto 30px; }
.videos video { width: 100%; border-radius: var(--radius); border: 6px solid #1e1844; box-shadow: 0 24px 50px rgba(0,0,0,.45); background: #1e1844; }

/* Studio */
.studio { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; background: var(--ink2); }
.studio-text .lede { margin-top: 20px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.values div { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 24px; }
.values b { font-family: "Lilita One"; font-size: 1.5rem; display: block; margin-bottom: 6px; }
.values div:nth-child(1) b { color: var(--pink); }
.values div:nth-child(2) b { color: var(--orange); }
.values div:nth-child(3) b { color: var(--cyan); }
.values div:nth-child(4) b { color: var(--lime); }
.values span { color: var(--soft); }

/* News */
.news h2 { margin-bottom: 40px; }
.post { background: var(--ink2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 60px 26px 28px; position: relative; transition: transform .25s, border-color .25s; }
.post:hover { transform: translateY(-6px); border-color: var(--pink); }
.post .tag { background: var(--pink); color: #fff; }
.post p { color: var(--soft); margin-bottom: 0; }

/* Contact */
.contact { text-align: center; background: radial-gradient(circle at 50% 120%, rgba(255,61,129,.45), transparent 60%); }
.contact .lede { margin: 18px auto 34px; }

/* Footer */
.footer { padding: 40px clamp(18px, 6vw, 80px); display: flex; align-items: center; gap: 24px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; margin-left: auto; }
.footer nav a { color: var(--soft); text-decoration: none; font-weight: 700; }
.footer nav a:hover { color: var(--text); }
.small { width: 100%; color: var(--soft); font-size: .85rem; margin: 0; }

/* Cookie banner */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 620px; margin: 0 auto; background: #1e1844; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 18px 20px; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.cookie p { margin: 0 0 14px; color: var(--soft); }
.cookie b { color: var(--text); }
.cookie a { color: var(--cyan); }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--soft); cursor: pointer; }
.link-btn:hover { color: var(--text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }

/* Mobile */
@media (max-width: 900px) {
  .links { position: fixed; inset: 66px 0 auto 0; flex-direction: column; gap: 0; background: var(--ink); padding: 10px 0; display: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .links a { padding: 16px 24px; font-size: 1.2rem; }
  .nav.open .links { display: flex; }
  .nav.open .menu span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav.open .menu span:nth-child(2) { opacity: 0; }
  .nav.open .menu span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .menu { display: block; }
  .nav > .btn-small { margin-left: auto; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 50px; text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .hero-phones { height: 420px; }
  .phone { width: 38%; }
  .game, .studio { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .nav > .btn-small { display: none; }
  .menu { margin-left: auto; }
  .values { grid-template-columns: 1fr; }
  .hero-phones { height: 330px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 480px) {
  .cookie { left: 10px; right: 10px; bottom: 10px; padding: 14px; font-size: .88rem; }
  .cookie p { margin-bottom: 10px; }
  .cookie-actions { flex-wrap: nowrap; }
  .cookie-actions .btn { flex: 1; padding: 10px 8px; justify-content: center; text-align: center; }
}
html, body { overflow-x: clip; }
