:root {
  --bg: #100C30;
  --bg-2: #18124A;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.12);
  --text: #F5F2FF;
  --text-dim: #B9B2E3;
  --gold: #FFC93C;
  --gold-deep: #F29E1F;
  --pink: #FF5A7E;
  --orange: #FF8A3D;
  --teal: #3CE0C0;
  --blue: #4F7BFF;
  --violet: #A66BFF;
  --radius: 28px;
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Fredoka", sans-serif; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.gold {
  background: linear-gradient(180deg, #FFF0B3, var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

/* ---------- background glow ---------- */
.glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.glow::before, .glow::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55;
}
.glow::before { width: 900px; height: 900px; top: -420px; left: -200px; background: radial-gradient(circle, #6A3DF0, transparent 65%); }
.glow::after { width: 800px; height: 800px; bottom: -420px; right: -260px; background: radial-gradient(circle, #1FB6A6, transparent 65%); opacity: 0.35; }

/* ---------- gem block (same look as the games) ---------- */
.gem {
  --c1: #FF9AAA; --c2: #FF5A6E; --c3: #C22C47;
  position: relative; display: block; flex: none; width: var(--s, 40px); height: var(--s, 40px); border-radius: calc(var(--s, 40px) * 0.22);
  background: linear-gradient(180deg, var(--c1), var(--c2) 50%, var(--c3));
  box-shadow: 0 calc(var(--s, 40px) * 0.08) 0 rgba(0, 0, 0, 0.28), 0 14px 26px -10px rgba(0, 0, 0, 0.5);
}
.gem::before {
  content: ""; position: absolute; inset: 13%; border-radius: calc(var(--s, 40px) * 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 60%);
}
.gem::after {
  content: ""; position: absolute; left: 20%; top: 17%; width: 36%; height: 11%; border-radius: 99px;
  background: rgba(255, 255, 255, 0.55);
}
.g-red { --c1: #FF9AAA; --c2: #FF5A6E; --c3: #C22C47; }
.g-yellow { --c1: #FFEC99; --c2: #FFD23F; --c3: #C79A0C; }
.g-cyan { --c1: #97ECFB; --c2: #3CD2F0; --c3: #138FB2; }
.g-purple { --c1: #D9AEFF; --c2: #B266FF; --c3: #7633D0; }
.g-green { --c1: #9AF3B8; --c2: #4CD97B; --c3: #1F9C4B; }
.g-blue { --c1: #9AB2FF; --c2: #4F7BFF; --c3: #2647C9; }
.g-orange { --c1: #FFC789; --c2: #FF9A3C; --c3: #CC6410; }

/* ---------- nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(16, 12, 48, 0.72); border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: "Fredoka"; font-weight: 700; font-size: 22px; }
.mark { display: grid; grid-template-columns: repeat(2, 15px); gap: 3px; }
.mark .gem { --s: 15px; }
.nav nav { display: flex; align-items: center; gap: 28px; }
.nav nav a { text-decoration: none; color: var(--text-dim); font-weight: 700; font-size: 15px; transition: color .2s; }
.nav nav a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer; border: 0;
  font-family: "Fredoka"; font-weight: 600; font-size: 17px; color: #fff;
  padding: 14px 26px; border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  box-shadow: 0 14px 30px -12px rgba(255, 77, 122, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(255, 77, 122, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn.ghost { background: var(--surface-2); box-shadow: inset 0 0 0 1.5px var(--line); }
.nav .btn, .nav nav a.btn { padding: 10px 20px; font-size: 15px; color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 84px 0 110px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-dim); font-weight: 700; font-size: 14px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); }
.hero h1 { font-size: clamp(44px, 6.4vw, 78px); margin: 22px 0 22px; font-weight: 700; }
.hero p.lead { font-size: 20px; color: var(--text-dim); max-width: 520px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero .stats { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.stat b { display: block; font-family: "Fredoka"; font-size: 30px; }
.stat span { color: var(--text-dim); font-size: 14px; font-weight: 600; }

.stage { position: relative; height: 560px; }
.phone {
  position: absolute; width: 230px; aspect-ratio: 1 / 2; border-radius: 34px; padding: 9px;
  background: linear-gradient(160deg, #3a3560, #12102a 45%, #0a0918);
  box-shadow: var(--shadow), 0 0 0 1.5px rgba(255, 255, 255, 0.08);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; }
.stage .p1 { left: 4%; top: 70px; transform: rotate(-9deg); z-index: 1; }
.stage .p2 { left: 32%; top: 0; z-index: 3; width: 250px; }
.stage .p3 { right: 0; top: 80px; transform: rotate(9deg); z-index: 2; }
.float { position: absolute; z-index: 4; animation: bob 6s ease-in-out infinite; }
.float.f1 { left: -4%; top: 20px; --s: 54px; animation-delay: -1s; }
.float.f2 { right: 6%; top: -10px; --s: 40px; animation-delay: -3s; }
.float.f3 { left: 18%; bottom: 10px; --s: 46px; animation-delay: -2s; }
.float.f4 { right: -2%; bottom: 60px; --s: 58px; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-16px) rotate(6deg); } }

/* ---------- sections ---------- */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 52px); }
.section-head p { color: var(--text-dim); font-size: 18px; margin-top: 14px; }
.kicker { font-family: "Fredoka"; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: 13px; color: var(--gold); margin-bottom: 12px; display: block; }

/* ---------- game cards ---------- */
.game {
  --accent: var(--violet);
  position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center;
  padding: 48px; border-radius: 40px; margin-bottom: 36px; overflow: hidden;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 22%, transparent), rgba(255, 255, 255, 0.03) 60%);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.game::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -180px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent), transparent 65%);
  filter: blur(40px); opacity: .6; pointer-events: none;
}
.game.flip { grid-template-columns: 1.05fr 1fr; }
.game.flip .info { order: 2; }
.game .info { position: relative; }
.game .title { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.game .icon { width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .6); }
.game h3 { font-size: clamp(30px, 3.4vw, 42px); }
.tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--text-dim); margin-top: 4px; }
.game p.desc { color: var(--text-dim); font-size: 17.5px; margin-bottom: 22px; }
.game ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.game li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.game li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 6px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 55%, white), var(--accent));
  box-shadow: 0 3px 0 rgba(0, 0, 0, .25);
}
.cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.play-badge img { height: 62px; width: auto; margin: -9px; }
.play-badge { display: inline-block; border-radius: 12px; transition: transform .2s; }
.play-badge:hover { transform: translateY(-2px); }
.small-link { color: var(--text-dim); font-size: 14px; font-weight: 600; text-underline-offset: 3px; }
.small-link:hover { color: var(--text); }
.shots { position: relative; display: flex; justify-content: center; gap: 18px; }
.shots .phone { position: relative; width: 31%; max-width: 190px; }
.shots .phone:nth-child(2) { transform: translateY(-26px); }
.soon {
  position: absolute; top: 22px; right: 22px; z-index: 2; padding: 8px 16px; border-radius: 999px;
  font-family: "Fredoka"; font-weight: 600; font-size: 14px; color: #3A2500;
  background: linear-gradient(180deg, #FFE27A, var(--gold));
}

/* ---------- values ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value {
  padding: 30px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .25s, background .25s;
}
.value:hover { transform: translateY(-4px); background: var(--surface-2); }
.value .gem { --s: 44px; margin-bottom: 22px; }
.value h3 { font-size: 22px; margin-bottom: 8px; }
.value p { color: var(--text-dim); font-size: 15.5px; }

/* ---------- contact ---------- */
.contact {
  text-align: center; padding: 72px 32px; border-radius: 40px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 138, 61, .22), rgba(255, 90, 126, .16) 40%, rgba(106, 61, 240, .25));
  border: 1px solid var(--line);
}
.contact h2 { font-size: clamp(32px, 4.2vw, 50px); margin-bottom: 14px; }
.contact p { color: var(--text-dim); font-size: 18px; max-width: 560px; margin: 0 auto 30px; }
.contact .row { position: absolute; display: flex; gap: 8px; opacity: .9; }
.contact .row .gem { --s: 30px; }
.contact .r1 { left: 34px; top: 34px; transform: rotate(-12deg); }
.contact .r2 { right: 34px; bottom: 34px; transform: rotate(10deg); }

/* ---------- footer ---------- */
footer { padding: 46px 0 56px; border-top: 1px solid var(--line); margin-top: 40px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { color: var(--text-dim); text-decoration: none; font-size: 14px; font-weight: 600; }
footer a:hover { color: var(--text); }
footer small { color: var(--text-dim); font-size: 14px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero .actions, .hero .stats { justify-content: center; }
  .stage { height: 480px; max-width: 560px; margin: 10px auto 0; width: 100%; }
  .game, .game.flip { grid-template-columns: 1fr; padding: 36px 28px; gap: 36px; }
  .game.flip .info { order: 0; }
  .values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav nav a:not(.btn) { display: none; }
  .hero { padding: 52px 0 70px; }
  .hero p.lead { font-size: 18px; }
  .stage { height: 380px; }
  .phone { width: 160px; border-radius: 26px; padding: 7px; }
  .phone img { border-radius: 20px; }
  .stage .p2 { width: 175px; left: calc(50% - 87px); }
  .stage .p1 { left: 0; top: 60px; }
  .stage .p3 { right: 0; top: 60px; }
  section { padding: 70px 0; }
  .game { padding: 28px 20px; border-radius: 30px; }
  .game .icon { width: 68px; height: 68px; border-radius: 18px; }
  .shots { gap: 10px; }
  .values { grid-template-columns: 1fr; }
  .contact { padding: 56px 22px; }
  .contact .row { display: none; }
  footer .wrap { flex-direction: column; text-align: center; }
  footer .links { justify-content: center; }
}

/* ---------- hub cards (najura.com) ---------- */
.hubs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hub {
  --accent: var(--violet);
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 34px 30px; border-radius: 34px; overflow: hidden;
  text-decoration: none; background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 24%, transparent), rgba(255, 255, 255, 0.03) 65%);
  border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s;
}
.hub:hover { transform: translateY(-5px); }
.hub .gem { --s: 52px; }
.hub h3 { font-size: 30px; }
.hub p { color: var(--text-dim); font-size: 16px; flex: 1; }
.hub .go { font-family: "Fredoka"; font-weight: 600; color: var(--gold); }
.icons { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 8px; }
.icons a { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; color: var(--text-dim); }
.icons img { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .6); transition: transform .2s; }
.icons a:hover img { transform: translateY(-4px) rotate(-3deg); }

/* ---------- simple pages & blog ---------- */
.page { padding: 72px 0 40px; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.page h1 { font-size: clamp(38px, 5vw, 58px); margin-bottom: 16px; }
.page .lead { color: var(--text-dim); font-size: 19px; }
.posts { display: grid; gap: 20px; margin-top: 44px; }
.post-card { display: block; padding: 28px 30px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .2s, background .2s; }
.post-card:hover { transform: translateY(-3px); background: var(--surface-2); }
.post-card h2 { font-size: 26px; margin-bottom: 8px; }
.post-card p { color: var(--text-dim); }
.meta { color: var(--text-dim); font-size: 14px; font-weight: 700; margin-bottom: 10px; display: block; }
.prose { font-size: 18px; }
.prose h2 { font-size: 30px; margin: 40px 0 12px; }
.prose h3 { font-size: 23px; margin: 30px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; color: #DDD8FA; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--gold); text-underline-offset: 3px; }
.prose img { border-radius: 20px; margin: 10px 0 24px; }
.back { display: inline-block; margin-bottom: 26px; color: var(--text-dim); font-weight: 700; text-decoration: none; }
.back:hover { color: var(--text); }
@media (max-width: 980px) { .hubs { grid-template-columns: 1fr; } }
