/* CSS Reset & Custom Properties */
:root {
  /* Palette: Obsidian & Magenta */
  --color-obsidian: oklch(15% 0.01 280); /* Deep dark slate/black */
  --color-obsidian-light: oklch(22% 0.015 280);
  --color-magenta: oklch(55% 0.25 330);
  --color-magenta-glow: oklch(65% 0.25 330);
  --color-gold: oklch(75% 0.15 80);
  --color-ice-blue: oklch(85% 0.05 240);
  --color-off-white: oklch(95% 0.01 280);
  
  /* Typography */
  --font-heading: 'Urbanist', system-ui, sans-serif;
  --font-body: 'Libre Baskerville', Georgia, serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 8rem;
  
  /* Shape: feline-fluid-sharp-32-500-0 */
  --radius-outer: 32px;
  --radius-inner: 500px; /* Pill shape */
  --radius-interactive: 0px; /* Sharp */
  
  /* Motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-obsidian);
  color: var(--color-off-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
  margin-bottom: var(--space-md);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

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

img, picture, video {
  max-width: 100%;
  display: block;
}

/* Header: brand-center-split-nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: color-mix(in oklch, var(--color-obsidian) 80%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in oklch, var(--color-off-white) 10%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-lg);
}

.nav-left, .nav-right {
  display: flex;
  gap: var(--space-lg);
  flex: 1;
}

.nav-right {
  justify-content: flex-end;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-magenta);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover::after {
  width: 100%;
}

.brand-center {
  flex: 0 0 auto;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* Mobile Nav */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-off-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-xs);
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-obsidian);
  z-index: 99;
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-in-out);
  display: flex;
  flex-direction: column;
  padding: var(--space-2xl) var(--space-lg);
  gap: var(--space-lg);
}

.mobile-nav-panel[aria-expanded="true"] {
  transform: translateX(0);
}

@media (max-width: 768px) {
  .nav-left, .nav-right {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .header-inner {
    justify-content: space-between;
  }
  .brand-center {
    flex: 1;
    text-align: left;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--color-magenta);
  color: var(--color-off-white);
  border: none;
  border-radius: var(--radius-interactive);
  cursor: pointer;
  transition: transform 0.16s var(--ease-out), box-shadow 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
  box-shadow: 0 0 0 0 rgba(255, 0, 255, 0);
}

.btn:hover {
  background-color: var(--color-magenta-glow);
  box-shadow: 0 0 20px 2px color-mix(in oklch, var(--color-magenta) 50%, transparent);
}

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

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-magenta);
}

.btn-outline:hover {
  background-color: color-mix(in oklch, var(--color-magenta) 10%, transparent);
}

/* Main Content */
main {
  padding-top: 80px; /* Header offset */
}

/* Sections */
.section {
  padding: var(--space-2xl) var(--space-lg);
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero: Map Interface / Wayfinding */
.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-2xl) var(--space-lg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--color-obsidian) 20%, transparent 80%);
  z-index: -1;
}

.hero-content {
  max-width: 600px;
  z-index: 1;
  animation: fadeUp 1s var(--ease-out) forwards;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.hero-desc {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
  color: var(--color-off-white);
  opacity: 0.9;
}

.hero-foreground {
  position: absolute;
  right: 5%;
  bottom: 0;
  height: 80%;
  z-index: 0;
  pointer-events: none;
  animation: stealthReveal 1.5s var(--ease-out) forwards;
}

.hero-foreground img {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 30px color-mix(in oklch, var(--color-magenta) 30%, transparent));
}

@media (max-width: 768px) {
  .hero-overlay {
    background: linear-gradient(to bottom, var(--color-obsidian) 40%, transparent 100%);
  }
  .hero-foreground {
    right: -20%;
    height: 60%;
    opacity: 0.5;
  }
}

/* External Game Stage */
.game-stage-section {
  background-color: var(--color-obsidian-light);
  position: relative;
}

.game-stage-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-outer);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  background: var(--color-obsidian);
}

.game-stage-wrapper iframe[data-external-game-iframe] {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  position: relative;
  z-index: 2;
}

.game-stage-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.game-stage-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.game-stage-fg-left, .game-stage-fg-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  z-index: 3;
  pointer-events: none;
}

.game-stage-fg-left { left: 0; }
.game-stage-fg-right { right: 0; }

.game-stage-fg-left img, .game-stage-fg-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .game-stage-wrapper {
    aspect-ratio: auto;
    height: min(82vh, 760px);
    border-radius: 0;
  }
  .game-stage-fg-left, .game-stage-fg-right {
    display: none;
  }
}

/* Explainer Section */
.explainer-section {
  background: linear-gradient(135deg, var(--color-obsidian), color-mix(in oklch, var(--color-magenta) 15%, var(--color-obsidian)));
}

.explainer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.explainer-media {
  position: relative;
  border-radius: var(--radius-inner);
  overflow: hidden;
}

.explainer-media img {
  width: 100%;
  height: auto;
  transition: transform 0.7s var(--ease-out);
}

.explainer-media:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .explainer-grid {
    grid-template-columns: 1fr;
  }
}

/* Lobby Preview */
.lobby-section {
  background-color: var(--color-obsidian);
}

.lobby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.lobby-card {
  position: relative;
  border-radius: var(--radius-inner);
  overflow: hidden;
  aspect-ratio: 1/1;
  cursor: pointer;
}

.lobby-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.lobby-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.lobby-card:hover img {
  transform: scale(1.1);
}

.lobby-card:hover .lobby-card-overlay {
  opacity: 1;
}

.lobby-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-off-white);
}

/* Discovery Section */
.discovery-section {
  background: linear-gradient(to bottom, var(--color-obsidian), var(--color-obsidian-light));
  overflow: hidden;
}

.discovery-slider {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  padding-bottom: var(--space-md);
  scrollbar-width: none;
}

.discovery-slider::-webkit-scrollbar {
  display: none;
}

.discovery-card {
  flex: 0 0 300px;
  border-radius: var(--radius-outer);
  overflow: hidden;
  position: relative;
  aspect-ratio: 9/16;
}

.discovery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Blog Teasers */
.blog-section {
  background-color: var(--color-obsidian);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.blog-card {
  background-color: var(--color-obsidian-light);
  border-radius: var(--radius-outer);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: var(--space-lg);
}

.blog-meta {
  font-size: 0.875rem;
  color: var(--color-magenta);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
  font-family: var(--font-heading);
}

.blog-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

/* Trust & Support */
.trust-section {
  background-color: var(--color-obsidian-light);
  text-align: center;
}

.trust-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
}

/* Footer */
.site-footer {
  background-color: #000;
  padding: var(--space-2xl) var(--space-lg) var(--space-lg);
  border-top: 1px solid color-mix(in oklch, var(--color-off-white) 10%, transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-xl);
  max-width: 1400px;
  margin: 0 auto;
}

.footer-brand img {
  max-width: 200px;
  margin-bottom: var(--space-md);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.footer-col h4 {
  color: var(--color-gold);
  margin-bottom: var(--space-md);
  font-size: 1.125rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: var(--space-sm);
}

.footer-col a {
  color: color-mix(in oklch, var(--color-off-white) 70%, transparent);
}

.footer-col a:hover {
  color: var(--color-magenta);
}

.footer-bottom {
  max-width: 1400px;
  margin: var(--space-xl) auto 0;
  padding-top: var(--space-lg);
  border-top: 1px solid color-mix(in oklch, var(--color-off-white) 10%, transparent);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: color-mix(in oklch, var(--color-off-white) 50%, transparent);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-links {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stealthReveal {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Prose for policies and blog */
.prose {
  max-width: 75ch;
  margin: 0 auto;
}

.prose h1 {
  font-size: 3rem;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
}

.prose h2 {
  font-size: 2rem;
  margin-top: var(--space-xl);
  color: var(--color-magenta);
}

.prose p {
  margin-bottom: var(--space-md);
  font-size: 1.125rem;
  opacity: 0.9;
}

.prose ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.prose li {
  margin-bottom: var(--space-sm);
  font-size: 1.125rem;
  opacity: 0.9;
}

/* Forms */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-family: var(--font-heading);
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 1rem;
  background-color: color-mix(in oklch, var(--color-off-white) 5%, transparent);
  border: 1px solid color-mix(in oklch, var(--color-off-white) 20%, transparent);
  border-radius: var(--radius-interactive);
  color: var(--color-off-white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s var(--ease-out);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-magenta);
}

/* Social Casino Games Section */
.social-casino-section {
  background: linear-gradient(180deg, var(--color-obsidian) 0%, var(--color-obsidian-light) 100%);
  border-top: 1px solid color-mix(in oklch, var(--color-magenta) 20%, transparent);
  border-bottom: 1px solid color-mix(in oklch, var(--color-magenta) 20%, transparent);
}

.social-casino-header {
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  text-align: center;
}

.social-casino-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background-color: color-mix(in oklch, var(--color-magenta) 15%, transparent);
  border: 1px solid var(--color-magenta);
  color: var(--color-magenta-glow);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-inner);
  margin-bottom: var(--space-md);
}

.social-casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.social-casino-card {
  background-color: color-mix(in oklch, var(--color-obsidian) 90%, var(--color-magenta) 10%);
  border: 1px solid color-mix(in oklch, var(--color-off-white) 12%, transparent);
  border-radius: var(--radius-outer);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.social-casino-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-magenta);
  box-shadow: 0 12px 35px color-mix(in oklch, var(--color-magenta) 25%, transparent);
}

.social-casino-img-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #000;
}

.social-casino-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.social-casino-card:hover .social-casino-img-wrapper img {
  transform: scale(1.08);
}

.social-casino-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: var(--color-gold);
  border: 1px solid color-mix(in oklch, var(--color-gold) 40%, transparent);
  padding: 0.25rem 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-inner);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.social-casino-content {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.social-casino-title {
  font-size: 1.35rem;
  color: var(--color-off-white);
  margin-bottom: var(--space-xs);
}

.social-casino-desc {
  font-size: 0.95rem;
  color: color-mix(in oklch, var(--color-off-white) 75%, transparent);
  margin-bottom: var(--space-lg);
  flex: 1;
}

.social-casino-action {
  margin-top: auto;
}

/* FAQ Accordion Styling */
.faq-section {
  background-color: var(--color-obsidian);
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background-color: var(--color-obsidian-light);
  border: 1px solid color-mix(in oklch, var(--color-off-white) 10%, transparent);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease-out);
}

.faq-item.active {
  border-color: var(--color-magenta);
}

.faq-question {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: none;
  border: none;
  color: var(--color-off-white);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: var(--space-md);
}

.faq-question:hover {
  color: var(--color-magenta-glow);
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--color-magenta);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s var(--ease-out);
  padding: 0 var(--space-lg);
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 var(--space-lg) var(--space-lg);
}

.faq-answer p {
  color: color-mix(in oklch, var(--color-off-white) 85%, transparent);
  font-size: 1rem;
  line-height: 1.6;
}

/* Disclaimer Banner */
.disclaimer-section {
  background: linear-gradient(135deg, color-mix(in oklch, var(--color-obsidian) 95%, var(--color-gold) 5%), var(--color-obsidian));
  border-top: 1px solid color-mix(in oklch, var(--color-gold) 30%, transparent);
  border-bottom: 1px solid color-mix(in oklch, var(--color-gold) 30%, transparent);
  padding: var(--space-xl) var(--space-lg);
}

.disclaimer-card {
  max-width: 1000px;
  margin: 0 auto;
  background: color-mix(in oklch, var(--color-obsidian-light) 80%, black 20%);
  border: 1px solid color-mix(in oklch, var(--color-gold) 25%, transparent);
  border-radius: var(--radius-outer);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.disclaimer-badge-header {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: color-mix(in oklch, var(--color-gold) 15%, transparent);
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-inner);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.disclaimer-card p {
  color: color-mix(in oklch, var(--color-off-white) 90%, transparent);
  font-size: 1.05rem;
  margin-bottom: var(--space-md);
}

.disclaimer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
  text-align: left;
}

.disclaimer-item {
  background: rgba(0,0,0,0.3);
  padding: var(--space-md);
  border-radius: 12px;
  border-left: 3px solid var(--color-magenta);
  font-size: 0.9rem;
  color: color-mix(in oklch, var(--color-off-white) 80%, transparent);
}

.disclaimer-item strong {
  color: var(--color-off-white);
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-heading);
}

/* Redesigned Footer Legal Styles */
.footer-legal-box {
  background: color-mix(in oklch, var(--color-obsidian-light) 50%, black 50%);
  border: 1px solid color-mix(in oklch, var(--color-off-white) 10%, transparent);
  border-radius: 16px;
  padding: var(--space-md) var(--space-lg);
  margin-top: var(--space-lg);
}

.footer-legal-box p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: color-mix(in oklch, var(--color-off-white) 65%, transparent);
}

/* Game Cabinet Player Styles */
.official-demo-cabinet {
  max-width: 1100px;
  margin: 0 auto;
  background-color: var(--color-obsidian-light);
  border: 1px solid color-mix(in oklch, var(--color-magenta) 35%, transparent);
  border-radius: var(--radius-outer);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.slot-cabinet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem var(--space-lg);
  background: color-mix(in oklch, var(--color-obsidian) 95%, black 5%);
  border-bottom: 1px solid color-mix(in oklch, var(--color-off-white) 10%, transparent);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.slot-live-status {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.live-dot {
  width: 10px;
  height: 10px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

.slot-cabinet-controls {
  display: flex;
  gap: 0.5rem;
}

.btn-cabinet-tool {
  background: color-mix(in oklch, var(--color-off-white) 10%, transparent);
  border: 1px solid color-mix(in oklch, var(--color-off-white) 20%, transparent);
  color: var(--color-off-white);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-inner);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}

.btn-cabinet-tool:hover {
  background: var(--color-magenta);
  border-color: var(--color-magenta);
  color: #fff;
}

.game-iframe-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.game-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .game-iframe-wrapper {
    aspect-ratio: 4 / 3;
    min-height: 480px;
  }
}

/* Games Hero Banner Styling */
.games-hero-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(14, 11, 22, 0.85), rgba(6, 4, 12, 0.92)), url('images/games-hero-bg.jpg') center/cover no-repeat;
  border: 1px solid color-mix(in oklch, var(--color-gold) 35%, transparent);
  border-radius: var(--radius-outer);
  padding: 4rem 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px color-mix(in oklch, var(--color-magenta) 25%, transparent);
  overflow: hidden;
  max-width: 1040px;
  margin: 0 auto;
}

.games-hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, color-mix(in oklch, var(--color-magenta) 18%, transparent) 0%, transparent 70%);
  pointer-events: none;
}

.games-hero-content {
  position: relative;
  z-index: 2;
}

.games-hero-chips {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}

.games-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  background: rgba(18, 12, 28, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid color-mix(in oklch, var(--color-gold) 45%, transparent);
  color: var(--color-gold);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* Blog Page Enhancements */
.blog-page-hero {
  background: linear-gradient(135deg, color-mix(in oklch, var(--color-obsidian-light) 92%, var(--color-magenta) 8%), color-mix(in oklch, var(--color-obsidian) 95%, var(--color-gold) 5%));
  border: 1px solid color-mix(in oklch, var(--color-gold) 25%, transparent);
  border-radius: var(--radius-outer);
  padding: 3.5rem 2rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 25px color-mix(in oklch, var(--color-magenta) 15%, transparent);
  max-width: 1040px;
  margin: 0 auto 3rem;
  text-align: center;
}

.blog-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1140px;
  margin: 0 auto;
}

.blog-article-card {
  background-color: color-mix(in oklch, var(--color-obsidian-light) 85%, var(--color-magenta) 15%);
  border: 1px solid color-mix(in oklch, var(--color-gold) 20%, transparent);
  border-radius: var(--radius-outer);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.blog-article-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-gold);
  box-shadow: 0 16px 40px color-mix(in oklch, var(--color-magenta) 25%, transparent);
}

.blog-article-thumb {
  position: relative;
  max-height: 220px;
  overflow: hidden;
  background-color: #000;
}

.blog-article-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.blog-article-card:hover .blog-article-thumb img {
  transform: scale(1.08);
}

.blog-article-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-article-tag {
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.blog-article-title {
  font-size: 1.35rem;
  color: var(--color-off-white);
  line-height: 1.35;
  margin-bottom: 0.85rem;
}

.blog-article-desc {
  font-size: 0.95rem;
  color: color-mix(in oklch, var(--color-off-white) 78%, transparent);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

/* Utility classes for layout & centering */
.text-center {
  text-align: center !important;
}
.mb-lg {
  margin-bottom: var(--space-lg) !important;
}
.mt-xl {
  margin-top: var(--space-xl) !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* Social Casino Card Centering */
.social-casino-content {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}

.social-casino-action {
  margin-top: auto;
  display: flex;
  justify-content: center;
  width: 100%;
}

.social-casino-header {
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  text-align: center !important;
}

/* Refined Explainer & Editorial Media */
.explainer-media-group {
  display: flex !important;
  gap: 1.25rem !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
}

.explainer-media {
  max-width: 240px;
  border-radius: var(--radius-inner);
  border: 1px solid color-mix(in oklch, var(--color-gold) 30%, transparent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.explainer-features {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.explainer-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-off-white);
  background: color-mix(in oklch, var(--color-obsidian-light) 60%, transparent);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-inner);
  border: 1px solid color-mix(in oklch, var(--color-gold) 15%, transparent);
}

.explainer-feature-item span {
  color: var(--color-gold);
  font-weight: 700;
}

.prose-editorial-img {
  display: block;
  max-width: 420px;
  width: 100%;
  margin: 1.5rem auto !important;
  border-radius: var(--radius-outer);
  border: 1px solid color-mix(in oklch, var(--color-gold) 25%, transparent);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 20px color-mix(in oklch, var(--color-magenta) 20%, transparent);
}

@media (max-width: 768px) {
  .explainer-media-group {
    flex-direction: column !important;
  }
  .explainer-media {
    max-width: 220px;
  }
  .prose-editorial-img {
    max-width: 100%;
  }
}

/* __SITE_SAFETY_CSS__ */

/* FIXED responsive/safety layer — ships into every generated site.
   Loaded AFTER the agent's assets/styles2.css, so it overrides the agent's
   broken mechanical CSS via the cascade. Targets the real class names the
   generator already emits (mobile-nav-*, age-gate-overlay, nav-links).
   The agent only owns content + theme colours; this owns the mechanics. */

/* ---- global layout safety ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }
img, video, svg, canvas { max-width: 100%; height: auto; }
/* broken images (404) shrink to nothing instead of showing a broken icon */
img[alt]:not([src]), img:not([alt]) { }

/* ---- mobile nav: full-screen drawer instead of the broken 300px sliver ---- */
@media (max-width: 768px) {
  .mobile-nav-panel {
    width: 100% !important;
    max-width: 100% !important;
    right: -100%;
    padding: 5rem 1.5rem 2rem !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-nav-panel.is-open { right: 0 !important; }
  /* the site hides .nav-links on mobile; force the inner list to show in the open drawer */
  .mobile-nav-panel.is-open .nav-links,
  .mobile-nav-panel.is-open ul {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    height: 100%;
    list-style: none;
  }
  /* menu links: big touch targets, readable */
  .mobile-nav-panel a {
    display: block;
    padding: 0.9rem 0;
    font-size: 1.25rem;
    min-height: 44px;
  }
  /* real, CLICKABLE close: turn the burger toggle into an X when open
     (keyed on aria-expanded the site itself sets, so no JS needed) */
  .mobile-nav-toggle[aria-expanded="true"] {
    position: fixed !important;
    top: 1rem; right: 1.25rem;
    z-index: 100001 !important;
    font-size: 0 !important;
    background: transparent;
    border: 0;
    line-height: 1;
  }
  .mobile-nav-toggle[aria-expanded="true"]::after {
    content: "\00d7";
    font-size: 2.2rem;
    line-height: 1;
    color: #fff;
  }
  /* lock body scroll while the menu is open (best-effort, JS also handles it) */
  body.nav-open { overflow: hidden; }
  /* keep the header (and its close-X) above the open drawer. A glassy header with
     backdrop-filter/transform traps our position:fixed toggle in its own stacking
     context, so if the header z-index is below the panel the X hides behind the
     drawer. Raise it above typical panels but below the age-gate overlay (z 99999). */
  .site-header, header.site-header { z-index: 99998 !important; }
  /* long single-word brands (e.g. OFFICIALPLAYPORTAL) must not overflow/clip the
     mobile header, especially in the centered header variant. Shrink + ellipsis. */
  .brand-center, .brand-logo, .logo, .nav-brand, .site-header .brand {
    font-size: clamp(0.85rem, 4.2vw, 1.25rem) !important;
    max-width: 62vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* ---- age gate: force a real blocking modal (was position:static) ---- */
.age-gate-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 2rem;
  text-align: center;
  background: rgba(6, 9, 16, 0.94);
  backdrop-filter: blur(4px);
}
/* the site dismisses the gate however it likes — inline display:none (most
   common), aria-hidden, [hidden], or a state class. Match ALL so our
   display:flex !important never blocks the site's own dismiss. */
.age-gate-overlay.is-dismissed,
.age-gate-overlay[hidden],
.age-gate-overlay[aria-hidden="true"],
.age-gate-overlay[style*="display: none"],
.age-gate-overlay[style*="display:none"] { display: none !important; }
/* while gate is up, don't let the page scroll behind it */
body.age-gate-locked { overflow: hidden; }

/* ---- game stage: bound it (was rendering ~4400px / ~5 screens tall) ---- */
/* the outer section must not carry a giant fixed height */
.game-stage-section, [class*="game-stage"][class*="section"] {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible;
}
/* the playable stage becomes a bounded, centered, aspect-locked box */
.game-stage-wrapper, [data-game-card].game-stage-wrapper, [data-external-game] {
  position: relative !important;
  width: min(100%, 960px) !important;
  height: auto !important;
  aspect-ratio: 16 / 10;
  max-height: 82vh;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 12px;
}
/* the game iframe fills the bounded stage instead of growing to its content */
.game-stage-wrapper iframe, .game-stage-section iframe, [data-external-game] iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  border: 0;
}
/* the oversized decorative stage images cover the bounded stage, not 1336px each */
[class*="game-stage-atmosphere"], [class*="game-stage-fg"], [class*="game-stage-bg"] {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
@media (max-width: 768px) {
  .game-stage-wrapper, [data-game-card].game-stage-wrapper, [data-external-game] {
    aspect-ratio: 3 / 4;   /* taller play area on phones */
    max-height: 80vh;
  }
}

/* ---- touch targets everywhere ---- */
a, button, [role="button"], input, select { touch-action: manipulation; }

/* ---- Samtpfoten preview & hidden stage ---- */
.slot-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.slot-preview-card {
  margin: 0;
}

.slot-preview-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-outer);
  border: 1px solid color-mix(in oklch, var(--color-gold) 45%, transparent);
  box-shadow: 0 12px 40px oklch(5% 0.02 320 / .5);
}

.slot-preview-card figcaption {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: color-mix(in oklch, var(--color-off-white) 70%, transparent);
  text-align: center;
  margin-top: var(--space-sm);
}

.samtpfoten-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius-outer);
  display: block;
  background: var(--color-obsidian-light);
}

@media (max-width: 820px) {
  .slot-preview-grid {
    grid-template-columns: 1fr;
  }
}
