@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

: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: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', Inter, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--white);
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-mid) 50%, var(--bg-deep) 100%);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 30%, rgba(255, 107, 0, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 80% 70%, rgba(255, 140, 0, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.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;
}

/* ── HEADER ── */
.site-header {
  position: relative;
  background: rgba(11, 15, 26, 0.97);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.02em;
}

.header-buttons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn-register {
  background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
  color: var(--white);
  border: none;
  border-radius: 14px;
  padding: 0.55rem 1.4rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.45);
}

.btn-login {
  background: transparent;
  color: var(--orange-light);
  border: 1.5px solid var(--orange);
  border-radius: 14px;
  padding: 0.55rem 1.4rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-login:hover {
  background: rgba(255, 107, 0, 0.1);
  color: var(--white);
}

/* ── BREADCRUMBS ── */
.breadcrumbs {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs .sep { margin: 0 0.4rem; opacity: 0.6; }
.breadcrumbs .current { color: var(--orange); font-weight: 600; }

/* ── HERO ── */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  max-width: 820px;
  margin: 0 auto;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  right: -5%;
  top: 10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.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);
  margin: 0 auto 2rem;
  max-width: 620px;
}

.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
  color: var(--white);
  border: none;
  border-radius: 14px;
  padding: 0.85rem 2.5rem;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 25px rgba(255, 107, 0, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.55);
}

/* ── MAIN CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  position: relative;
  z-index: 1;
}

.content-card.prose {
  background: linear-gradient(160deg, var(--card-bg) 0%, var(--card-bg-alt) 100%);
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  padding: 2.5rem 2rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.content-card.prose::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), #FFB300, var(--gold));
  border-radius: 18px 18px 0 0;
}

/* ── PROSE TYPOGRAPHY ── */
.prose h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--white);
  margin: 2.5rem 0 1rem;
  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.75rem 0 0.75rem;
}

.prose p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.prose ul, .prose ol {
  color: var(--text-secondary);
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.prose li { margin-bottom: 0.45rem; }
.prose strong { color: var(--white); }

/* ── APP BONUS BANNER ── */
.app-bonus {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.08), rgba(255, 140, 0, 0.04));
  border: 1.5px solid var(--orange);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.app-bonus-icon { font-size: 2rem; flex-shrink: 0; }

.app-bonus-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.app-bonus-desc { font-size: 0.88rem; 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(160deg, var(--card-bg), var(--card-bg-alt));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1rem;
  text-align: center;
  align-self: start;
  height: auto;
  min-height: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 25px rgba(255, 107, 0, 0.2);
}

.feature-icon { font-size: 2rem; margin-bottom: 0.5rem; }

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
  border: none;
  padding: 0;
}

.feature-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ── WIDGET PANELS ── */
.widget-panel {
  background: linear-gradient(160deg, var(--card-bg), var(--card-bg-alt));
  border: 1.5px solid var(--orange);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  margin: 2rem 0;
}

.widget-panel h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.25rem;
  border: none;
  padding: 0;
}

/* ── BONUS CALCULATOR ── */
.calc-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.calc-col { flex: 1; min-width: 200px; }

.calc-col label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.calc-col input[type="range"] {
  width: 100%;
  accent-color: var(--orange);
  cursor: pointer;
}

.calc-val {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--orange);
  margin-top: 0.3rem;
}

.calc-result {
  background: rgba(255, 107, 0, 0.08);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.calc-result strong { color: var(--gold); font-size: 1.2rem; }

.calc-total {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ── SLOTS LOBBY ── */
.slots-filter { margin-bottom: 1rem; }

.slots-filter select {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  padding: 0.4rem 0.8rem;
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.slot-card {
  background: var(--card-bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s;
}

.slot-card:hover { transform: scale(1.03); }

.slot-thumb {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--card-bg), var(--card-bg-alt));
}

.slot-info { padding: 0.6rem; }

.slot-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.slot-demo {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
}

/* ── QUIZ ── */
.quiz-question {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}

.quiz-options { list-style: none; padding: 0; margin: 0 0 1rem; }

.quiz-options li { margin-bottom: 0.55rem; }

.quiz-options label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.quiz-options label:hover {
  border-color: var(--border);
  background: rgba(255, 107, 0, 0.05);
}

.quiz-options input[type="radio"] { accent-color: var(--orange); }

.btn-quiz {
  background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 0.6rem 1.5rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s;
}

.btn-quiz:hover { transform: translateY(-1px); }

.quiz-result {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--gold);
  font-weight: 600;
  display: none;
}

/* ── ROULETTE ── */
.roulette-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.roulette-wheel {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(
    #c0392b 0deg 10deg, #2c3e50 10deg 20deg, #c0392b 20deg 30deg, #2c3e50 30deg 40deg,
    #c0392b 40deg 50deg, #2c3e50 50deg 60deg, #c0392b 60deg 70deg, #2c3e50 70deg 80deg,
    #c0392b 80deg 90deg, #2c3e50 90deg 100deg, #c0392b 100deg 110deg, #2c3e50 110deg 120deg,
    #c0392b 120deg 130deg, #2c3e50 130deg 140deg, #c0392b 140deg 150deg, #2c3e50 150deg 160deg,
    #c0392b 160deg 170deg, #2c3e50 170deg 180deg, #c0392b 180deg 190deg, #2c3e50 190deg 200deg,
    #c0392b 200deg 210deg, #2c3e50 210deg 220deg, #c0392b 220deg 230deg, #2c3e50 230deg 240deg,
    #c0392b 240deg 250deg, #2c3e50 250deg 260deg, #c0392b 260deg 270deg, #2c3e50 270deg 280deg,
    #c0392b 280deg 290deg, #2c3e50 290deg 300deg, #c0392b 300deg 310deg, #2c3e50 310deg 320deg,
    #c0392b 320deg 330deg, #2c3e50 330deg 340deg, #c0392b 340deg 350deg, #2c3e50 350deg 360deg
  );
  border: 3px solid var(--gold);
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  transition: transform 2s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: default;
}

.btn-spin {
  background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 0.65rem 1.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s;
}

.btn-spin:hover { transform: translateY(-1px); }

.roulette-result {
  font-size: 0.95rem;
  color: var(--text-secondary);
  min-height: 1.5rem;
  text-align: center;
}

/* ── TABLES ── */
.table-wrapper {
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  margin: 1.5rem 0;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.data-table thead tr {
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
}

.data-table thead th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  white-space: nowrap;
}

.data-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.15s;
}

.data-table tbody tr:hover { background: var(--card-hover); }

.data-table tbody td {
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.data-table tbody td b { color: var(--gold); }

/* ── CTA BLOCK ── */
.cta-block {
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), rgba(255, 140, 0, 0.05));
  border: 1.5px solid rgba(255, 107, 0, 0.3);
  border-radius: 18px;
  padding: 3rem 2rem;
  text-align: center;
  margin: 2rem 0;
}

.cta-block h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  border: none;
  padding: 0;
}

.cta-block p {
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 1.75rem;
}

.cta-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ── FOOTER ── */
.site-footer {
  background: rgba(11, 15, 26, 0.97);
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.pay-chip {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-copy a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-copy a:hover { color: var(--orange); }

/* ── STEP LIST ── */
.step-list {
  counter-reset: steps;
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.25rem;
}

.step-list li {
  counter-increment: steps;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: var(--text-secondary);
}

.step-list li::before {
  content: counter(steps);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ── FAQ ── */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card-bg);
  font-size: 0.95rem;
  transition: background 0.2s;
}

.faq-item summary:hover { background: var(--card-hover); }

.faq-item summary::after {
  content: '+';
  color: var(--orange);
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: '−'; }

.faq-body {
  padding: 0.85rem 1.25rem 1rem;
  background: var(--card-bg-alt);
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  :root { --header-h: 116px; }

  body { font-size: 0.875rem; line-height: 1.55; }

  .header-inner {
    flex-direction: column;
    height: auto;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }

  .logo { justify-content: center; }

  .header-buttons { width: 100%; gap: 0.5rem; }

  .btn-register, .btn-login {
    flex: 1;
    min-height: 42px;
    padding: 0.55rem 0.5rem;
    font-size: 0.85rem;
  }

  .hero { padding: 2.5rem 1rem 2rem; }
  .hero h1 { font-size: clamp(1.35rem, 5.5vw, 1.75rem); }
  .hero-lead { font-size: 0.875rem; }

  .content-card.prose {
    border-radius: 14px;
    padding: 1.5rem 1rem;
  }

  .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 { grid-template-columns: repeat(2, 1fr); }
  .slots-grid { grid-template-columns: repeat(2, 1fr); }

  .data-table { min-width: unset; }
  .data-table thead { display: none; }

  .data-table tbody tr {
    display: block;
    margin-bottom: 0.75rem;
    border-radius: 10px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 0.5rem;
  }

  .data-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .data-table tbody td:last-child { border-bottom: none; }

  .data-table tbody td::before {
    content: attr(data-label);
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
    margin-right: 0.5rem;
  }

  .cta-block { padding: 2rem 1rem; }
  .widget-panel { padding: 1.25rem 1rem; }
  .calc-row { gap: 1rem; }
}

@media (max-width: 380px) {
  body { font-size: 0.8125rem; }
  .prose h2 { font-size: 1rem; }
  .feature-grid { gap: 0.6rem; }
}
