:root {
  --bg: #08131d;
  --bg-alt: #0f2030;
  --surface: rgba(12, 24, 39, 0.72);
  --surface-strong: rgba(11, 17, 30, 0.92);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f3f6fb;
  --muted: #a9b9cc;
  --hot: #ff704f;
  --gold: #ffc94d;
  --mint: #8ff5cb;
  --sky: #65d9ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 112, 79, 0.18), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(101, 217, 255, 0.18), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(255, 201, 77, 0.14), transparent 30%),
    linear-gradient(160deg, #071018 0%, #0a1723 42%, #091a2a 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  z-index: 0;
  border-radius: 50%;
  filter: blur(14px);
  pointer-events: none;
}

body::before {
  width: 18rem;
  height: 18rem;
  top: 7%;
  right: -4rem;
  background: rgba(255, 112, 79, 0.14);
}

body::after {
  width: 24rem;
  height: 24rem;
  left: -6rem;
  bottom: 12%;
  background: rgba(143, 245, 203, 0.1);
}

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

button {
  font: inherit;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 2.5rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  display: block;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 1rem;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 28px rgba(255, 201, 77, 0.16);
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand-copy small {
  color: var(--muted);
}

.nav {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(18px);
}

.nav a {
  color: var(--muted);
  transition: color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.95fr);
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 7rem);
  padding: 2rem 0 3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: var(--mint);
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: currentColor;
}

.hero h1,
.section-heading h2,
.experience-card h2 {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  line-height: 0.97;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.7rem);
  max-width: 11ch;
}

.hero-text,
.section-heading p,
.experience-card p,
.safe-grid p,
.game-info p,
.warning-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 60ch;
  margin: 1.35rem 0 0;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: 2px solid rgba(143, 245, 203, 0.75);
  outline-offset: 2px;
}

.button:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
}

.button-primary {
  color: #09121a;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), #fff0a4 90%);
  box-shadow: 0 14px 34px rgba(255, 201, 77, 0.25);
}

.button-secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
}

.hero-stats article,
.experience-card,
.slot-machine,
.game-info article,
.safe-grid article,
.alert-strip,
.warning-panel,
.float-card {
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.hero-stats article {
  padding: 1rem;
  border-radius: 1.25rem;
}

.hero-stats strong {
  display: block;
  font-size: 1.7rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  min-height: 38rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.warning-panel {
  position: relative;
  width: min(100%, 30rem);
  padding: 2rem;
  border-radius: 2rem;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    linear-gradient(145deg, rgba(255, 112, 79, 0.15), rgba(101, 217, 255, 0.04));
}

.warning-panel::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1.4rem;
}

.warning-stop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.6rem;
  height: 2.4rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: rgba(255, 112, 79, 0.18);
  color: #ffd3ca;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.warning-panel h2 {
  margin: 1rem 0 0.45rem;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  font-family: "Georgia", "Times New Roman", serif;
}

.floating-cards {
  position: absolute;
  inset: 0;
}

.float-card {
  position: absolute;
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
}

.float-card span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.float-card strong {
  font-size: 1.1rem;
}

.card-one {
  top: 2.6rem;
  left: 0;
  animation: drift 6s ease-in-out infinite;
}

.card-two {
  right: 0.2rem;
  top: 7.5rem;
  animation: drift 7s ease-in-out infinite reverse;
}

.card-three {
  left: 2.2rem;
  bottom: 3rem;
  animation: drift 6.5s ease-in-out infinite;
}

.alert-strip {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1.35rem;
  background:
    linear-gradient(135deg, rgba(255, 112, 79, 0.15), rgba(255, 201, 77, 0.07)),
    var(--surface-strong);
}

.alert-strip p {
  margin: 0;
  line-height: 1.7;
}

.dkk-notice {
  margin-top: 1.25rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(255, 201, 77, 0.35);
  border-left: 6px solid var(--gold);
  border-radius: 1.5rem;
  background:
    linear-gradient(135deg, rgba(255, 201, 77, 0.12), rgba(255, 112, 79, 0.08)),
    var(--surface-strong);
  box-shadow: var(--shadow);
}

.dkk-label {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  color: #08131d;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--gold), #fff0a4);
}

.dkk-quote {
  margin: 0.9rem 0 0;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--text);
}

.dkk-support {
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.experience-grid,
.game-section,
.safe-play {
  margin-top: 5rem;
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.88fr);
  gap: 1.5rem;
}

.experience-card {
  padding: 1.75rem;
  border-radius: 1.8rem;
}

.card-tag {
  display: inline-flex;
  margin: 0 0 0.8rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: var(--sky);
  background: rgba(101, 217, 255, 0.12);
}

.experience-card h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  max-width: 13ch;
}

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

.feature-list div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.feature-list span {
  display: inline-grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  color: #09121a;
  font-weight: 800;
  background: linear-gradient(135deg, var(--mint), #e4fff1);
}

.feature-list p {
  margin: 0.15rem 0 0;
}

.section-heading {
  max-width: 44rem;
}

.section-heading h2 {
  font-size: clamp(2.3rem, 5vw, 4.3rem);
  margin-top: 0;
}

.game-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.65fr);
  gap: 1.5rem;
  margin-top: 1.6rem;
}

.slot-machine {
  padding: 1.6rem;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    var(--surface-strong);
}

.machine-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.machine-top small,
.game-readout small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.machine-top strong,
.game-readout strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.15rem;
}

.machine-badge {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  color: #ffd3ca;
  background: rgba(255, 112, 79, 0.15);
}

.reels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.reel {
  display: grid;
  place-items: center;
  min-height: 9.8rem;
  padding: 1rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #08131d;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  background:
    linear-gradient(180deg, #fffef8 0%, #ffe8a5 52%, #ffd36c 100%);
  box-shadow: inset 0 -10px 18px rgba(0, 0, 0, 0.09);
}

.reel.spinning {
  animation: reelPulse 170ms linear infinite alternate;
}

.reel.win {
  outline: 2px solid rgba(143, 245, 203, 0.75);
  box-shadow:
    0 0 0 4px rgba(143, 245, 203, 0.08),
    inset 0 -10px 18px rgba(0, 0, 0, 0.09),
    0 0 32px rgba(143, 245, 203, 0.22);
}

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

.game-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.game-result {
  min-height: 1.7rem;
  margin: 1rem 0 0;
  color: var(--mint);
  font-weight: 600;
}

.game-info {
  display: grid;
  gap: 1rem;
}

.game-info article,
.safe-grid article {
  padding: 1.35rem;
  border-radius: 1.5rem;
}

.game-info h3,
.safe-grid h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.safe-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.footer {
  margin-top: 5rem;
  padding: 1.5rem 0 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
  margin: 0;
  font-weight: 700;
}

.footer small {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--muted);
}

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

.reveal-delay {
  transition-delay: 140ms;
}

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

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes reelPulse {
  from {
    transform: translateY(-2px) scale(1);
  }
  to {
    transform: translateY(2px) scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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

@media (max-width: 960px) {
  .hero,
  .experience-grid,
  .game-layout,
  .safe-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 1rem;
  }

  .hero-visual {
    min-height: 31rem;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 1.2rem, 1180px);
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .nav {
    justify-content: space-between;
  }

  .hero-stats,
  .game-readout,
  .reels {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .warning-panel {
    padding: 1.5rem;
  }

  .hero-visual {
    min-height: 27rem;
  }

  .float-card {
    transform: scale(0.92);
  }
}
