:root {
  --bg-1: #101015;
  --bg-2: #191822;
  --bg-3: #111116;
  --ink-1: #f5f3ff;
  --ink-2: #d9d2e9;
  --ink-3: #c9c2d9;
  --ink-4: #b3acc4;
  --violet-50: #d8c7ff;
  --violet-100: #c2a8ff;
  --violet-200: #925cff;
  --violet-300: #7c5add;
  --violet-400: #5f35cc;
  --line: rgba(194, 168, 255, 0.19);
  --line-strong: rgba(178, 153, 255, 0.24);
  --surface: rgba(23, 23, 31, 0.74);
  --surface-strong: rgba(18, 18, 24, 0.82);
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 38px;
  --shadow-md: 0 20px 46px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.52);
  --shadow-glow: 0 14px 18px rgba(146, 92, 255, 0.38);
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter',  sans-serif;
  color: var(--ink-1);
background: radial-gradient(98.45% 274.4% at 72% 5%, rgba(146, 92, 255, 0.36) 0%, rgba(146, 92, 255, 0.00) 31%), radial-gradient(86.88% 242.15% at 20% 18%, rgba(212, 199, 255, 0.14) 0%, rgba(212, 199, 255, 0.00) 22%), radial-gradient(53.12% 148.06% at 50% 50%, rgba(116, 73, 220, 0.10) 0%, rgba(116, 73, 220, 0.00) 36%), linear-gradient(180deg, #101015 0%, #191822 43%, #111116 100%);
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  color: var(--ink-1);
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  overflow-x: clip;
}

.section {
  width: 100%;
  max-width: var(--content);
  padding: 42px 24px;
}

/* ---------- Header ---------- */
.header-margin {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  padding: 18px 24px 0;
  display: flex;
  justify-content: center;
}

.header {
  width: 100%;
  max-width: var(--content);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(18, 18, 24, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #d8c7ff 0%, #8b59ff 47%, #33205f 100%);
  box-shadow: 0 0 36px rgba(146, 92, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.42);
  overflow: hidden;
  flex: none;
}

.brand-mark-bar {
  position: absolute;
  width: 11px;
  height: 58px;
  border-radius: 4px;
  background: #16151f;
  opacity: 0.72;
  top: -6px;
  left: -1px;
  transform: rotate(-34deg);
  transform-origin: top left;
}

.brand-mark-bar--two {
  left: 11px;
  top: -4px;
  height: 52px;
}

.brand-name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.32px;
  color: var(--ink-1);
}

.nav {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  justify-self: center;
}

.nav-link {
  padding: 11px 17px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink-3);
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-link:hover {
  color: var(--ink-1);
}

.nav-link--active {
  color: #fff;
  background: linear-gradient(135deg, var(--violet-200) 0%, var(--violet-400) 100%);
  box-shadow: 0 10px 13px rgba(146, 92, 255, 0.32);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 25px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-1);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.btn--play {
  justify-self: end;
  min-width: 132px;
  padding: 14px 31px 15px;
  background: linear-gradient(135deg, #e1d4ff 0%, #8f5bff 52%, #5d36d0 100%);
  box-shadow: 0 14px 18px rgba(146, 92, 255, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn--primary {
  min-height: 54px;
  padding: 18px 25px 19px;
  background: linear-gradient(133deg, #c8b1ff 0%, #925cff 48%, #5c35cd 100%);
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow: 0 20px 22px rgba(146, 92, 255, 0.36);
  font-size: 16px;
}

.btn--ghost {
  min-height: 54px;
  padding: 18px 25px 19px;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.11);
  color: var(--ink-3);
  font-size: 16px;
}

.btn--ghost:hover {
  color: var(--ink-1);
  background: rgba(255, 255, 255, 0.07);
}

.btn--primary:hover,
.btn--play:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 28px rgba(146, 92, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn--sm {
  min-height: 0;
  padding: 11px 18px 12px;
  font-size: 13px;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 72px;
  padding-bottom: 46px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(194, 168, 255, 0.26);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.92px;
  text-transform: uppercase;
  color: var(--violet-100);
  width: max-content;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--violet-100);
  box-shadow: 0 0 18px var(--violet-200);
}

.hero-title {
  font-size: clamp(56px, 8.4vw, 115px);
  line-height: 0.92;
  font-family: sans-serif;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
}

.hero-title--outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245, 243, 255, 0.6);
  text-shadow: 0 0 26px rgba(146, 92, 255, 0.28);
}

.hero-lead {
  max-width: 520px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 10px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 600px;
  border-radius: 48px;
  border: 1px solid rgba(194, 168, 255, 0.2);
  overflow: hidden;
  background:
    radial-gradient(220px 200px at 62% 22%, rgba(198, 170, 255, 0.34), rgba(198, 170, 255, 0) 70%),
    linear-gradient(140deg, rgba(43, 40, 58, 0.66) 0%, rgba(10, 10, 16, 0.96) 100%);
  box-shadow: var(--shadow-lg);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(10, 10, 16, 0.95) 0%, rgba(10, 10, 16, 0) 54%);
  opacity: 0.62;
}

.hero-visual-glow {
  position: absolute;
  right: 70px;
  top: 54px;
  width: 162px;
  height: 162px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side at 34% 28%, rgba(255, 255, 255, 1) 0%, rgba(217, 202, 255, 1) 18%, rgba(171, 146, 238, 1) 44%, rgba(124, 90, 221, 0.02) 70%);
  opacity: 0.56;
  filter: blur(0.1px);
}

.hero-bars {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 54%;
  opacity: 0.66;
}

.hero-bars span {
  position: absolute;
  bottom: 0;
  left: var(--x);
  width: var(--w);
  height: var(--h);
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, rgba(190, 164, 255, 0.28) 0%, rgba(80, 59, 125, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
  box-shadow: 0 0 36px rgba(146, 92, 255, 0.18);
}

.hero-orb {
  position: absolute;
  bottom: 28%;
  left: 60%;
  width: 22px;
  height: 320px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e6dfff 0%, #864fff 35%, #1d143a 100%);
  transform: rotate(36deg);
  box-shadow: 0 0 30px rgba(146, 92, 255, 0.6);
  opacity: 0.92;
}

.hero-screen {
  position: absolute;
  top: 74px;
  left: 50%;
  transform: translateX(-50%);
  width: 178px;
  height: 198px;
  border-radius: 86px 86px 71px 71px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(130deg, #dad7e6 0%, #8e899e 50%, #403a52 100%);
  overflow: hidden;
  box-shadow: 0 0 38px rgba(146, 92, 255, 0.28),
    inset 0 -28px 42px rgba(0, 0, 0, 0.45);
}

.hero-screen-glow {
  position: absolute;
  left: -42px;
  top: 36px;
  width: 271px;
  height: 105px;
  background: linear-gradient(90deg, #111017 0%, #272034 50%, #0c0b10 100%);
  transform: rotate(-7deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.hero-screen-light {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 60%);
}

.hero-dot {
  position: absolute;
  left: 50%;
  top: 64%;
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background: #cfc0ff;
  box-shadow: 0 0 22px 9px rgba(146, 92, 255, 0.85);
  transform: translateX(-50%);
}

.hero-frame {
  position: absolute;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%);
  width: 330px;
  height: 235px;
  border-radius: 42px 42px 70px 70px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(145deg, #5e5a6b 0%, #1b1a24 52%, #0c0b11 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 20px 38px rgba(255, 255, 255, 0.08),
    inset 0 -22px 30px rgba(0, 0, 0, 0.5);
}

.hero-zk {
  width: 84px;
  height: 84px;
  border-radius: 24px;
  background: linear-gradient(135deg, #cfc0ff 0%, #804fff 100%);
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.08em;
  color: #fff;
  box-shadow: 0 0 17px rgba(146, 92, 255, 0.82);
}

.hero-spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--violet-50);
  opacity: 0.75;
  box-shadow: 0 0 18px rgba(146, 92, 255, 0.85);
}

.hero-spark--1 { left: 78px;  top: 102px; }
.hero-spark--2 { left: 140px; top: 406px; }
.hero-spark--3 { right: 100px; top: 227px; }
.hero-spark--4 { right: 190px; top: 78px; }

/* ---------- Section primitives ---------- */
.section-title {
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-1);
}

.section-title--xl { font-size: clamp(36px, 4.6vw, 54px); }

.section-rule {
  display: inline-block;
  width: 82px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(194, 168, 255, 0) 0%, var(--violet-100) 50%, rgba(194, 168, 255, 0) 100%);
  margin-top: 18px;
}

.section-rule--center {
  display: block;
  margin: 18px auto 0;
}

.section-heading--left {
  text-align: left;
  margin-bottom: 24px;
}

/* ---------- About ---------- */
.section--about {
  padding-bottom: 0;
}

.about-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 59px 60px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(220px 220px at 9% 9%, rgba(194, 168, 255, 0.17), transparent 60%),
    radial-gradient(220px 220px at 84% 22%, rgba(146, 92, 255, 0.17), transparent 60%),
    linear-gradient(180deg, rgba(37, 36, 49, 0.86) 0%, rgba(23, 23, 31, 0.9) 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.about-content {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.about-lead {
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1.75;
  max-width: 640px;
  padding-top: 6px;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}

.about-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #f5f2ff;
}

.about-bullet {
  width: 18px;
  height: 18px;
  border-radius: 9px;
  background: radial-gradient(closest-side, #fff 0%, #dbceff 14%, #b69cff 28%, #9671f4 49%, #7646e8 70%);
  box-shadow: 0 0 18px rgba(146, 92, 255, 0.4);
}

.about-shield {
  width: 170px;
  height: 170px;
  flex: none;
  border-radius: 50%;
  background:
    radial-gradient(closest-side at 38% 30%, #ffffff 0%, #cfc7e6 35%, #756d89 64%, #f5f2ff 100%);
  filter: drop-shadow(0 0 16px rgba(146, 92, 255, 0.34));
  position: relative;
  transform: rotate(-8deg);
}

.about-shield::after {
  content: "";
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  bottom: 0;
  height: 20px;
  border-radius: 35px;
  background: radial-gradient(closest-side at 50% 100%, rgba(146, 92, 255, 0.55) 0%, transparent 67%);
}

.about-shield--right {
  transform: rotate(8deg);
}

.emoji-ribbon {
  margin-top: -22px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(90deg, #3d2a63 0%, #8e5cff 50%, #4e347a 100%);
  filter: drop-shadow(0 14px 18px rgba(146, 92, 255, 0.24));
  color: rgba(255, 255, 255, 0.73);
  font-size: 22px;
  white-space: nowrap;
  overflow: hidden;
}

.emoji-ribbon span { padding: 0 24px; }

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 310px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.why-card-art {
  position: relative;
  height: 138px;
  background: linear-gradient(135deg, rgba(146, 92, 255, 0.18) 0%, rgba(146, 92, 255, 0) 33%),
    radial-gradient(180px 130px at 30% 44%, rgba(194, 168, 255, 0.36), transparent 60%),
    linear-gradient(135deg, #2a2738 0%, #15151c 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.why-card-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 22, 0) 40%, rgba(17, 17, 22, 0.96) 100%);
}

.why-card-body {
  padding: 0 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  margin-top: -28px;
  z-index: 1;
}

.why-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, #d9caff 0%, #7d4cff 100%);
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--ink-1);
  box-shadow: 0 14px 16px rgba(146, 92, 255, 0.38);
}

.why-title {
  font-size: 23px;
  line-height: 1.1;
  padding-top: 8px;
}

.why-card p {
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1.65;
}

/* Decorative shapes inside Why cards */
.art-shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.art-shape--ctrl-1 {
  left: 14%;
  top: 28%;
  width: 22%;
  height: 26%;
  background: linear-gradient(135deg, #b3a3ff 0%, #6f49d4 100%);
  border-radius: 14px;
}

.art-shape--ctrl-2 {
  left: 44%;
  top: 18%;
  width: 28%;
  height: 36%;
  background: linear-gradient(135deg, #c7b6ff 0%, #7a51e8 100%);
  border-radius: 18px;
}

.art-shape--ctrl-3 {
  right: 14%;
  top: 26%;
  width: 18%;
  height: 28%;
  background: linear-gradient(135deg, #d3c2ff 0%, #8762ff 100%);
  border-radius: 9999px;
}

.art-bolt {
  position: absolute;
  left: 35%;
  top: 14%;
  width: 30%;
  height: 78%;
  background: linear-gradient(135deg, #d9c8ff 0%, #864bff 100%);
  clip-path: polygon(40% 0, 100% 0, 60% 45%, 100% 45%, 0 100%, 35% 55%, 0 55%);
}

.art-orb {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(closest-side, #fff 0%, #c8b3ff 50%, #6e44d8 100%);
  box-shadow: 0 0 24px rgba(146, 92, 255, 0.55);
  left: 22%;
  top: 36%;
}

.art-orb--mid {
  left: 46%;
  width: 44px;
  height: 44px;
  top: 28%;
}

.art-orb--last {
  left: 68%;
  width: 36px;
  height: 36px;
}

.art-line {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(194, 168, 255, 0.6), transparent);
}

/* ---------- Top games ---------- */
.games-wrap {
  padding: 33px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(280px 260px at 9% 9%, rgba(194, 168, 255, 0.17), transparent 60%),
    radial-gradient(280px 280px at 84% 22%, rgba(146, 92, 255, 0.17), transparent 60%),
    linear-gradient(180deg, rgba(37, 36, 49, 0.86) 0%, rgba(23, 23, 31, 0.9) 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.games-wrap .section-title { margin-bottom: 18px; }

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 24px;
}

.game-card {
  display: flex;
  flex-direction: column;
  min-height: 416px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(194, 168, 255, 0.2);
  overflow: hidden;
  background: var(--surface-strong);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(194, 168, 255, 0.3);
}

.game-art {
  position: relative;
  flex: 1;
  min-height: 203px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(180px 160px at 50% 50%, rgba(120, 88, 255, 0.36), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 35%),
    linear-gradient(135deg, #302b43 0%, #14141b 100%);
}

.game-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 13, 18, 0) 42%, rgba(13, 13, 18, 0.8) 100%);
  pointer-events: none;
}

.game-art--b {
  background:
    radial-gradient(180px 160px at 50% 50%, rgba(168, 149, 255, 0.3), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 35%),
    linear-gradient(135deg, #2b2f39 0%, #111116 100%);
}

.game-art--c {
  background:
    radial-gradient(180px 160px at 50% 50%, rgba(203, 188, 255, 0.32), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 35%),
    linear-gradient(135deg, #383149 0%, #171720 100%);
}

.game-art--d {
  background:
    radial-gradient(180px 160px at 50% 50%, rgba(146, 92, 255, 0.42), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 35%),
    linear-gradient(135deg, #261b3e 0%, #15151d 100%);
}

.game-art--e {
  background:
    radial-gradient(180px 160px at 50% 50%, rgba(185, 163, 255, 0.34), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 35%),
    linear-gradient(135deg, #333049 0%, #121219 100%);
}

.game-art--f {
  background:
    radial-gradient(180px 160px at 50% 50%, rgba(215, 207, 255, 0.3), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 35%),
    linear-gradient(135deg, #2c2c38 0%, #151520 100%);
}

.game-logo {
  width: 118px;
  height: 118px;
  border-radius: 30px;
  transform: rotate(-3deg);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.24),
    0 0 34px rgba(194, 168, 255, 0.25);
  position: relative;
  z-index: 1;
  object-fit: cover;
}

.game-tag {
  position: absolute;
  left: 18px;
  bottom: 13px;
  padding: 10px 13px 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.26px;
  color: var(--ink-1);
  z-index: 1;
}

.game-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.game-title {
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.game-desc {
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1.58;
  flex: 1;
}

.game-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-1);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.game-cta span {
  color: var(--violet-100);
  font-weight: 900;
  font-size: 11px;
}

.game-cta:hover {
  background: rgba(146, 92, 255, 0.15);
  border-color: rgba(194, 168, 255, 0.5);
}

/* ---------- Genres ---------- */
.genres-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.genres-card {
  padding: 43px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(280px 260px at 9% 9%, rgba(194, 168, 255, 0.17), transparent 60%),
    linear-gradient(180deg, rgba(37, 36, 49, 0.86) 0%, rgba(23, 23, 31, 0.9) 100%);
  box-shadow: var(--shadow-lg);
}

.genres-lead {
  margin-top: 18px;
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1.7;
}

.genre-chips {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--ink-1);
  font-weight: 700;
  font-size: 14px;
}

.genres-arena {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(280px 220px at 30% 30%, rgba(146, 92, 255, 0.2), transparent 60%),
    radial-gradient(220px 220px at 80% 70%, rgba(194, 168, 255, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(28, 27, 38, 0.86) 0%, rgba(18, 18, 24, 0.92) 100%);
  box-shadow: var(--shadow-lg);
  min-height: 470px;
}

.arena-tile {
  position: absolute;
  width: 86px;
  height: 95px;
  border-radius: 22px;
  background: linear-gradient(145deg, #b6a0ff 0%, #5e36c9 100%);
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-1);
  box-shadow: 0 22px 38px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 30px rgba(146, 92, 255, 0.45);
  font-size: 18px;
}

.arena-tile--act  { top: 84px;  left: 52px; }
.arena-tile--race { top: 60px;  right: 64px; }
.arena-tile--sim  { bottom: 60px; left: 143px; }
.arena-tile--io   { bottom: 60px; right: 150px; }
.arena-tile--zk   {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 122px;
  height: 122px;
  border-radius: 28px;
  font-size: 36px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #d8c7ff 0%, #6c41d8 100%);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 0 50px rgba(146, 92, 255, 0.7);
}

/* ---------- Footer ---------- */
.footer { padding-top: 42px; padding-bottom: 42px; }

.footer-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(260px 260px at 9% 9%, rgba(194, 168, 255, 0.17), transparent 60%),
    radial-gradient(220px 220px at 90% 75%, rgba(146, 92, 255, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(37, 36, 49, 0.86) 0%, rgba(23, 23, 31, 0.9) 100%);
  box-shadow: var(--shadow-lg);
  padding: 47px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.85fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer-col p {
  margin-top: 18px;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.7;
  max-width: 286px;
}

.footer-col h4 {
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-1);
}

.footer-col ul {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.55;
}

.footer-col a {
  color: var(--ink-3);
  transition: color 0.18s ease;
}

.footer-col a:hover { color: var(--ink-1); }

.socials {
  margin-top: 18px;
  display: flex;
  gap: 12px;
}

.social {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-weight: 700;
  font-size: 16px;
  transition: background 0.18s ease, color 0.18s ease;
}

.social:hover {
  background: linear-gradient(135deg, var(--violet-200) 0%, var(--violet-400) 100%);
  color: #fff;
}

.footer-col--mark {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-pentagon {
  width: 148px;
  height: 148px;
  background: linear-gradient(145deg, #e8defe 0%, #9c75ff 55%, #4f30a0 100%);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  filter: drop-shadow(0 18px 28px rgba(146, 92, 255, 0.4));
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: var(--ink-3);
  font-size: 14px;
}

/* ---------- Legal pages ---------- */
.legal { width: 100%; max-width: var(--content); padding: 24px 24px 48px; }

.legal-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #14121c 0%, #100e16 100%);
  box-shadow: var(--shadow-lg);
}

.legal-head {
  position: relative;
  padding: 56px 56px 40px;
  background:
    radial-gradient(140% 120% at 90% 10%, rgba(146, 92, 255, 0.55) 0%, rgba(146, 92, 255, 0) 60%),
    radial-gradient(110% 90% at 20% 40%, rgba(124, 90, 221, 0.32) 0%, rgba(124, 90, 221, 0) 65%),
    linear-gradient(135deg, #2a1c54 0%, #1a1230 60%, #110d1c 100%);
}

.legal-title {
  margin: 0;
  font-size: clamp(40px, 7.2vw, 96px);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: var(--ink-1);
}

.legal-body {
  padding: 28px 56px 56px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.65;
}

.legal-body p { margin: 0 0 12px; }
.legal-body a { color: var(--violet-100); text-decoration: underline; }
.legal-body a:hover { color: var(--violet-50); }

.legal-meta { color: var(--ink-3); margin-bottom: 16px !important; }

.legal-h2 {
  margin: 22px 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-1);
  letter-spacing: 0.01em;
}

.legal-h3 {
  margin: 16px 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-1);
}

.legal-list {
  margin: 0 0 12px;
  padding-left: 22px;
  list-style: disc;
  color: var(--ink-2);
}

.legal-list li { margin: 4px 0; }
.legal-list li::marker { color: var(--violet-100); }

/* ---------- Cookies ---------- */
.cookies {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px 24px;
  background: rgba(34, 32, 44, 0.62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: opacity 0.35s ease;
}

.cookies.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.cookies-label {
  position: absolute;
  top: 18px;
  left: 24px;
  color: var(--ink-2);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.cookies-card {
  position: relative;
  width: 100%;
  max-width: 1180px;
  padding: 56px 64px 48px;
  border-radius: 28px;
  border: 1px solid rgba(146, 92, 255, 0.22);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(146, 92, 255, 0.18) 0%, rgba(146, 92, 255, 0) 55%),
    linear-gradient(180deg, #1a1726 0%, #100f17 100%);
  box-shadow: var(--shadow-lg);
  text-align: center;
  color: var(--ink-2);
}

.cookies-title {
  margin: 0;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--ink-1);
  text-shadow: 0 2px 24px rgba(146, 92, 255, 0.28);
}

.cookies-accent {
  display: block;
  width: 96px;
  height: 4px;
  margin: 14px auto 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(146, 92, 255, 0) 0%, var(--violet-100) 50%, rgba(146, 92, 255, 0) 100%);
  box-shadow: 0 0 18px rgba(194, 168, 255, 0.55);
}

.cookies-desc {
  max-width: 880px;
  margin: 0 auto 36px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-3);
}

.cookies-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}

.cookies-btn {
  width: 100%;
  padding: 20px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-1);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.cookies-btn--accept {
  background: linear-gradient(120deg, #d9bdff 0%, #9c63ff 55%, #6f3df0 100%);
  box-shadow: 0 18px 42px rgba(146, 92, 255, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.cookies-btn--accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 52px rgba(146, 92, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.cookies-btn--reject {
  background: rgba(20, 18, 28, 0.7);
  border-color: rgba(146, 92, 255, 0.28);
}

.cookies-btn--reject:hover {
  background: rgba(36, 30, 52, 0.85);
  border-color: rgba(194, 168, 255, 0.45);
}

.cookies-btn:focus-visible {
  outline: 2px solid var(--violet-100);
  outline-offset: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 480px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .games-grid { grid-template-columns: 1fr 1fr; }
  .genres-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--mark { grid-column: span 2; }
  .about-card { padding: 40px 32px; }
}

@media (max-width: 720px) {
  .section { padding: 32px 16px; }
  .header-margin { padding: 12px 12px 0; }
  .header { grid-template-columns: 1fr auto; padding: 10px 12px; }
  .nav { display: none; }
  .btn--play { padding: 10px 18px; min-width: 0; font-size: 13px; }
  .hero { padding-top: 40px; }
  .hero-title { font-size: 16vw; }
  .why-grid, .games-grid { grid-template-columns: 1fr; }
  .about-card { flex-direction: column; padding: 32px 24px; text-align: center; }
  .about-shield { width: 120px; height: 120px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col--mark { grid-column: span 1; }
  .emoji-ribbon { font-size: 16px; height: 76px; }
  .games-wrap { padding: 24px 18px; }
  .footer-card { padding: 28px; }
  .genres-card { padding: 28px; }
  .arena-tile { width: 64px; height: 70px; font-size: 14px; border-radius: 16px; }
  .arena-tile--zk { width: 96px; height: 96px; font-size: 28px; }
  .legal { padding: 12px 12px 32px; }
  .legal-head { padding: 36px 24px 28px; }
  .legal-body { padding: 20px 24px 36px; }
  .legal-title { font-size: 44px; }
  .cookies { padding: 56px 16px 16px; }
  .cookies-card { padding: 40px 24px 32px; border-radius: 22px; }
  .cookies-title { font-size: 32px; letter-spacing: 0.03em; }
  .cookies-desc { font-size: 14px; margin-bottom: 24px; }
  .cookies-btn { padding: 16px 22px; font-size: 15px; }
}
