:root {
  --pearl: #fffdf8;
  --ivory: #fff8e8;
  --champagne: #f8e7b8;
  --gold: #ffd84d;
  --ruby: #d91f4f;
  --purple: #6e35d8;
  --violet: #9d4dff;
  --emerald: #13a86b;
  --blue: #2176ff;
  --pink: #ff4fb8;
  --orange: #ff8a2a;
  --lavender: #eee8ff;
  --ice: #e9f6ff;
  --sand: #f3dcc3;
  --ink: #252238;
  --muted: #625d72;
  --line: rgba(111, 69, 216, 0.18);
  --glass: rgba(255, 255, 255, 0.74);
  --shadow: 0 22px 60px rgba(90, 48, 160, 0.16);
  --soft-shadow: 0 12px 34px rgba(90, 48, 160, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Poppins", "Inter", system-ui, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(255, 253, 248, 0.94), rgba(233, 246, 255, 0.72)),
    linear-gradient(128deg, rgba(255, 216, 77, 0.18), transparent 34%, rgba(33, 118, 255, 0.1) 68%, transparent),
    linear-gradient(68deg, transparent 8%, rgba(255, 79, 184, 0.12) 28%, transparent 52%, rgba(19, 168, 107, 0.1) 78%, transparent),
    linear-gradient(180deg, var(--pearl), #fff9f1 44%, #f7fbff);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(120deg, rgba(110, 53, 216, 0.07) 1px, transparent 1px),
    linear-gradient(30deg, rgba(255, 138, 42, 0.06) 1px, transparent 1px);
  background-size: 68px 68px, 94px 94px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.12));
}

body.nav-open,
body.age-locked {
  overflow: hidden;
}

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

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

p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0;
  padding-left: 1.25rem;
}

li {
  color: var(--muted);
  line-height: 1.75;
  margin: 0.35rem 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-family: "Bungee", "Poppins", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.08;
}

h1 {
  font-size: 3.4rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.28rem;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 4000;
  padding: 0.8rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 248, 0.8);
  border-bottom: 1px solid rgba(110, 53, 216, 0.14);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 2rem));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  font-family: "Bungee", "Poppins", system-ui, sans-serif;
  font-size: 1.2rem;
  color: var(--ink);
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: cover;
  background: var(--ivory);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(110, 53, 216, 0.22), inset 0 0 14px rgba(255, 255, 255, 0.45);
}

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

.site-nav a {
  position: relative;
  padding: 0.7rem 0.82rem;
  color: #3a334e;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0.82rem;
  right: 0.82rem;
  bottom: 0.42rem;
  height: 3px;
  background: linear-gradient(90deg, var(--ruby), var(--gold), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
  border-radius: 999px;
}

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

.site-nav a.active {
  color: var(--purple);
  background: rgba(255, 255, 255, 0.64);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 4px;
  transition: transform 220ms ease, opacity 220ms ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.08rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

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

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--ruby), var(--pink), var(--purple));
  box-shadow: 0 14px 30px rgba(217, 31, 79, 0.24), 0 0 0 4px rgba(255, 216, 77, 0.14);
  animation: ctaPulse 3.8s ease-in-out infinite;
}

.btn-secondary {
  color: var(--purple);
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(110, 53, 216, 0.18);
  box-shadow: 0 10px 28px rgba(33, 118, 255, 0.1);
}

.btn-gold {
  color: #392500;
  background: linear-gradient(135deg, #ffe58a, var(--gold), #ff9e36);
  box-shadow: 0 16px 30px rgba(255, 138, 42, 0.22);
}

.btn-small {
  min-height: 40px;
  padding: 0.62rem 0.9rem;
  font-size: 0.92rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.mt-2 {
  margin-top: 1.2rem;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0;
}

.section.compact {
  padding: 3.8rem 0;
}

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

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 0.9rem;
}

.section-heading h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--pink), var(--blue), transparent);
  background-size: 220% 100%;
  animation: shimmerLine 4.5s linear infinite;
  border-radius: 999px;
}

.eyebrow,
.label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.62rem;
  border: 1px solid rgba(110, 53, 216, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--purple);
  font-weight: 800;
  font-size: 0.82rem;
}

.hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  border-bottom: 1px solid rgba(110, 53, 216, 0.12);
  background:
    linear-gradient(120deg, rgba(255, 253, 248, 0.9), rgba(233, 246, 255, 0.72)),
    linear-gradient(35deg, rgba(255, 216, 77, 0.22), transparent 36%, rgba(157, 77, 255, 0.16) 64%, rgba(33, 118, 255, 0.12));
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: -24% -10%;
  z-index: 0;
  background:
    linear-gradient(110deg, transparent 4%, rgba(255, 79, 184, 0.16) 18%, transparent 34%),
    linear-gradient(72deg, transparent 12%, rgba(19, 168, 107, 0.14) 28%, transparent 44%),
    linear-gradient(128deg, transparent 30%, rgba(255, 216, 77, 0.2) 46%, transparent 62%),
    linear-gradient(92deg, transparent 48%, rgba(33, 118, 255, 0.13) 67%, transparent 82%);
  filter: blur(10px);
  transform: translate3d(0, 0, 0);
  animation: auroraSweep 14s ease-in-out infinite alternate;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(circle at 20% 24%, rgba(110, 53, 216, 0.08) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 48%, rgba(255, 138, 42, 0.12) 0 2px, transparent 3px),
    radial-gradient(circle at 54% 78%, rgba(33, 118, 255, 0.1) 0 2px, transparent 3px);
  background-size: 86px 86px, 128px 128px, 104px 104px;
  animation: particleDrift 18s linear infinite;
  opacity: 0.7;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  min-height: 700px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 4.4rem 0;
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 870px;
  margin: 0 auto;
}

.hero-copy h1 {
  margin: 1rem 0 1rem;
}

.hero-copy p {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.08rem;
}

.hero-copy .btn-row {
  justify-content: center;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: auto;
  perspective: 1000px;
  pointer-events: none;
}

.hero-prism {
  position: absolute;
  inset: 15% 12% 8%;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.58), rgba(238, 232, 255, 0.28)),
    linear-gradient(35deg, rgba(255, 216, 77, 0.18), rgba(33, 118, 255, 0.12), rgba(255, 79, 184, 0.14));
  box-shadow: var(--shadow), inset 0 0 42px rgba(255, 255, 255, 0.64);
  transform: rotateX(8deg) rotateY(-10deg);
  animation: slowParallax 9s ease-in-out infinite alternate;
}

.hero-prism::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 8px;
  border: 1px solid rgba(110, 53, 216, 0.16);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.58), transparent 18% 82%, rgba(255, 255, 255, 0.58)),
    repeating-linear-gradient(90deg, transparent 0 26px, rgba(110, 53, 216, 0.08) 27px 28px),
    repeating-linear-gradient(0deg, transparent 0 26px, rgba(255, 138, 42, 0.07) 27px 28px);
}

.hero-ribbon {
  position: absolute;
  height: 90px;
  width: 76%;
  left: 12%;
  top: 54%;
  border-radius: 8px;
  background: linear-gradient(90deg, transparent, rgba(255, 216, 77, 0.52), rgba(255, 79, 184, 0.32), rgba(33, 118, 255, 0.3), transparent);
  filter: blur(4px);
  transform: rotate(-18deg);
  animation: ribbonFloat 8s ease-in-out infinite alternate;
}

.floating-panel {
  position: absolute;
  width: 34%;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 18px 48px rgba(78, 45, 154, 0.22), 0 0 0 5px rgba(255, 216, 77, 0.12);
  transform: translate3d(0, 0, 0);
  animation: panelFloat 6.8s ease-in-out infinite alternate;
}

.floating-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.floating-panel.one {
  right: 2%;
  top: 8%;
}

.floating-panel.two {
  left: 2%;
  top: 36%;
  width: 30%;
  animation-delay: -1.8s;
}

.floating-panel.three {
  right: 12%;
  bottom: 4%;
  width: 32%;
  animation-delay: -3s;
}

.hero-facet {
  position: absolute;
  width: 92px;
  height: 92px;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  background: linear-gradient(135deg, rgba(255, 216, 77, 0.82), rgba(255, 79, 184, 0.48), rgba(33, 118, 255, 0.42));
  border: 1px solid rgba(255, 255, 255, 0.8);
  filter: drop-shadow(0 16px 24px rgba(110, 53, 216, 0.18));
  animation: facetFloat 7s ease-in-out infinite alternate;
}

.hero-facet.a {
  left: 10%;
  top: 11%;
}

.hero-facet.b {
  right: 8%;
  bottom: 24%;
  width: 66px;
  height: 66px;
  animation-delay: -2s;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
  background:
    linear-gradient(115deg, rgba(255, 253, 248, 0.92), rgba(238, 232, 255, 0.72)),
    linear-gradient(45deg, rgba(255, 216, 77, 0.18), transparent 44%, rgba(33, 118, 255, 0.12));
  border-bottom: 1px solid rgba(110, 53, 216, 0.12);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  max-width: 850px;
}

.page-hero h1 {
  margin: 1rem 0 1rem;
}

.page-hero p {
  font-size: 1.04rem;
  max-width: 760px;
}

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

.feature-item,
.info-item,
.legal-box,
.contact-panel,
.detail-note,
.stat-strip,
.feature-list-item {
  position: relative;
  border: 1px solid rgba(110, 53, 216, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(14px);
}

.feature-item,
.info-item,
.legal-box,
.contact-panel,
.detail-note,
.feature-list-item {
  padding: 1.25rem;
}

.feature-item::before,
.info-item::before,
.legal-box::before,
.contact-panel::before,
.feature-list-item::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 216, 77, 0.16), transparent 42%, rgba(33, 118, 255, 0.1));
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--ruby), var(--purple), var(--blue));
  box-shadow: 0 10px 24px rgba(110, 53, 216, 0.2);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(110, 53, 216, 0.14);
  box-shadow: var(--soft-shadow);
  transform: translate3d(0, 0, 0);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 216, 77, 0.9), rgba(255, 79, 184, 0.68), rgba(33, 118, 255, 0.72), rgba(19, 168, 107, 0.62));
  background-size: 250% 250%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.75;
  animation: borderFlow 6s ease-in-out infinite;
}

.game-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 79, 184, 0.32);
  box-shadow: 0 24px 62px rgba(110, 53, 216, 0.2), 0 0 0 5px rgba(255, 216, 77, 0.13);
}

.game-cover {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ivory), var(--ice));
}

.game-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
}

.game-card:hover .game-cover img {
  transform: scale(1.045);
  filter: saturate(1.08) brightness(1.04);
}

.game-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.82rem;
  flex: 1;
  padding: 1.1rem;
}

.game-body p {
  margin-bottom: 0;
}

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

.promo-band {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  padding: 2.2rem;
  min-height: 260px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.8), rgba(238, 232, 255, 0.68)),
    linear-gradient(45deg, rgba(255, 216, 77, 0.34), rgba(255, 79, 184, 0.22), rgba(33, 118, 255, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.promo-band::before {
  content: "";
  position: absolute;
  inset: -45% -10%;
  background:
    linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.54), transparent),
    linear-gradient(70deg, transparent, rgba(255, 216, 77, 0.4), rgba(255, 79, 184, 0.24), transparent);
  transform: translateX(-45%);
  animation: promoGlow 8s ease-in-out infinite;
}

.promo-band::after {
  content: "";
  position: absolute;
  right: 2rem;
  top: 50%;
  width: 210px;
  height: 210px;
  transform: translateY(-50%) rotate(45deg);
  border-radius: 8px;
  border: 1px solid rgba(110, 53, 216, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 216, 77, 0.16)),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(110, 53, 216, 0.08) 19px 20px);
}

.promo-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.free-band {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 248, 232, 0.78)),
    linear-gradient(120deg, rgba(19, 168, 107, 0.12), rgba(255, 216, 77, 0.18), rgba(255, 79, 184, 0.12));
  border-block: 1px solid rgba(110, 53, 216, 0.1);
}

.free-band-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 2rem;
  align-items: center;
}

.stat-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  padding: 1rem;
}

.stat-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 0.9rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(110, 53, 216, 0.12);
}

.stat-pill strong {
  color: var(--purple);
}

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

.faq-item {
  border: 1px solid rgba(110, 53, 216, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--soft-shadow);
}

.faq-question {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-weight: 800;
}

.faq-question span {
  flex: 1;
}

.faq-question::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ruby), var(--purple));
}

.faq-item.open .faq-question::after {
  content: "-";
}

.faq-answer {
  display: none;
  padding: 0 1.1rem 1.1rem;
}

.faq-item.open .faq-answer {
  display: block;
}

.final-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 4rem 1.5rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(233, 246, 255, 0.66)),
    linear-gradient(90deg, rgba(217, 31, 79, 0.12), rgba(255, 216, 77, 0.2), rgba(33, 118, 255, 0.14));
  border-top: 1px solid rgba(110, 53, 216, 0.12);
}

.final-cta p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta .btn-row {
  justify-content: center;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem;
}

.iframe-shell {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  padding: 0.72rem;
  background:
    linear-gradient(140deg, rgba(32, 20, 63, 0.96), rgba(84, 35, 154, 0.88)),
    linear-gradient(45deg, rgba(255, 216, 77, 0.24), rgba(33, 118, 255, 0.22));
  border: 1px solid rgba(255, 216, 77, 0.36);
  box-shadow: 0 24px 70px rgba(70, 32, 128, 0.28), 0 0 0 6px rgba(255, 216, 77, 0.12);
  animation: iframePulse 4.8s ease-in-out infinite;
}

.iframe-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: translateX(-100%);
  animation: iframeSweep 7s ease-in-out infinite;
}

.game-frame {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  min-height: 760px;
  height: 78vh;
  border: 0;
  border-radius: 8px;
  background: #160f2a;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.58fr);
  gap: 1.1rem;
}

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

.notice-strip {
  padding: 1rem;
  border: 1px solid rgba(217, 31, 79, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 235, 245, 0.8));
  color: #613145;
  font-weight: 700;
}

.text-page {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4.5rem 0;
}

.text-page h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.7rem;
  font-size: 1.6rem;
}

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

.text-page .legal-box + .legal-box {
  margin-top: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.5fr);
  gap: 1.1rem;
}

.link-list {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  list-style: none;
}

.link-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 48px;
  padding: 0.8rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(110, 53, 216, 0.14);
  background: rgba(255, 255, 255, 0.68);
  font-weight: 800;
  color: var(--purple);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.link-list a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(110, 53, 216, 0.13);
}

.link-list a::after {
  content: ">";
}

.site-footer {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(255, 248, 232, 0.88)),
    linear-gradient(120deg, rgba(110, 53, 216, 0.1), rgba(255, 216, 77, 0.14));
  border-top: 1px solid rgba(110, 53, 216, 0.14);
}

.footer-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 2rem;
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(2, minmax(180px, 0.6fr));
  gap: 2rem;
}

.footer-brand p {
  max-width: 520px;
}

.footer-nav {
  display: grid;
  gap: 0.55rem;
}

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

.footer-nav a:hover,
.footer-nav a.active {
  color: var(--purple);
}

.footer-title {
  margin-bottom: 0.8rem;
  font-weight: 900;
  color: var(--ink);
}

.footer-bottom {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 2rem;
  border-top: 1px solid rgba(110, 53, 216, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 1800;
  width: min(920px, calc(100% - 2rem));
  transform: translate(-50%, 130%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 54px rgba(70, 32, 128, 0.2);
  backdrop-filter: blur(18px);
  animation: cookieSlide 520ms ease forwards;
}

.cookie-banner p {
  margin: 0;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.age-overlay {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    linear-gradient(115deg, rgba(255, 253, 248, 0.84), rgba(238, 232, 255, 0.78)),
    linear-gradient(40deg, rgba(255, 216, 77, 0.28), rgba(255, 79, 184, 0.18), rgba(33, 118, 255, 0.16));
  backdrop-filter: blur(20px);
  animation: ageFade 260ms ease both;
}

.age-box {
  position: relative;
  width: min(560px, 100%);
  overflow: hidden;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 248, 232, 0.74)),
    linear-gradient(45deg, rgba(255, 216, 77, 0.25), rgba(255, 79, 184, 0.12), rgba(33, 118, 255, 0.14));
  box-shadow: 0 26px 80px rgba(70, 32, 128, 0.24);
  animation: ageScale 320ms ease both;
}

.age-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.46), transparent);
  transform: translateX(-100%);
  animation: ageSheen 5.4s ease-in-out infinite;
}

.age-box > * {
  position: relative;
  z-index: 1;
}

.age-badge {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 8px;
  color: #fff;
  font-family: "Bungee", "Poppins", system-ui, sans-serif;
  background: linear-gradient(135deg, var(--ruby), var(--purple), var(--blue));
  box-shadow: 0 16px 34px rgba(110, 53, 216, 0.24);
}

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

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

@keyframes ctaPulse {
  0%,
  100% {
    box-shadow: 0 14px 30px rgba(217, 31, 79, 0.24), 0 0 0 4px rgba(255, 216, 77, 0.12);
  }
  50% {
    box-shadow: 0 18px 42px rgba(157, 77, 255, 0.28), 0 0 0 7px rgba(255, 216, 77, 0.2);
  }
}

@keyframes auroraSweep {
  0% {
    transform: translateX(-4%) rotate(-1deg);
  }
  100% {
    transform: translateX(5%) rotate(2deg);
  }
}

@keyframes particleDrift {
  from {
    background-position: 0 0, 0 0, 0 0;
  }
  to {
    background-position: 86px 44px, -128px 72px, 104px -52px;
  }
}

@keyframes slowParallax {
  from {
    transform: rotateX(8deg) rotateY(-10deg) translateY(0);
  }
  to {
    transform: rotateX(5deg) rotateY(-6deg) translateY(-14px);
  }
}

@keyframes ribbonFloat {
  from {
    transform: rotate(-18deg) translateX(-12px);
  }
  to {
    transform: rotate(-13deg) translateX(16px);
  }
}

@keyframes panelFloat {
  from {
    transform: translateY(0) rotate(-1deg);
  }
  to {
    transform: translateY(-15px) rotate(1.2deg);
  }
}

@keyframes facetFloat {
  from {
    transform: translateY(0) rotate(0deg);
  }
  to {
    transform: translateY(-18px) rotate(16deg);
  }
}

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

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

@keyframes promoGlow {
  0%,
  100% {
    transform: translateX(-45%) rotate(0deg);
  }
  50% {
    transform: translateX(35%) rotate(3deg);
  }
}

@keyframes iframePulse {
  0%,
  100% {
    box-shadow: 0 24px 70px rgba(70, 32, 128, 0.28), 0 0 0 6px rgba(255, 216, 77, 0.1);
  }
  50% {
    box-shadow: 0 28px 82px rgba(110, 53, 216, 0.33), 0 0 0 8px rgba(33, 118, 255, 0.12);
  }
}

@keyframes iframeSweep {
  0%,
  45% {
    transform: translateX(-100%);
  }
  70%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes cookieSlide {
  to {
    transform: translate(-50%, 0);
  }
}

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

@keyframes ageScale {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes ageSheen {
  0%,
  42% {
    transform: translateX(-100%);
  }
  68%,
  100% {
    transform: translateX(100%);
  }
}

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

  h2 {
    font-size: 1.95rem;
  }

  .header-inner {
    min-height: 70px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    left: 1rem;
    right: 1rem;
    top: 78px;
    display: grid;
    gap: 0.2rem;
    padding: 1rem;
    border: 1px solid rgba(110, 53, 216, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.nav-open .site-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .header-actions .btn {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: 660px;
    padding: 3.6rem 0;
  }

  .hero-visual {
    inset: 0;
  }

  .floating-panel.one {
    width: 38%;
  }

  .floating-panel.two {
    width: 34%;
  }

  .floating-panel.three {
    width: 36%;
  }

  .feature-grid,
  .info-grid,
  .game-grid,
  .related-grid,
  .detail-grid,
  .contact-grid,
  .free-band-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    gap: 1.4rem;
  }

  .game-frame {
    min-height: 640px;
    height: 74vh;
  }
}

@media (max-width: 640px) {
  body {
    background-size: auto;
  }

  h1 {
    font-size: 2.18rem;
  }

  h2 {
    font-size: 1.62rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .page-hero {
    padding: 3.4rem 0 3rem;
  }

  .brand {
    font-size: 1rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

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

  .hero-visual {
    inset: 0;
  }

  .floating-panel.one {
    width: 52%;
    right: -18%;
    top: 7%;
    opacity: 0.78;
  }

  .floating-panel.two {
    width: 46%;
    left: -18%;
    top: 46%;
    opacity: 0.72;
  }

  .floating-panel.three {
    width: 50%;
    right: -14%;
    bottom: 7%;
    opacity: 0.7;
  }

  .hero-prism {
    inset: 16% -8% 8%;
  }

  .promo-band {
    padding: 1.35rem;
  }

  .promo-band::after {
    width: 150px;
    height: 150px;
    right: -2rem;
    opacity: 0.55;
  }

  .btn-row,
  .game-actions,
  .cookie-actions {
    width: 100%;
  }

  .btn,
  .game-actions .btn {
    width: 100%;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .game-frame {
    min-height: 540px;
    height: 72vh;
  }

  .age-box {
    padding: 1.4rem;
  }
}

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

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