:root {
  color-scheme: dark;
  --bg: #050612;
  --bg-deep: #080b22;
  --panel: rgba(11, 16, 42, 0.72);
  --panel-strong: rgba(14, 19, 49, 0.9);
  --line: rgba(130, 244, 255, 0.18);
  --line-strong: rgba(255, 74, 221, 0.48);
  --text: #f5f7ff;
  --muted: #b8c1df;
  --soft: #7d88b3;
  --cyan: #23f7ff;
  --blue: #3b7cff;
  --magenta: #ff38d1;
  --pink: #ff8ee8;
  --green: #61ffb3;
  --teal: #21d8c6;
  --violet: #7b4dff;
  --warning: #ffcf69;
  --radius: 8px;
  --shadow-cyan: 0 0 28px rgba(35, 247, 255, 0.28);
  --shadow-magenta: 0 0 30px rgba(255, 56, 209, 0.26);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(135deg, rgba(35, 247, 255, 0.06), transparent 28%),
    linear-gradient(230deg, rgba(255, 56, 209, 0.07), transparent 34%),
    linear-gradient(180deg, #050612 0%, #070a1d 44%, #04050f 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(35, 247, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 56, 209, 0.035) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 76%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 5%, rgba(35, 247, 255, 0.045) 5.2%, transparent 5.4%),
    linear-gradient(180deg, transparent 0 68%, rgba(97, 255, 179, 0.045) 68.3%, transparent 68.6%);
  background-size: 360px 260px;
  opacity: 0.65;
  animation: gridDrift 18s linear infinite;
  z-index: -1;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(35, 247, 255, 0.84);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  transform: translateY(-180%);
  z-index: 10000;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: #0b102a;
  color: var(--text);
  border: 1px solid var(--cyan);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(130, 244, 255, 0.14);
  background: rgba(5, 6, 18, 0.72);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  width: min(100% - 2rem, var(--max));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: 0.02em;
}

.brand__mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(8, 11, 34, 0.28);
  box-shadow: var(--shadow-cyan);
  overflow: hidden;
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__text {
  font-size: 1.2rem;
  background: linear-gradient(100deg, #f5f7ff, var(--cyan) 38%, var(--pink) 68%, var(--green));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 0 22px rgba(35, 247, 255, 0.25);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}

.site-nav__link {
  position: relative;
  padding: 0.7rem 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    color 180ms ease,
    text-shadow 180ms ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.35rem;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--green));
  box-shadow: 0 0 18px rgba(35, 247, 255, 0.65);
  transition: transform 220ms ease;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--text);
  text-shadow: 0 0 18px rgba(35, 247, 255, 0.48);
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(130, 244, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(11, 16, 42, 0.82);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(35, 247, 255, 0.72);
}

.btn {
  --btn-a: var(--cyan);
  --btn-b: var(--magenta);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.72rem 1.08rem;
  border: 1px solid rgba(35, 247, 255, 0.38);
  border-radius: 999px;
  color: var(--text);
  font-weight: 900;
  letter-spacing: 0.01em;
  isolation: isolate;
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: translateX(-120%);
  transition: transform 520ms ease;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn--primary {
  background:
    linear-gradient(100deg, rgba(35, 247, 255, 0.28), rgba(255, 56, 209, 0.3)),
    linear-gradient(90deg, var(--btn-a), var(--btn-b));
  border-color: transparent;
  box-shadow: 0 0 26px rgba(35, 247, 255, 0.25), 0 0 36px rgba(255, 56, 209, 0.2);
}

.btn--primary:hover {
  box-shadow: 0 0 34px rgba(35, 247, 255, 0.38), 0 0 42px rgba(255, 56, 209, 0.28);
}

.btn--ghost {
  background: rgba(11, 16, 42, 0.56);
  border-color: rgba(130, 244, 255, 0.3);
  box-shadow: inset 0 0 22px rgba(35, 247, 255, 0.05);
}

.btn--ghost:hover {
  border-color: rgba(35, 247, 255, 0.7);
  box-shadow: var(--shadow-cyan);
}

.btn--large {
  min-height: 52px;
  padding: 0.9rem 1.35rem;
  font-size: 1rem;
}

.btn--small {
  min-height: 40px;
  padding: 0.58rem 0.88rem;
  font-size: 0.88rem;
}

.btn--nav {
  margin-left: 0.45rem;
}

.hero {
  position: relative;
  min-height: 82svh;
  padding: 7.4rem 0 5.5rem;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -4;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 18, 0.95) 0%, rgba(5, 6, 18, 0.62) 42%, rgba(5, 6, 18, 0.16) 100%),
    linear-gradient(180deg, rgba(5, 6, 18, 0.4) 0%, rgba(5, 6, 18, 0.88) 100%);
}

.hero__particles,
.page-hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 24%, rgba(35, 247, 255, 0.85) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 35%, rgba(255, 56, 209, 0.72) 0 1px, transparent 2px),
    radial-gradient(circle at 44% 75%, rgba(97, 255, 179, 0.68) 0 1px, transparent 2px);
  background-size: 160px 160px, 220px 220px, 190px 190px;
  animation: particlesFloat 26s linear infinite;
  opacity: 0.75;
}

.hero__ribbon {
  position: absolute;
  width: 56%;
  height: 18rem;
  border-radius: 50%;
  filter: blur(36px);
  opacity: 0.24;
  pointer-events: none;
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--green));
  animation: ribbonMove 16s ease-in-out infinite alternate;
}

.hero__ribbon--one {
  right: -16%;
  top: 12%;
  transform: rotate(-12deg);
}

.hero__ribbon--two {
  left: 22%;
  bottom: 4%;
  height: 12rem;
  opacity: 0.14;
  animation-duration: 19s;
}

.hero__grid,
.game-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 3rem;
  align-items: center;
}

.hero__content,
.game-hero__copy {
  max-width: 670px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.85rem;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(97, 255, 179, 0.45);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  margin-bottom: 1.2rem;
  font-size: 4.35rem;
  letter-spacing: 0;
  text-shadow: 0 0 36px rgba(35, 247, 255, 0.22);
}

h2 {
  margin-bottom: 1rem;
  font-size: 2.55rem;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
}

p {
  color: var(--muted);
}

.hero p,
.page-hero p,
.game-hero p {
  max-width: 680px;
  font-size: 1.1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0 1.35rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero__trust span {
  border: 1px solid rgba(130, 244, 255, 0.22);
  border-radius: 999px;
  padding: 0.42rem 0.7rem;
  color: #e9ecff;
  background: rgba(11, 16, 42, 0.56);
  box-shadow: inset 0 0 16px rgba(35, 247, 255, 0.05);
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-visual {
  min-height: 540px;
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 4% 0 2% 4%;
  border: 1px solid rgba(130, 244, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(6, 9, 28, 0.24);
  box-shadow:
    inset 0 0 60px rgba(35, 247, 255, 0.07),
    0 0 70px rgba(255, 56, 209, 0.12);
  backdrop-filter: blur(7px);
}

.hero-visual__portal {
  position: absolute;
  width: 330px;
  height: 330px;
  right: 5%;
  top: 3%;
  border: 2px solid rgba(35, 247, 255, 0.62);
  border-radius: 50%;
  box-shadow:
    0 0 30px rgba(35, 247, 255, 0.42),
    inset 0 0 34px rgba(255, 56, 209, 0.2);
  animation: portalPulse 4.4s ease-in-out infinite;
}

.hero-visual__portal::before,
.hero-visual__portal::after {
  content: "";
  position: absolute;
  inset: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 56, 209, 0.55);
  transform: rotate(24deg);
}

.hero-visual__portal::after {
  inset: 84px;
  border-color: rgba(97, 255, 179, 0.52);
  transform: rotate(-36deg);
}

.hero-visual__fern {
  position: absolute;
  width: 220px;
  height: 280px;
  background:
    linear-gradient(72deg, transparent 0 45%, rgba(97, 255, 179, 0.72) 46% 48%, transparent 49%),
    repeating-linear-gradient(124deg, transparent 0 17px, rgba(35, 247, 255, 0.25) 18px 20px, transparent 21px 36px);
  filter: drop-shadow(0 0 16px rgba(97, 255, 179, 0.4));
  opacity: 0.58;
  mask-image: linear-gradient(to top, transparent, black 18%, black 78%, transparent);
  animation: fernFloat 7s ease-in-out infinite alternate;
}

.hero-visual__fern--one {
  right: -4%;
  bottom: 2%;
  transform: rotate(-18deg);
}

.hero-visual__fern--two {
  left: 0;
  top: 10%;
  transform: scale(0.72) rotate(18deg);
  opacity: 0.42;
  animation-duration: 8.5s;
}

.hero-visual__stack {
  position: absolute;
  inset: 0;
}

.mini-game {
  position: absolute;
  display: grid;
  grid-template-rows: 1fr auto;
  width: 260px;
  border: 1px solid rgba(130, 244, 255, 0.24);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(11, 16, 42, 0.82);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32), 0 0 34px rgba(35, 247, 255, 0.16);
  transform-style: preserve-3d;
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
  animation: panelFloat 7s ease-in-out infinite alternate;
}

.mini-game:hover {
  transform: translateY(-8px) rotate(0deg) scale(1.02);
  border-color: rgba(35, 247, 255, 0.76);
  box-shadow: var(--shadow-cyan), 0 18px 60px rgba(0, 0, 0, 0.42);
}

.mini-game img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.mini-game span {
  padding: 0.72rem 0.8rem;
  color: var(--text);
  font-weight: 900;
  background: rgba(5, 6, 18, 0.7);
}

.mini-game--1 {
  left: 5%;
  top: 10%;
  transform: rotate(-4deg);
}

.mini-game--2 {
  right: 1%;
  top: 28%;
  transform: rotate(5deg);
  animation-delay: 0.8s;
}

.mini-game--3 {
  left: 22%;
  bottom: 4%;
  transform: rotate(-2deg);
  animation-delay: 1.5s;
}

.section {
  position: relative;
  padding: 5.8rem 0;
}

.section--tight {
  padding: 4.4rem 0;
}

.section--promo {
  padding-block: 3rem;
}

.section-header {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.section-header h2 {
  position: relative;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 140px;
  height: 2px;
  margin-top: 0.9rem;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
  background-size: 220% 100%;
  box-shadow: 0 0 20px rgba(35, 247, 255, 0.55);
  animation: shimmerLine 4s linear infinite;
}

.section-header--center h2::after {
  margin-inline: auto;
}

.feature-grid,
.games-grid,
.faq-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-panel,
.info-panel,
.notice-panel,
.contact-panel,
.faq-tile,
.faq-item,
.legal-page,
.promo-banner,
.final-cta {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(35, 247, 255, 0.07), rgba(255, 56, 209, 0.055)),
    var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.feature-panel {
  padding: 1.35rem;
  min-height: 230px;
  overflow: hidden;
}

.feature-panel::before,
.notice-panel::before,
.info-panel::before,
.contact-panel::before,
.faq-tile::before,
.faq-item::before,
.legal-page::before,
.promo-banner::before,
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(35, 247, 255, 0.55), rgba(255, 56, 209, 0.34), rgba(97, 255, 179, 0.34));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.55;
}

.feature-panel__number {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--cyan);
  font-weight: 900;
  text-shadow: 0 0 18px rgba(35, 247, 255, 0.52);
}

.game-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(120deg, rgba(35, 247, 255, 0.7), rgba(255, 56, 209, 0.65), rgba(97, 255, 179, 0.56));
  background-size: 220% 220%;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.32);
  animation: borderFlow 8s ease infinite;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42), var(--shadow-cyan);
}

.game-card--magenta:hover {
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42), var(--shadow-magenta);
}

.game-card--green:hover {
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42), 0 0 34px rgba(97, 255, 179, 0.25);
}

.game-card__media,
.game-card__body {
  background: rgba(8, 11, 34, 0.94);
}

.game-card__media {
  position: relative;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

.game-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition:
    transform 500ms ease,
    filter 500ms ease;
}

.game-card:hover .game-card__media img {
  transform: scale(1.055);
  filter: saturate(1.13) contrast(1.08);
}

.game-card__label {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.35rem 0.58rem;
  background: rgba(5, 6, 18, 0.74);
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.game-card__body {
  min-height: 254px;
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
  border-radius: 0 0 var(--radius) var(--radius);
}

.game-card__body p {
  margin-bottom: 1.2rem;
}

.game-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
}

.game-card--compact .game-card__body {
  min-height: 218px;
}

.promo-banner {
  min-height: 260px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  overflow: hidden;
}

.promo-banner::after,
.final-cta::after {
  content: "";
  position: absolute;
  inset: auto -20% -58% 20%;
  height: 220px;
  background: linear-gradient(90deg, transparent, rgba(35, 247, 255, 0.18), rgba(255, 56, 209, 0.22), transparent);
  filter: blur(24px);
  transform: rotate(-5deg);
  animation: ribbonMove 10s ease-in-out infinite alternate;
  pointer-events: none;
}

.promo-banner > *,
.final-cta > * {
  position: relative;
  z-index: 1;
}

.split-block,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1rem;
  align-items: stretch;
}

.info-panel,
.notice-panel,
.contact-panel,
.legal-page {
  padding: 1.55rem;
}

.notice-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.check-list {
  display: grid;
  gap: 0.72rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 0 15px rgba(97, 255, 179, 0.45);
}

.faq-preview {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faq-tile,
.faq-item {
  padding: 1.25rem;
}

.faq-tile h3,
.faq-item h2 {
  font-size: 1.05rem;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 1.35rem;
}

.final-cta {
  padding: 2.5rem;
  text-align: center;
  overflow: hidden;
}

.final-cta p {
  max-width: 650px;
  margin-inline: auto;
}

.page-hero,
.game-hero {
  position: relative;
  padding: 6.5rem 0 4.5rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(35, 247, 255, 0.1), transparent 32%),
    linear-gradient(230deg, rgba(255, 56, 209, 0.13), transparent 38%),
    rgba(5, 6, 18, 0.86);
}

.page-hero::after,
.game-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
  box-shadow: 0 0 18px rgba(35, 247, 255, 0.65);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero--full {
  min-height: 62vh;
  display: grid;
  place-items: center;
}

.game-hero {
  padding-top: 5rem;
}

.game-hero__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 1px;
  background: linear-gradient(120deg, rgba(35, 247, 255, 0.76), rgba(255, 56, 209, 0.58), rgba(97, 255, 179, 0.46));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42), var(--shadow-cyan);
}

.game-hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.back-link {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--cyan);
  font-weight: 900;
}

.back-link:hover {
  text-shadow: 0 0 16px rgba(35, 247, 255, 0.72);
}

.section--game-frame {
  padding-top: 4rem;
}

.iframe-shell {
  position: relative;
  height: 760px;
  min-height: 680px;
  overflow: hidden;
  border: 1px solid rgba(35, 247, 255, 0.48);
  border-radius: var(--radius);
  background: #050612;
  box-shadow:
    0 0 34px rgba(35, 247, 255, 0.24),
    0 0 55px rgba(255, 56, 209, 0.16),
    inset 0 0 38px rgba(35, 247, 255, 0.08);
  animation: iframePulse 4.5s ease-in-out infinite;
}

.iframe-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #050612;
}

.legal-page {
  max-width: 880px;
}

.legal-page h2 {
  margin-top: 2rem;
  font-size: 1.45rem;
}

.legal-page h2:first-child {
  margin-top: 0;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--text);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(130, 244, 255, 0.18);
  border-radius: var(--radius);
  padding: 0.82rem 0.92rem;
  background: rgba(5, 6, 18, 0.64);
  color: var(--text);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(35, 247, 255, 0.72);
  box-shadow: var(--shadow-cyan);
  background: rgba(5, 6, 18, 0.88);
}

.form-status {
  margin-bottom: 0;
  color: var(--green);
  font-weight: 800;
}

.site-footer {
  position: relative;
  padding: 4rem 0 1.2rem;
  border-top: 1px solid rgba(130, 244, 255, 0.16);
  background: rgba(3, 4, 14, 0.94);
  overflow: hidden;
}

.site-footer__glow {
  position: absolute;
  inset: -40% 12% auto 12%;
  height: 210px;
  background: linear-gradient(90deg, transparent, rgba(35, 247, 255, 0.15), rgba(255, 56, 209, 0.12), transparent);
  filter: blur(30px);
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(160px, 0.45fr) minmax(200px, 0.55fr);
  gap: 2rem;
}

.site-footer__brand p {
  max-width: 520px;
}

.site-footer__note {
  color: var(--green);
  font-weight: 900;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.site-footer nav h2 {
  margin-bottom: 0.45rem;
  font-size: 1rem;
  color: var(--text);
}

.site-footer nav a {
  color: var(--muted);
  font-weight: 700;
}

.site-footer nav a:hover {
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(35, 247, 255, 0.45);
}

.site-footer__bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(130, 244, 255, 0.14);
  color: var(--soft);
  font-size: 0.9rem;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(35, 247, 255, 0.16), transparent 35%),
    linear-gradient(230deg, rgba(255, 56, 209, 0.16), transparent 38%),
    rgba(2, 3, 12, 0.88);
  backdrop-filter: blur(18px);
  animation: fadeIn 220ms ease both;
}

.age-gate__panel {
  width: min(100%, 560px);
  padding: 2rem;
  border: 1px solid rgba(130, 244, 255, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(35, 247, 255, 0.11), rgba(255, 56, 209, 0.1)),
    rgba(9, 12, 34, 0.88);
  box-shadow: var(--shadow-cyan), var(--shadow-magenta), 0 26px 80px rgba(0, 0, 0, 0.48);
  text-align: center;
  animation: gateScale 260ms ease both;
}

.age-gate__badge {
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 1rem;
  border: 1px solid rgba(35, 247, 255, 0.72);
  border-radius: 50%;
  color: var(--text);
  font-weight: 1000;
  font-size: 1.45rem;
  box-shadow: inset 0 0 18px rgba(35, 247, 255, 0.18), var(--shadow-cyan);
}

.age-gate__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.cookie-banner {
  position: fixed;
  z-index: 900;
  left: 50%;
  bottom: 1rem;
  width: min(100% - 2rem, 980px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(130, 244, 255, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(35, 247, 255, 0.12), rgba(255, 56, 209, 0.1)),
    rgba(9, 12, 34, 0.88);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45), var(--shadow-cyan);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  animation: cookieSlide 320ms ease both;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 0.2rem;
}

.cookie-banner p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, -1%, 0);
  }
}

@keyframes particlesFloat {
  from {
    background-position: 0 0, 0 0, 0 0;
  }
  to {
    background-position: 160px 180px, -220px 180px, 190px -170px;
  }
}

@keyframes ribbonMove {
  from {
    transform: translate3d(0, 0, 0) rotate(-8deg);
  }
  to {
    transform: translate3d(-4%, 8%, 0) rotate(8deg);
  }
}

@keyframes portalPulse {
  0%,
  100% {
    box-shadow:
      0 0 30px rgba(35, 247, 255, 0.36),
      inset 0 0 34px rgba(255, 56, 209, 0.18);
  }
  50% {
    box-shadow:
      0 0 56px rgba(35, 247, 255, 0.5),
      0 0 70px rgba(255, 56, 209, 0.22),
      inset 0 0 44px rgba(255, 56, 209, 0.26);
  }
}

@keyframes fernFloat {
  from {
    translate: 0 0;
  }
  to {
    translate: 0 -18px;
  }
}

@keyframes panelFloat {
  from {
    translate: 0 0;
  }
  to {
    translate: 0 -12px;
  }
}

@keyframes borderFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes shimmerLine {
  from {
    background-position: 220% 0;
  }
  to {
    background-position: -220% 0;
  }
}

@keyframes iframePulse {
  0%,
  100% {
    border-color: rgba(35, 247, 255, 0.44);
    box-shadow:
      0 0 34px rgba(35, 247, 255, 0.2),
      0 0 55px rgba(255, 56, 209, 0.12),
      inset 0 0 38px rgba(35, 247, 255, 0.07);
  }
  50% {
    border-color: rgba(255, 56, 209, 0.52);
    box-shadow:
      0 0 42px rgba(35, 247, 255, 0.28),
      0 0 72px rgba(255, 56, 209, 0.2),
      inset 0 0 44px rgba(35, 247, 255, 0.1);
  }
}

@keyframes cookieSlide {
  from {
    opacity: 0;
    transform: translate(-50%, 28px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes gateScale {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 360px 0, 0 260px;
  }
}

@media (max-width: 1060px) {
  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero__grid,
  .game-hero__grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 500px;
  }

  .feature-grid,
  .games-grid,
  .faq-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .site-header__inner {
    min-height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.6rem);
    display: grid;
    gap: 0.2rem;
    padding: 0.8rem;
    border: 1px solid rgba(130, 244, 255, 0.2);
    border-radius: var(--radius);
    background: rgba(8, 11, 34, 0.96);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45), var(--shadow-cyan);
    backdrop-filter: blur(18px);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav__link,
  .btn--nav {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }

  .hero,
  .page-hero,
  .game-hero {
    padding-top: 5rem;
  }

  .hero-visual {
    min-height: 450px;
  }

  .mini-game {
    width: 220px;
  }

  .split-block,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .promo-banner {
    display: grid;
  }

  .iframe-shell {
    height: 640px;
    min-height: 560px;
  }

  .cookie-banner {
    display: grid;
  }

  .cookie-banner__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .container,
  .site-header__inner {
    width: min(100% - 1.1rem, var(--max));
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  h3 {
    font-size: 1.12rem;
  }

  .hero p,
  .page-hero p,
  .game-hero p {
    font-size: 1rem;
  }

  .brand__text {
    font-size: 1.05rem;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 3.8rem;
  }

  .hero__actions,
  .age-gate__actions,
  .game-card__actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero__trust span {
    font-size: 0.78rem;
  }

  .hero-visual {
    min-height: 430px;
    margin-inline: -0.25rem;
  }

  .hero-visual__portal {
    width: 230px;
    height: 230px;
    right: -7%;
    top: 1%;
  }

  .hero-visual__fern {
    width: 170px;
    height: 220px;
  }

  .mini-game {
    width: 184px;
  }

  .mini-game--1 {
    left: 0;
    top: 8%;
  }

  .mini-game--2 {
    right: -2%;
    top: 34%;
  }

  .mini-game--3 {
    left: 14%;
    bottom: 2%;
  }

  .section {
    padding: 4rem 0;
  }

  .section--tight {
    padding: 3.2rem 0;
  }

  .feature-grid,
  .games-grid,
  .faq-preview {
    grid-template-columns: 1fr;
  }

  .feature-panel,
  .info-panel,
  .notice-panel,
  .contact-panel,
  .faq-tile,
  .faq-item,
  .legal-page,
  .promo-banner,
  .final-cta,
  .age-gate__panel {
    padding: 1.15rem;
  }

  .game-card__body {
    min-height: auto;
  }

  .iframe-shell {
    height: 560px;
    min-height: 500px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
