/* ===================================================
   VOX Casino – Dark Orange · styles.css · v1
   =================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* ---------- Custom Properties ---------- */
:root {
  --bg-deep:        #0B0F1A;
  --bg-mid:         #111827;
  --bg-light:       #1A2236;
  --cta-start:      #FF6B00;
  --cta-end:        #FF8C00;
  --orange:         #FF6B00;
  --orange-light:   #FF8C00;
  --neon-start:     #FF6B00;
  --gold:           #FFC107;
  --gold-light:     #FFD54F;
  --white:          #FFFFFF;
  --text-secondary: #B0B3C7;
  --text-muted:     #8A8FA3;
  --card-bg:        #151C2C;
  --card-bg-alt:    #1C2438;
  --card-hover:     #22304A;
  --border:         rgba(255, 107, 0, 0.2);
  --header-h:       70px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: 'Poppins', Inter, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-mid) 50%, var(--bg-deep) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(255,107,0,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 35% at 15% 75%, rgba(180,70,0,0.08) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Skip Link ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.sr-only:focus {
  position: fixed;
  top: 8px; left: 8px;
  width: auto; height: auto;
  clip: auto;
  padding: 8px 16px;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  z-index: 9999;
}

/* ---------- Buttons ---------- */
.btn-register,
.btn-login,
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: opacity .2s, transform .15s, box-shadow .2s;
  border-radius: 14px;
  white-space: nowrap;
}
.btn-register,
.btn-cta {
  background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
  color: var(--white);
  padding: 10px 22px;
  box-shadow: 0 4px 18px rgba(255,107,0,0.35);
}
.btn-login {
  background: transparent;
  color: var(--orange-light);
  border: 1.5px solid var(--orange);
  padding: 9px 20px;
}
.btn-register:hover, .btn-cta:hover { opacity: .88; transform: translateY(-1px); }
.btn-login:hover { background: rgba(255,107,0,0.1); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11,15,26,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  transition: box-shadow .25s;
}
.site-header.is-pinned {
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img {
  height: 42px;
  width: auto;
  display: block;
}
.header-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem 0;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.breadcrumbs li + li::before { content: '›'; margin-right: 4px; }
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs .current { color: var(--orange); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 4rem 1.5rem 3.5rem;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -80px; top: -60px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-title {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.hero-highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}
.hero-lead em { color: var(--orange-light); font-style: normal; font-weight: 600; }
.hero .btn-cta {
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 16px;
  position: relative;
  z-index: 1;
}

/* ---------- Main Container ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  position: relative;
  z-index: 1;
}

/* ---------- Content Card ---------- */
.content-card {
  background: linear-gradient(160deg, var(--card-bg) 0%, var(--card-bg-alt) 100%);
  border-radius: 18px;
  padding: 2.5rem 2.5rem 2rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}
.content-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), #FFB300, var(--gold));
}

/* ---------- Prose Typography ---------- */
.prose h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--white);
  margin: 2.25rem 0 0.85rem;
  padding-left: 1rem;
  border-left: 4px solid var(--orange);
  line-height: 1.3;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--orange);
  margin: 1.5rem 0 0.6rem;
}
.prose p {
  margin-bottom: 0.9rem;
  color: var(--text-secondary);
}
.prose ul, .prose ol {
  margin: 0.5rem 0 1rem 1.4rem;
  color: var(--text-secondary);
}
.prose li { margin-bottom: 0.3rem; }
.prose strong { color: var(--white); }
.prose a { color: var(--orange-light); text-decoration: none; }
.prose a:hover { text-decoration: underline; }

/* ---------- App Bonus Banner ---------- */
.app-bonus {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border: 1.5px solid var(--orange);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,107,0,0.08), rgba(255,140,0,0.04));
  margin: 1.5rem 0;
}
.app-bonus-icon { font-size: 2rem; flex-shrink: 0; }
.app-bonus-text strong { color: var(--gold); font-size: 1rem; display: block; margin-bottom: 2px; }
.app-bonus-text span { font-size: 0.85rem; color: var(--text-secondary); }

/* ---------- Feature Grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
  align-items: start;
  grid-auto-rows: min-content;
}
.feature-card {
  background: linear-gradient(145deg, var(--card-bg), var(--bg-mid));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem;
  text-align: center;
  align-self: start;
  height: auto;
  min-height: 0;
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(255,107,0,0.18);
}
.feature-card-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.feature-card h3 {
  font-size: 0.95rem;
  color: var(--orange-light);
  margin: 0 0 0.35rem;
}
.feature-card p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* ---------- Widget Panel ---------- */
.widget-panel {
  background: linear-gradient(155deg, #0e1420, #171f30);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 1.75rem 1.5rem;
  margin: 2rem 0;
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}
.widget-panel h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 1.25rem;
  padding-left: 0;
  border-left: none;
}

/* Bonus Calculator */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.calc-field label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.calc-field .val-display {
  color: var(--orange-light);
  font-weight: 600;
  font-size: 0.9rem;
}
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--orange) var(--pct, 50%), rgba(255,107,0,0.2) var(--pct, 50%));
  outline: none;
  cursor: pointer;
  margin-top: 0.5rem;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--orange-light);
  box-shadow: 0 0 6px rgba(255,107,0,0.5);
  cursor: pointer;
}
.calc-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(255,107,0,0.08);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.calc-result strong { color: var(--gold-light); font-size: 1.15rem; }

/* Slot Lobby */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin-bottom: 1rem;
}
.slot-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 0.75rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color .2s, transform .15s;
}
.slot-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.slot-emoji { font-size: 2rem; display: block; margin-bottom: 0.4rem; }
.slot-name { font-weight: 600; color: var(--white); display: block; font-size: 0.85rem; }
.slot-provider { color: var(--text-muted); font-size: 0.75rem; display: block; margin-bottom: 0.4rem; }
.slot-demo-btn {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.demo-notice {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
}

/* Quiz */
.quiz-options { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.quiz-options li label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: border-color .2s;
}
.quiz-options li label:hover { border-color: var(--orange); }
.quiz-question { color: var(--white); font-weight: 600; margin-bottom: 0.75rem; }
.quiz-submit {
  margin-top: 1rem;
  padding: 9px 24px;
  background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.quiz-result {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
}
.quiz-result.correct { background: rgba(76,175,80,0.15); color: #81C784; border: 1px solid rgba(76,175,80,0.3); }
.quiz-result.wrong   { background: rgba(255,107,0,0.12); color: var(--orange-light); border: 1px solid var(--border); }

/* Roulette */
.roulette-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.roulette-wheel {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: conic-gradient(
    #c0392b 0deg 20deg, #2c3e50 20deg 40deg, #c0392b 40deg 60deg, #2c3e50 60deg 80deg,
    #c0392b 80deg 100deg, #27ae60 100deg 120deg, #c0392b 120deg 140deg, #2c3e50 140deg 160deg,
    #c0392b 160deg 180deg, #2c3e50 180deg 200deg, #c0392b 200deg 220deg, #2c3e50 220deg 240deg,
    #c0392b 240deg 260deg, #2c3e50 260deg 280deg, #c0392b 280deg 300deg, #2c3e50 300deg 320deg,
    #c0392b 320deg 340deg, #2c3e50 340deg 360deg
  );
  border: 4px solid var(--gold);
  box-shadow: 0 0 20px rgba(255,193,7,0.3);
  transition: transform 3s cubic-bezier(0.17,0.67,0.12,0.99);
  flex-shrink: 0;
}
.roulette-info { flex: 1; min-width: 160px; }
.roulette-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.roulette-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.roulette-spin-btn {
  padding: 9px 22px;
  background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

/* ---------- Tables ---------- */
.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  margin: 1.25rem 0;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.data-table thead tr {
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
}
.data-table thead th {
  padding: 0.85rem 1rem;
  text-align: left;
  color: var(--white);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: .8px;
  text-transform: uppercase;
  white-space: nowrap;
}
.data-table tbody tr {
  border-bottom: 1px solid rgba(255,107,0,0.08);
  transition: background .15s;
}
.data-table tbody tr:last-child { border-bottom: none; }
.data-table tbody tr:hover { background: var(--card-hover); }
.data-table td {
  padding: 0.8rem 1rem;
  color: var(--text-secondary);
  vertical-align: middle;
}
.data-table td b { color: var(--gold); }

/* ---------- Steps ---------- */
.steps-list {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0.5rem 0 1rem;
}
.steps-list li {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,107,0,0.07);
}
.steps-list li:last-child { border-bottom: none; }
.steps-list li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---------- CTA Block ---------- */
.cta-block {
  text-align: center;
  padding: 3.5rem 1.5rem;
  margin-top: 2rem;
  position: relative;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(255,107,0,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-block h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--white);
  margin-bottom: 0.75rem;
  position: relative;
}
.cta-block p {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 1.75rem;
  position: relative;
}
.cta-block .btn-cta {
  font-size: 1.05rem;
  padding: 15px 40px;
  position: relative;
}
.cta-disclaimer {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  position: relative;
}

/* ---------- Footer ---------- */
.site-footer {
  background: rgba(11,15,26,0.95);
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.pay-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.pay-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: .4px;
}
.footer-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-text a { color: var(--orange-light); text-decoration: none; }
.footer-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  color: var(--orange);
  font-weight: 700;
  font-size: 0.7rem;
  margin-left: 6px;
  vertical-align: middle;
}

/* ---------- FAQ Accordion ---------- */
.faq-item {
  border-bottom: 1px solid rgba(255,107,0,0.1);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
  cursor: pointer;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
  gap: 0.5rem;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-toggle {
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform .25s, background .2s;
}
details[open] .faq-toggle { transform: rotate(45deg); background: rgba(255,107,0,0.15); }
.faq-answer {
  padding: 0 0 0.9rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ---------- Largest Wins Table (widget) ---------- */
.wins-table-wrap { margin-top: 0.75rem; }

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 768px) {
  :root { --header-h: 112px; }

  body { font-size: 0.875rem; line-height: 1.55; }

  /* Header 2 rows */
  .header-inner {
    flex-direction: column;
    justify-content: center;
    padding: 10px 1rem;
    gap: 8px;
    height: auto;
    min-height: var(--header-h);
  }
  .header-buttons {
    width: 100%;
    gap: 8px;
  }
  .btn-register, .btn-login {
    flex: 1;
    min-height: 42px;
    font-size: 0.82rem;
    padding: 10px 12px;
  }

  /* Hero */
  .hero { padding: 2.5rem 1rem 2rem; }
  .hero-title { font-size: clamp(1.35rem, 5.5vw, 1.75rem); }
  .hero-lead { font-size: 0.875rem; }

  /* Content */
  .content-card { border-radius: 14px; padding: 1.5rem 1.1rem 1.25rem; }

  .prose h2 { font-size: clamp(1.05rem, 4vw, 1.35rem); }
  .prose h3 { font-size: 0.95rem; }
  .prose p, .prose li { font-size: 0.875rem; }

  /* Feature grid 2 cols */
  .feature-grid { grid-template-columns: repeat(2, 1fr); }

  /* Calc grid stacked */
  .calc-grid { grid-template-columns: 1fr; }

  /* Slots 2 col */
  .slots-grid { grid-template-columns: repeat(2, 1fr); }

  /* Tables → card layout */
  .data-table thead { display: none; }
  .data-table tbody tr {
    display: block;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
  }
  .data-table tbody tr:hover { background: var(--card-hover); }
  .data-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.85rem;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255,107,0,0.06);
  }
  .data-table td:last-child { border-bottom: none; }
  .data-table td::before {
    content: attr(data-label);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-right: 0.5rem;
    flex-shrink: 0;
  }
  .table-wrapper { border: none; box-shadow: none; overflow: visible; }

  /* Widget */
  .widget-panel { padding: 1.25rem 1rem 1rem; }

  /* Breadcrumbs */
  .breadcrumbs-wrap { padding: 0.5rem 1rem 0; }

  /* CTA */
  .cta-block { padding: 2.5rem 1rem; }
}

@media (max-width: 380px) {
  body { font-size: 0.8125rem; }
  .prose h2 { font-size: clamp(0.95rem, 4.5vw, 1.1rem); }
  .hero-title { font-size: clamp(1.2rem, 6vw, 1.5rem); }
  .slots-grid { grid-template-columns: 1fr; }
}
