/* ==========================================================================
   Stichtingmic.nl - Spinalto Casino Luxury Design System (sm- namespace)
   Color Palette: Obsidian Night (#080c16), Deep Cobalt (#0f172a), 
   Vivid Emerald (#10b981), Amber Gold (#f59e0b), Silver Slate (#94a3b8)
   ========================================================================== */

:root {
  --sm-bg-dark: #070a12;
  --sm-bg-card: #0f1626;
  --sm-bg-card-hover: #162035;
  --sm-bg-glass: rgba(15, 22, 38, 0.85);
  --sm-border: rgba(255, 255, 255, 0.08);
  --sm-border-accent: rgba(16, 185, 129, 0.35);
  --sm-primary: #10b981;
  --sm-primary-hover: #059669;
  --sm-accent: #f59e0b;
  --sm-accent-hover: #d97706;
  --sm-text-main: #f8fafc;
  --sm-text-muted: #94a3b8;
  --sm-text-subtle: #64748b;
  --sm-gradient-hero: radial-gradient(circle at 50% 0%, #1e293b 0%, #070a12 70%);
  --sm-gradient-accent: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --sm-gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --sm-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.6);
  --sm-shadow-glow: 0 0 25px rgba(16, 185, 129, 0.3);
  --sm-radius-sm: 8px;
  --sm-radius-md: 14px;
  --sm-radius-lg: 20px;
  --sm-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
  background-color: var(--sm-bg-dark);
  color: var(--sm-text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background: var(--sm-bg-dark);
  background-image: 
    radial-gradient(at 10% 20%, rgba(16, 185, 129, 0.08) 0px, transparent 40%),
    radial-gradient(at 90% 70%, rgba(245, 158, 11, 0.06) 0px, transparent 45%);
  background-attachment: fixed;
}

/* ==========================================================================
   Header & Sticky Navigation
   ========================================================================== */

.sm-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--sm-bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: none;
  border-bottom: none;
  box-shadow: none;
}

.sm-nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: none;
}

.sm-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--sm-text-main);
}

.sm-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--sm-gradient-accent);
  border-radius: var(--sm-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  box-shadow: var(--sm-shadow-glow);
}

.sm-logo-accent {
  color: var(--sm-primary);
}

.sm-nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  overflow-x: auto;
  white-space: nowrap;
  padding: 4px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border: none;
  outline: none;
}

.sm-nav-menu::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.sm-nav-link {
  color: var(--sm-text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 14px;
  border: none;
  outline: none;
  border-radius: var(--sm-radius-sm);
  transition: var(--sm-transition);
}

.sm-nav-link:hover, .sm-nav-link:focus-visible {
  color: var(--sm-text-main);
  background: rgba(255, 255, 255, 0.06);
}

.sm-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  min-height: 44px;
  min-width: 44px;
  background: var(--sm-gradient-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--sm-radius-sm);
  box-shadow: var(--sm-shadow-glow);
  transition: var(--sm-transition);
  flex-shrink: 0;
}

.sm-header-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
}

/* ==========================================================================
   Layout Containers & Core Typography
   ========================================================================== */

.sm-main {
  padding-top: 96px;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.sm-section {
  margin-bottom: 70px;
  padding: 40px;
  background: var(--sm-bg-card);
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius-lg);
  box-shadow: var(--sm-shadow);
  position: relative;
  overflow: hidden;
}

.sm-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

h1.sm-hero-title {
  font-size: 2.6rem;
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--sm-text-main);
  margin-bottom: 16px;
}

h2.sm-section-title {
  font-size: 1.95rem;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: var(--sm-text-main);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 14px;
}

h2.sm-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--sm-gradient-accent);
  border-radius: 2px;
}

h3.sm-subset-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-top: 32px;
  margin-bottom: 14px;
}

p {
  color: var(--sm-text-muted);
  margin-bottom: 18px;
  font-size: 1.05rem;
}

p strong {
  color: var(--sm-text-main);
}

a {
  color: var(--sm-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--sm-transition);
}

a:hover {
  color: #34d399;
}

/* ==========================================================================
   Hero Section & Direct Answer Block
   ========================================================================== */

.sm-hero-section {
  background: var(--sm-gradient-hero);
  border: 1px solid var(--sm-border-accent);
}

.sm-direct-answer {
  background: rgba(16, 185, 129, 0.08);
  border-left: 4px solid var(--sm-primary);
  padding: 18px 22px;
  border-radius: 0 var(--sm-radius-sm) var(--sm-radius-sm) 0;
  margin-bottom: 28px;
}

.sm-direct-answer p {
  font-size: 1.12rem;
  font-weight: 500;
  color: #e2e8f0;
  margin-bottom: 0;
  line-height: 1.7;
}

.sm-hero-media {
  position: relative;
  border-radius: var(--sm-radius-md);
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 16 / 9;
}

.sm-hero-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sm-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.sm-metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--sm-border);
  padding: 20px;
  border-radius: var(--sm-radius-md);
  text-align: center;
  transition: var(--sm-transition);
}

.sm-metric-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--sm-border-accent);
  transform: translateY(-3px);
}

.sm-metric-val {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--sm-primary);
  margin-bottom: 6px;
}

.sm-metric-label {
  font-size: 0.88rem;
  color: var(--sm-text-subtle);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Bonus Section & Interactive Wagering Calculator
   ========================================================================== */

.sm-calc-box {
  background: #0b1120;
  border: 1px solid var(--sm-border-accent);
  border-radius: var(--sm-radius-md);
  padding: 28px;
  margin: 30px 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.sm-calc-header {
  margin-bottom: 20px;
}

.sm-calc-header h3 {
  font-size: 1.25rem;
  color: var(--sm-text-main);
  margin-top: 0;
  margin-bottom: 6px;
}

.sm-calc-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  align-items: end;
}

.sm-input-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sm-text-muted);
  margin-bottom: 8px;
}

.sm-input {
  width: 100%;
  padding: 12px 16px;
  background: #141c2e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--sm-radius-sm);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  transition: var(--sm-transition);
}

.sm-input:focus {
  outline: none;
  border-color: var(--sm-primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.sm-calc-result {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--sm-primary);
  border-radius: var(--sm-radius-sm);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sm-calc-result-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sm-text-muted);
  text-transform: uppercase;
}

.sm-calc-result-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--sm-primary);
}

/* ==========================================================================
   Data Tables & Financial Overview
   ========================================================================== */

.sm-table-container {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--sm-radius-md);
  border: 1px solid var(--sm-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  -webkit-overflow-scrolling: touch;
}

.sm-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.98rem;
  min-width: 580px;
}

.sm-table th {
  background: #131b2c;
  color: var(--sm-text-main);
  padding: 16px 20px;
  font-weight: 700;
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}

.sm-table td {
  padding: 14px 20px;
  color: var(--sm-text-muted);
  border-bottom: 1px solid var(--sm-border);
  background: rgba(15, 22, 38, 0.5);
}

.sm-table tr:last-child td {
  border-bottom: none;
}

.sm-table tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}

.sm-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sm-badge-success {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.sm-badge-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ==========================================================================
   Games Grid (8 Games Showcase)
   ========================================================================== */

.sm-games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 30px 0;
}

.sm-game-card {
  background: #0c1322;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius-md);
  overflow: hidden;
  transition: var(--sm-transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.sm-game-card:hover {
  transform: translateY(-5px);
  border-color: var(--sm-border-accent);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
}

.sm-game-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111a2e;
}

.sm-game-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.sm-game-card:hover .sm-game-img {
  transform: scale(1.08);
}

.sm-game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 10, 18, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sm-game-card:hover .sm-game-overlay {
  opacity: 1;
}

.sm-game-play-btn {
  background: var(--sm-gradient-accent);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--sm-radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.sm-game-info {
  padding: 14px 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sm-game-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 4px;
}

.sm-game-meta {
  font-size: 0.82rem;
  color: var(--sm-text-subtle);
  display: flex;
  justify-content: space-between;
}

/* ==========================================================================
   Step-by-Step Lists & Security Badges
   ========================================================================== */

.sm-steps-list {
  list-style: none;
  counter-reset: sm-counter;
  margin: 24px 0;
  display: grid;
  gap: 16px;
}

.sm-step-item {
  counter-increment: sm-counter;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--sm-border);
  padding: 18px 22px 18px 65px;
  border-radius: var(--sm-radius-md);
  position: relative;
  font-size: 1.02rem;
  color: var(--sm-text-muted);
}

.sm-step-item::before {
  content: counter(sm-counter);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: var(--sm-primary);
  color: #070a12;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Always-Open FAQ Accordions (<details open>)
   ========================================================================== */

.sm-faq-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.sm-faq-item {
  background: #0c1322;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius-md);
  padding: 0;
  overflow: hidden;
  transition: var(--sm-transition);
}

.sm-faq-item[open] {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.sm-faq-summary {
  padding: 18px 22px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f1f5f9;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  user-select: none;
}

.sm-faq-summary::-webkit-details-marker {
  display: none;
}

.sm-faq-summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--sm-primary);
  font-weight: 700;
  transition: transform 0.2s ease;
}

.sm-faq-item[open] .sm-faq-summary::after {
  content: "−";
  color: var(--sm-accent);
}

.sm-faq-content {
  padding: 18px 22px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sm-faq-content p {
  margin-bottom: 0;
  color: #cbd5e1;
  line-height: 1.7;
}

/* ==========================================================================
   Footer & Legal Compliance
   ========================================================================== */

.sm-footer {
  background: #05080e;
  border-top: 1px solid var(--sm-border);
  padding: 60px 20px 100px;
  margin-top: 60px;
}

.sm-footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.sm-footer-brand p {
  font-size: 0.92rem;
  color: var(--sm-text-subtle);
  line-height: 1.6;
}

.sm-footer-col h4 {
  color: var(--sm-text-main);
  font-size: 1.05rem;
  margin-bottom: 18px;
  font-weight: 700;
}

.sm-footer-links {
  list-style: none;
}

.sm-footer-links li {
  margin-bottom: 10px;
}

.sm-footer-links a {
  color: var(--sm-text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: var(--sm-transition);
}

.sm-footer-links a:hover {
  color: var(--sm-primary);
}

.sm-footer-compliance {
  max-width: 1240px;
  margin: 40px auto 0;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--sm-text-subtle);
}

.sm-age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #ef4444;
  color: #ef4444;
  font-weight: 800;
  font-size: 0.85rem;
}

/* ==========================================================================
   Sticky Bottom CTA
   ========================================================================== */

.sm-sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.sm-floating-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sm-gradient-accent);
  color: #fff;
  padding: 14px 26px;
  min-height: 48px;
  min-width: 48px;
  border-radius: 30px;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.5);
  transition: var(--sm-transition);
  animation: sm-pulse 2.5s infinite;
}

.sm-floating-btn:hover {
  transform: translateY(-3px) scale(1.03);
  filter: brightness(1.1);
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.7);
}

@keyframes sm-pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   Responsive Breakpoints & Mobile Optimization
   ========================================================================== */

@media (max-width: 1024px) {
  .sm-games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sm-footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .sm-section {
    padding: 24px 18px;
    margin-bottom: 45px;
  }
  h1.sm-hero-title {
    font-size: 2.1rem;
  }
  h2.sm-section-title {
    font-size: 1.55rem;
  }
  .sm-nav-menu {
    display: none; /* Mobile navigation simplified */
  }
  .sm-nav-container {
    height: 68px;
  }
  .sm-games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .sm-footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .sm-calc-form {
    grid-template-columns: 1fr;
  }
  .sm-floating-btn {
    bottom: 15px;
    right: 15px;
    padding: 12px 22px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .sm-games-grid {
    grid-template-columns: 1fr;
  }
  .sm-metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
  h1.sm-hero-title {
    font-size: 1.8rem;
  }
}
