/* ═══════════════════════════════════════════════════════════════════════════════
   SPINALTO CASINO OFFICIAL STYLESHEET (DRMAX SINGLE-PAGE COMPLIANT)
   Domain: spinaltocasino.casino | Brand: Spinalto | GEO: Netherlands / Dutch
   Theme: Midnight Sapphire, Electric Violet & Neon Cyan
   ═══════════════════════════════════════════════════════════════════════════════ */

:root {
  --sp-bg-root: #090c17;
  --sp-bg-surface: #0f1629;
  --sp-bg-card: #151e36;
  --sp-bg-elevated: #1d2a4d;
  --sp-accent-primary: #8b5cf6;
  --sp-accent-secondary: #06b6d4;
  --sp-accent-neon: #38bdf8;
  --sp-accent-gold: #f59e0b;
  --sp-accent-green: #10b981;
  --sp-text-primary: #f8fafc;
  --sp-text-secondary: #94a3b8;
  --sp-text-muted: #64748b;
  --sp-border-subtle: rgba(255, 255, 255, 0.08);
  --sp-border-glow: rgba(139, 92, 246, 0.35);
  --sp-shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --sp-shadow-glow: 0 0 25px rgba(139, 92, 246, 0.25);
  --sp-radius-sm: 8px;
  --sp-radius-md: 14px;
  --sp-radius-lg: 20px;
  --sp-header-h: 74px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
  background-color: var(--sp-bg-root);
  color: var(--sp-text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background-color: var(--sp-bg-root);
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(139, 92, 246, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 90% 65%, rgba(6, 182, 212, 0.06) 0%, transparent 40%);
  background-attachment: fixed;
  color: var(--sp-text-primary);
  font-size: 16px;
}

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

a {
  color: var(--sp-accent-neon);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #ffffff;
}

.sp-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── HEADER & NAVIGATION ─── */
.sp-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--sp-header-h);
  background: rgba(15, 22, 41, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: none;
  border-bottom: none;
  box-shadow: none;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.sp-navbar .sp-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
}

.sp-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #ffffff;
  text-transform: uppercase;
}

.sp-logo-accent {
  background: linear-gradient(135deg, var(--sp-accent-primary), var(--sp-accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sp-logo-badge {
  background: linear-gradient(135deg, var(--sp-accent-primary), #6366f1);
  color: #ffffff;
  padding: 2px 7px;
  border-radius: var(--sp-radius-sm);
  font-size: 11px;
  font-weight: 800;
}

.sp-nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 22px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border: none;
  outline: none;
}

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

.sp-nav-menu a {
  color: var(--sp-text-secondary);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 0;
  position: relative;
}

.sp-nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--sp-accent-primary);
  transition: width 0.25s ease;
}

.sp-nav-menu a:hover {
  color: #ffffff;
}

.sp-nav-menu a:hover::after {
  width: 100%;
}

.sp-header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sp-accent-primary) 0%, #6d28d9 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 24px;
  border-radius: var(--sp-radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
  min-width: 44px;
}

.sp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(139, 92, 246, 0.6);
  color: #ffffff;
}

.sp-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--sp-text-primary);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 20px;
  border-radius: var(--sp-radius-sm);
  border: 1px solid var(--sp-border-subtle);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  min-height: 44px;
  min-width: 44px;
}

.sp-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--sp-accent-secondary);
  color: #ffffff;
}

/* ─── SECTION COMMON ─── */
.sp-section {
  padding: 70px 0;
  border-bottom: 1px solid var(--sp-border-subtle);
}

.sp-section-header {
  margin-bottom: 35px;
  text-align: left;
}

.sp-badge-tag {
  display: inline-block;
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.35);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.25;
}

h3 {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  color: #f1f5f9;
  margin: 30px 0 14px 0;
  line-height: 1.35;
}

p {
  color: var(--sp-text-secondary);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 18px;
}

/* ─── DIRECT ANSWER BLOCK ─── */
.sp-direct-answer {
  background: linear-gradient(135deg, rgba(21, 30, 54, 0.95), rgba(15, 22, 41, 0.9));
  border-left: 4px solid var(--sp-accent-primary);
  border-top: 1px solid var(--sp-border-subtle);
  border-right: 1px solid var(--sp-border-subtle);
  border-bottom: 1px solid var(--sp-border-subtle);
  border-radius: 0 var(--sp-radius-md) var(--sp-radius-md) 0;
  padding: 20px 24px;
  margin: 20px 0 30px 0;
  box-shadow: var(--sp-shadow-card);
}

.sp-direct-answer p {
  color: #e2e8f0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 0;
}

.sp-direct-answer strong {
  color: #ffffff;
  font-weight: 700;
}

/* ─── HERO SECTION ─── */
#hero {
  padding-top: calc(var(--sp-header-h) + 40px);
  padding-bottom: 60px;
}

.sp-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.sp-hero-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 25px;
}

.sp-spec-card {
  background: var(--sp-bg-card);
  border: 1px solid var(--sp-border-subtle);
  border-radius: var(--sp-radius-md);
  padding: 16px;
}

.sp-spec-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--sp-text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.sp-spec-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--sp-accent-secondary);
}

.sp-hero-banner {
  border-radius: var(--sp-radius-lg);
  overflow: hidden;
  border: 1px solid var(--sp-border-subtle);
  box-shadow: var(--sp-shadow-glow);
  aspect-ratio: 16 / 9;
}

.sp-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── DATA TABLES ─── */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 25px 0 35px 0;
  border-radius: var(--sp-radius-md);
  border: 1px solid var(--sp-border-subtle);
  box-shadow: var(--sp-shadow-card);
  background: var(--sp-bg-surface);
}

.sp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 550px;
}

.sp-table th {
  background: var(--sp-bg-elevated);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 16px 20px;
  border-bottom: 2px solid rgba(139, 92, 246, 0.4);
}

.sp-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--sp-border-subtle);
  color: var(--sp-text-secondary);
  font-size: 14px;
}

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

.sp-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
}

.sp-table strong {
  color: #ffffff;
}

.sp-badge-status {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

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

.sp-status-fast {
  background: rgba(6, 182, 212, 0.15);
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

/* ─── WAGERING CALCULATOR ─── */
.sp-calc-card {
  background: linear-gradient(145deg, var(--sp-bg-card), var(--sp-bg-surface));
  border: 1px solid var(--sp-border-glow);
  border-radius: var(--sp-radius-lg);
  padding: 30px;
  margin: 30px 0;
  box-shadow: var(--sp-shadow-glow);
}

.sp-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.sp-calc-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sp-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sp-form-group label {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.sp-calc-slider {
  width: 100%;
  accent-color: var(--sp-accent-primary);
  height: 8px;
  cursor: pointer;
}

.sp-calc-input-wrap {
  display: flex;
  align-items: center;
  background: var(--sp-bg-elevated);
  border: 1px solid var(--sp-border-subtle);
  border-radius: var(--sp-radius-sm);
  padding: 0 14px;
}

.sp-calc-input-wrap span {
  color: var(--sp-accent-secondary);
  font-weight: 800;
  font-size: 18px;
}

.sp-calc-input-wrap input {
  width: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  padding: 12px;
  outline: none;
}

.sp-calc-summary {
  background: var(--sp-bg-elevated);
  border: 1px solid var(--sp-border-subtle);
  border-radius: var(--sp-radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sp-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--sp-text-secondary);
}

.sp-summary-row.sp-highlight {
  border-top: 1px solid var(--sp-border-subtle);
  padding-top: 14px;
  font-size: 16px;
  color: #ffffff;
}

.sp-summary-row.sp-highlight .sp-summary-val {
  font-size: 24px;
  font-weight: 900;
  color: var(--sp-accent-secondary);
}

/* ─── GAMES SHOWCASE (8 GAMES GRID) ─── */
.sp-games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.sp-game-card {
  background: var(--sp-bg-card);
  border: 1px solid var(--sp-border-subtle);
  border-radius: var(--sp-radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.sp-game-card:hover {
  transform: translateY(-6px);
  border-color: var(--sp-accent-primary);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4), 0 0 15px rgba(139, 92, 246, 0.2);
}

.sp-game-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000000;
}

.sp-game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

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

.sp-game-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.sp-game-provider {
  font-size: 12px;
  color: var(--sp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.sp-game-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.3);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 0;
  border-radius: var(--sp-radius-sm);
  transition: all 0.2s ease;
  min-height: 44px;
}

.sp-game-card:hover .sp-game-cta {
  background: var(--sp-accent-primary);
  color: #ffffff;
  border-color: var(--sp-accent-primary);
}

/* ─── PWA & STEP GUIDES ─── */
.sp-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 25px 0 35px 0;
}

.sp-step-box {
  background: var(--sp-bg-card);
  border: 1px solid var(--sp-border-subtle);
  border-radius: var(--sp-radius-md);
  padding: 24px;
  position: relative;
}

.sp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--sp-accent-primary), var(--sp-accent-secondary));
  color: #ffffff;
  font-weight: 900;
  border-radius: 50%;
  margin-bottom: 16px;
}

.sp-step-box h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.sp-step-box p {
  font-size: 14px;
  margin-bottom: 0;
}

/* ─── VIP LEVELS ─── */
.sp-vip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.sp-vip-card {
  background: var(--sp-bg-card);
  border: 1px solid var(--sp-border-subtle);
  border-radius: var(--sp-radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.2s ease;
}

.sp-vip-card:hover {
  transform: translateY(-4px);
  border-color: var(--sp-accent-secondary);
}

.sp-vip-tier {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.sp-vip-cashback {
  font-size: 28px;
  font-weight: 900;
  color: var(--sp-accent-secondary);
  margin-bottom: 14px;
}

.sp-vip-features {
  list-style: none;
  font-size: 13px;
  color: var(--sp-text-secondary);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ─── FAQ ACCORDION (ALWAYS OPEN DETAILS) ─── */
.sp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 30px 0;
}

details.sp-faq-item {
  background: var(--sp-bg-card);
  border: 1px solid var(--sp-border-subtle);
  border-left: 4px solid var(--sp-accent-primary);
  border-radius: 0 var(--sp-radius-md) var(--sp-radius-md) 0;
  padding: 18px 24px;
  box-shadow: var(--sp-shadow-card);
}

details.sp-faq-item summary {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 28px;
  user-select: none;
}

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

details.sp-faq-item summary::after {
  content: "−";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 800;
  color: var(--sp-accent-secondary);
}

details.sp-faq-item[open] summary::after {
  content: "−";
}

details.sp-faq-item:not([open]) summary::after {
  content: "+";
}

details.sp-faq-item p {
  margin-top: 14px;
  margin-bottom: 0;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.7;
}

/* ─── FOOTER ─── */
.sp-footer {
  background: #060912;
  border-top: 1px solid var(--sp-border-subtle);
  padding: 60px 0 100px 0;
  color: var(--sp-text-muted);
  font-size: 14px;
}

.sp-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.sp-footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.sp-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sp-footer-links a {
  color: var(--sp-text-secondary);
}

.sp-footer-links a:hover {
  color: var(--sp-accent-neon);
}

.sp-footer-bottom {
  border-top: 1px solid var(--sp-border-subtle);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.sp-18-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #ef4444;
  color: #ef4444;
  font-weight: 900;
  font-size: 14px;
}

/* ─── STICKY CTA CONVERSION BAR ─── */
.sp-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 22, 41, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--sp-border-glow);
  padding: 12px 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.sp-sticky-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sp-sticky-bonus {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.sp-sticky-bonus span {
  color: var(--sp-accent-secondary);
}

/* ─── MOBILE ADAPTATION ─── */
@media (max-width: 992px) {
  .sp-hero-grid {
    grid-template-columns: 1fr;
  }
  .sp-games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sp-vip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sp-calc-grid {
    grid-template-columns: 1fr;
  }
  .sp-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  :root {
    --sp-header-h: 64px;
  }
  .sp-nav-menu {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 6px 0;
    max-width: calc(100vw - 160px);
  }
  .sp-nav-menu::-webkit-scrollbar {
    display: none;
  }
  .sp-nav-menu a {
    font-size: 12px;
  }
  .sp-header-cta .sp-btn-secondary {
    display: none;
  }
  .sp-steps-grid {
    grid-template-columns: 1fr;
  }
  .sp-vip-grid {
    grid-template-columns: 1fr;
  }
  .sp-sticky-info {
    display: none;
  }
  .sp-sticky-bar {
    justify-content: center;
  }
  .sp-sticky-bar .sp-btn-primary {
    width: 100%;
  }
}
