

:root {
  --bg: #fdf2f2;
  --surface: #ffffff;
  --text: #451a03;
  --muted: #92400e;
  --primary: #e11d48;
  --secondary: #78350f;
  --accent: #f43f5e;
  --border: rgba(69, 26, 3, 0.1);
  --panel-dark: #3b1208;
  --panel-dark-2: #5c1a0f;
  --glow: rgba(244, 63, 94, 0.35);
  --glow-soft: rgba(225, 29, 72, 0.18);
  --radius: 18px;
  --font: "Outfit", "Segoe UI", sans-serif;
  --font-display: "Sora", "Outfit", sans-serif;
  --shadow: 0 18px 50px rgba(69, 26, 3, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(244, 63, 94, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(120, 53, 15, 0.12), transparent 50%),
    linear-gradient(180deg, #fff5f5 0%, var(--bg) 40%, #fde8e8 100%);
  min-height: 100vh;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* —— Top warning —— */
.top-warning {
  background: linear-gradient(90deg, #7f1d1d, var(--primary) 45%, #9f1239);
  color: #fff;
  text-align: center;
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.45;
  border-bottom: 2px solid #fff;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(253, 242, 242, 0.86);
  border-bottom: 1px solid var(--border);
}

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

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.logo-link img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 0 20px var(--glow-soft);
}

.desktop-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.desktop-nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.desktop-nav a:hover {
  color: var(--primary);
}

.burger-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.burger-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
  opacity: 0;
}

.burger-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(69, 26, 3, 0.45);
  z-index: 140;
}

.nav-overlay.open {
  display: block;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--surface);
  z-index: 150;
  padding: 5rem 1.5rem 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.45rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 10px 28px var(--glow-soft), 0 0 24px var(--glow);
}

.btn-primary:hover {
  box-shadow: 0 14px 36px var(--glow);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--secondary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(225, 29, 72, 0.06);
  color: var(--primary);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(59, 18, 8, 0.78) 0%, rgba(225, 29, 72, 0.55) 48%, rgba(120, 53, 15, 0.7) 100%),
    radial-gradient(circle at 70% 40%, rgba(244, 63, 94, 0.45), transparent 45%),
    linear-gradient(160deg, #451a03, #9f1239);
}

.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 70%);
  filter: blur(8px);
  top: 12%;
  right: 8%;
  z-index: -1;
  animation: floatPulse 7s ease-in-out infinite;
}

.hero-panel {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 3.5rem;
  padding: 2rem 1.75rem;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: #fff;
  animation: riseIn 0.9s ease both;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin-bottom: 1rem;
  text-shadow: 0 0 28px rgba(255, 255, 255, 0.35);
}

.hero-brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 0 28px rgba(244, 63, 94, 0.55);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.6vw, 3.15rem);
  line-height: 1.15;
  margin: 0 0 0.85rem;
  max-width: 16ch;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 1.5rem;
  max-width: 42ch;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* —— Sections —— */
.section {
  padding: 4.5rem 0;
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  margin: 0 0 0.55rem;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

.floating-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.4rem;
  position: relative;
}

.floating-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(244, 63, 94, 0.08), 0 0 40px var(--glow-soft);
  opacity: 0.9;
}

.rules-grid {
  display: grid;
  gap: 1.25rem;
}

.rules-copy {
  color: var(--text);
  font-size: 1.02rem;
}

.rules-copy p {
  margin: 0 0 1rem;
}

.rules-copy p:last-child {
  margin-bottom: 0;
}

.chat-stack {
  display: grid;
  gap: 0.85rem;
}

.chat-bubble {
  border-radius: 16px;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #fff, #fff7f7);
  animation: fadeSlide 0.7s ease both;
}

.chat-bubble:nth-child(2) {
  animation-delay: 0.12s;
}

.chat-bubble:nth-child(3) {
  animation-delay: 0.24s;
}

.chat-bubble.dark {
  background: linear-gradient(145deg, var(--panel-dark), var(--panel-dark-2));
  color: #ffe4e6;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(69, 26, 3, 0.18), 0 0 24px var(--glow-soft);
}

.chat-bubble strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
}

/* —— Game —— */
.game-section {
  padding-bottom: 5rem;
}

.game-shell {
  display: grid;
  gap: 1.25rem;
}

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

.hud-card {
  background: linear-gradient(160deg, var(--panel-dark), #7f1d1d);
  color: #fff;
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 28px var(--glow-soft);
  text-align: center;
}

.hud-card span {
  display: block;
  font-size: 0.78rem;
  opacity: 0.78;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hud-card strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.slot-machine {
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 63, 94, 0.25), transparent 55%),
    linear-gradient(180deg, #2a0d08, #451a03 60%, #1c0a06);
  border-radius: 24px;
  padding: 1.5rem 1.25rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 60px rgba(69, 26, 3, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.slot-title {
  text-align: center;
  color: #ffe4e6;
  font-family: var(--font-display);
  margin: 0 0 1.1rem;
  font-size: 1.2rem;
}

.reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.reel {
  background: linear-gradient(180deg, #fff, #ffe4e6);
  border-radius: 16px;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  border: 2px solid rgba(225, 29, 72, 0.35);
  box-shadow: inset 0 0 24px rgba(225, 29, 72, 0.12), 0 0 18px var(--glow-soft);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.reel.spinning {
  animation: reelShake 0.12s linear infinite;
  filter: blur(1px);
}

.reel.win-flash {
  animation: winPulse 0.55s ease;
  box-shadow: 0 0 30px rgba(244, 63, 94, 0.75), inset 0 0 20px rgba(255, 255, 255, 0.4);
}

.game-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.game-status {
  text-align: center;
  color: #fecdd3;
  min-height: 1.5em;
  margin: 0.9rem 0 0;
  font-weight: 500;
}

.paytable {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.paytable li {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  background: rgba(253, 242, 242, 0.7);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
}

.paytable {
  margin: 0;
  padding: 0;
}

/* —— Responsible tips —— */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.tip-card {
  padding: 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(225, 29, 72, 0.12);
}

.tip-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.tip-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.tip-card:nth-child(odd) {
  background: linear-gradient(160deg, #fff, #fff1f2);
}

.tip-card:nth-child(even) {
  background: linear-gradient(160deg, var(--panel-dark), var(--panel-dark-2));
  color: #ffe4e6;
  border-color: transparent;
}

.tip-card:nth-child(even) p {
  color: rgba(255, 228, 230, 0.82);
}

/* —— Legal / inner pages —— */
.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin: 0 0 0.5rem;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
}

.prose {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow);
  margin-bottom: 3.5rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 1.5rem 0 0.55rem;
}

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

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 1.1rem 0 0.45rem;
  color: var(--text);
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  margin: 0.4rem 0 1rem;
}

/* —— Footer —— */
.site-footer {
  background: linear-gradient(180deg, #2a0d08, #1a0705);
  color: #fecdd3;
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.footer-disclaimer {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(254, 205, 211, 0.88);
  max-width: 70ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
}

.footer-links a {
  color: #fda4af;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.5rem;
}

.footer-badges a,
.footer-badges span {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.35rem 0.45rem;
}

.footer-badges img {
  height: 42px;
  width: auto;
}

.footer-meta {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: rgba(254, 205, 211, 0.65);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
}

/* —— Age gate —— */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(26, 7, 5, 0.72);
  backdrop-filter: blur(8px);
}

.age-gate.active {
  display: flex;
}

.age-gate-card {
  width: min(440px, 100%);
  background: var(--surface);
  border-radius: 22px;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), 0 0 40px var(--glow-soft);
  text-align: center;
  animation: riseIn 0.35s ease;
}

.age-gate-card h2 {
  font-family: var(--font-display);
  margin: 0 0 0.55rem;
  font-size: 1.35rem;
}

.age-gate-card p {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.age-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

/* —— Cookie banner —— */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 280;
  display: none;
  width: min(720px, calc(100% - 2rem));
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow), 0 0 30px var(--glow-soft);
}

.cookie-banner.active {
  display: block;
  animation: riseIn 0.35s ease;
}

.cookie-banner p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

/* —— Animations —— */
@keyframes floatPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: translateY(-18px) scale(1.05);
    opacity: 1;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes reelShake {
  from {
    transform: translateY(-3px);
  }
  to {
    transform: translateY(3px);
  }
}

@keyframes winPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

/* —— Responsive —— */
@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }

  .burger-btn {
    display: inline-flex;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }

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

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

  .hero-panel {
    margin-bottom: 2rem;
  }
}

@media (max-width: 520px) {
  .reels {
    gap: 0.4rem;
  }

  .reel {
    min-height: 88px;
    font-size: 2rem;
  }

  .top-warning {
    font-size: 0.8rem;
    text-align: left;
  }
}
