:root {
  color-scheme: dark;
  --bg: #050507;
  --panel: rgba(15, 15, 19, 0.82);
  --panel-strong: rgba(23, 23, 29, 0.94);
  --line: rgba(255, 179, 196, 0.24);
  --text: #fff2f5;
  --muted: #dcb8c0;
  --pink: #ff97b5;
  --pink-strong: #ff7ca4;
  --shadow: rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  background:
    radial-gradient(circle at top, rgba(255, 145, 175, 0.14), transparent 34%),
    radial-gradient(circle at bottom right, rgba(255, 175, 205, 0.08), transparent 28%),
    linear-gradient(180deg, #050507 0%, #09090d 48%, #040406 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.06) 0.5px, transparent 0.5px);
  background-size: 16px 16px;
  opacity: 0.25;
  pointer-events: none;
}

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

.site-header,
.site-footer,
.page-shell {
  position: relative;
  z-index: 1;
}

.site-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 0;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink);
}

.site-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
}

.site-nav a:hover,
.inline-link:hover,
.footer-links a:hover {
  color: var(--pink);
}

.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  gap: 24px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 22px 60px var(--shadow);
  backdrop-filter: blur(14px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: center;
  padding: 36px;
}

.hero-copy h1,
.section-heading h2,
.split-panel h2,
.legal-panel h1 {
  margin: 0;
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.hero-copy h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.85rem;
}

.lead,
.hero-copy p,
.game-card p,
.split-panel p,
.legal-panel p,
.legal-panel li {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.actions,
.game-links,
.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.actions {
  margin-top: 26px;
}

.button,
.inline-link {
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.button:hover,
.inline-link:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-strong) 100%);
  color: #19070d;
  font-weight: bold;
}

.hero-art {
  display: flex;
  justify-content: center;
}

.logo-image {
  width: min(100%, 430px);
  border-radius: 28px;
  border: 1px solid rgba(255, 151, 181, 0.18);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.42);
}

.section-heading,
.split-panel,
.legal-panel {
  padding: 32px 36px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 0 36px 36px;
}

.game-card,
.info-card {
  padding: 24px;
  border-radius: 22px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
}

.muted-card {
  background: rgba(255, 255, 255, 0.03);
}

.game-card h3,
.info-card h3,
.legal-panel h2 {
  margin-top: 0;
}

.game-badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 151, 181, 0.14);
  border: 1px solid rgba(255, 151, 181, 0.24);
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px;
}

.info-stack {
  display: grid;
  gap: 18px;
}

.legal-panel {
  max-width: 900px;
  margin: 0 auto;
}

.legal-meta {
  margin-top: 12px;
  margin-bottom: 28px;
  color: var(--pink);
}

.support-list {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

.site-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 36px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}

.petal {
  position: fixed;
  z-index: 0;
  width: 26px;
  height: 16px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, #ffb2ca 0%, #ff87ad 100%);
  opacity: 0.88;
  box-shadow: 0 0 18px rgba(255, 132, 174, 0.2);
  animation: drift 14s linear infinite;
}

.petal-a {
  top: 12%;
  left: 14%;
  animation-delay: 0s;
}

.petal-b {
  top: 26%;
  right: 12%;
  transform: scale(1.3);
  animation-delay: -4s;
}

.petal-c {
  bottom: 20%;
  left: 18%;
  animation-delay: -8s;
}

.petal-d {
  bottom: 12%;
  right: 20%;
  transform: scale(1.1);
  animation-delay: -11s;
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(20px, 28px, 0) rotate(28deg);
  }
  100% {
    transform: translate3d(-12px, 56px, 0) rotate(58deg);
  }
}

@media (max-width: 900px) {
  .hero,
  .split-panel,
  .game-grid {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .section-heading,
  .split-panel,
  .legal-panel,
  .game-grid {
    padding-left: 22px;
    padding-right: 22px;
  }

  .game-grid {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .hero-copy h1 {
    font-size: 2.8rem;
  }

  .brand {
    letter-spacing: 0.08em;
  }

  .panel,
  .logo-image {
    border-radius: 22px;
  }
}
