/* ============================
   FIREBALL CASINO - DESIGN SYSTEM
   ============================ */
:root {
  --bg: #0b050e;
  --bg-card: #150d1b;
  --bg-surf: #23162b;
  --bg-surf2: #34223f;
  --accent: #ff551f;
  --accent2: #ff7343;
  --accent-red: #ff334b;
  --neon: #ffa500;
  --success: #2ec167;
  --text: #ffffff;
  --text2: #9d8fa9;
  --border: rgba(255, 85, 31, 0.15);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background fire decoration */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 85, 31, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(255, 51, 75, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

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

a { color: var(--accent2); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--neon); }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 5, 14, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 40px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  color: var(--text2);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all .2s ease;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--text);
  background: var(--bg-surf);
}

.header-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-red));
  color: var(--text) !important;
  padding: 10px 22px !important;
  border-radius: 10px;
  font-weight: 700 !important;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(255, 85, 31, 0.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 85, 31, 0.5);
  color: var(--text) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
}

/* ============ LAYOUT ============ */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
main { min-height: calc(100vh - 200px); padding: 40px 0 80px; }
section { margin: 56px 0; }

/* ============ HERO ============ */
.hero {
  margin: 24px 0 48px;
  padding: 56px 40px;
  background:
    radial-gradient(ellipse at top right, rgba(255, 85, 31, 0.18), transparent 60%),
    linear-gradient(135deg, var(--bg-surf) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 165, 0, 0.12), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #fff 0%, var(--accent2) 50%, var(--neon) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead { font-size: 17px; color: var(--text2); margin-bottom: 24px; max-width: 560px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surf2);
  color: var(--text);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
}
.badge.neon { color: var(--neon); border-color: rgba(255, 165, 0, 0.3); }
.badge.success { color: var(--success); border-color: rgba(46, 193, 103, 0.3); }

.hero-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  background: var(--bg-card);
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-red) 100%);
  color: var(--text);
  box-shadow: 0 6px 20px rgba(255, 85, 31, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 85, 31, 0.55);
  color: var(--text);
}
.btn-secondary {
  background: var(--bg-surf2);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--bg-surf); color: var(--text); }
.btn-large { padding: 18px 36px; font-size: 17px; }

.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============ CONTENT ============ */
h1, h2, h3, h4 { color: var(--text); line-height: 1.25; font-weight: 700; }
h2 {
  font-size: clamp(22px, 3vw, 32px);
  margin: 0 0 18px;
  position: relative;
  padding-left: 18px;
}
h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-red));
}
h3 { font-size: clamp(18px, 2vw, 22px); margin: 28px 0 12px; color: var(--accent2); }

p { margin: 0 0 16px; color: var(--text2); }
p strong, li strong { color: var(--text); font-weight: 600; }

ul, ol { margin: 0 0 20px 22px; color: var(--text2); }
ul li, ol li { margin-bottom: 8px; }
ul li::marker { color: var(--accent); }
ol li::marker { color: var(--neon); font-weight: 700; }

/* ============ CARDS ============ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: transform .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 85, 31, 0.4);
}
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-red));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.card h3 { margin-top: 0; margin-bottom: 10px; color: var(--text); font-size: 18px; }
.card p { margin-bottom: 0; font-size: 14.5px; }

/* ============ TABLE ============ */
.table-wrap { overflow-x: auto; margin: 24px 0; border-radius: 14px; border: 1px solid var(--border); }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  font-size: 15px;
}
table thead { background: var(--bg-surf); }
table th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  color: var(--text);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--accent);
}
table td {
  padding: 14px 18px;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
}
table tr:last-child td { border-bottom: none; }
table tr:hover td { background: rgba(255, 85, 31, 0.04); color: var(--text); }

/* ============ INFO BOX ============ */
.info-box {
  background: linear-gradient(135deg, rgba(255, 85, 31, 0.06), rgba(255, 51, 75, 0.04));
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 24px 0;
}
.info-box.warning { border-left-color: var(--accent-red); background: rgba(255, 51, 75, 0.06); }
.info-box.success { border-left-color: var(--success); background: rgba(46, 193, 103, 0.06); }
.info-box p:last-child { margin-bottom: 0; }

/* ============ FAQ ============ */
.faq-section { margin: 48px 0; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item:hover { border-color: rgba(255, 85, 31, 0.3); }
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  padding: 18px 22px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: inherit;
}
.faq-q::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--accent);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-item.open .faq-a { padding: 0 22px 20px; max-height: 800px; }
.faq-a p:last-child { margin-bottom: 0; }

/* ============ CTA BLOCK ============ */
.cta-block {
  margin: 56px 0;
  padding: 48px 40px;
  background:
    radial-gradient(ellipse at center, rgba(255, 85, 31, 0.15), transparent 70%),
    var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  text-align: center;
}
.cta-block h2 { padding-left: 0; margin-bottom: 12px; }
.cta-block h2::before { display: none; }
.cta-block p { font-size: 17px; margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ============ BREADCRUMB ============ */
.breadcrumb {
  font-size: 13px;
  color: var(--text2);
  margin: 16px 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text2); }
.breadcrumb a:hover { color: var(--accent2); }
.breadcrumb .sep { color: var(--bg-surf2); }
.breadcrumb .current { color: var(--text); }

/* ============ STATS ============ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 32px 0;
}
.stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
}
.stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent2);
  margin-bottom: 4px;
  background: linear-gradient(135deg, var(--accent2), var(--neon));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 13px; color: var(--text2); text-transform: uppercase; letter-spacing: 0.5px; }

/* ============ TWO COL ============ */
.two-col {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  align-items: center;
  margin: 40px 0;
}
.two-col.reverse { grid-template-columns: 1fr 1.3fr; }
.two-col .img-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
}
.two-col img { width: 100%; height: 100%; object-fit: cover; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-col h4 {
  color: var(--text);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text2); font-size: 14px; }
.footer-col a:hover { color: var(--accent2); }
.footer-about p { font-size: 14px; margin-top: 14px; }
.footer-logos { display: flex; align-items: center; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.footer-logos .age-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surf2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: var(--accent-red);
  border: 2px solid var(--accent-red);
}
.footer-logos .resp-link { color: var(--text2); font-size: 13px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text2);
}
.footer-bottom p { margin-bottom: 6px; color: var(--text2); font-size: 13px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 36px 28px; }
  .two-col, .two-col.reverse { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-card);
    padding: 14px;
    gap: 6px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all .2s ease;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { width: 100%; padding: 12px 16px; }
  .header-inner { position: relative; padding: 12px 18px; }
  .container { padding: 0 18px; }
  .hero { padding: 28px 22px; }
  .cta-block { padding: 32px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  section { margin: 40px 0; }
}

@media (max-width: 480px) {
  .btn { padding: 12px 22px; font-size: 14px; }
  .btn-large { padding: 14px 24px; font-size: 15px; }
  table { font-size: 13px; }
  table th, table td { padding: 10px 12px; }
}
