/* ==========================================================================
   Fireball Casino — Affiliate Review Site
   Design system: Dark plum + fiery orange accents
   ========================================================================== */

:root {
  /* Фон и поверхности */
  --bg: #0b050e;
  --bg-card: #150d1b;
  --bg-surf: #23162b;
  --bg-surf2: #34223f;

  /* Акценты — Fireball Orange & Red */
  --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);

  /* Типографика */
  --font-display: 'Russo One', 'Bebas Neue', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;

  /* Радиусы */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Декоративный фон — атмосферный градиент */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 1200px 700px at 15% -10%, rgba(255, 85, 31, 0.18), transparent 60%),
    radial-gradient(ellipse 900px 600px at 90% 10%, rgba(255, 51, 75, 0.12), transparent 60%),
    radial-gradient(ellipse 800px 500px at 50% 100%, rgba(255, 165, 0, 0.08), transparent 60%);
  z-index: -2;
  pointer-events: none;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.025) 1px, transparent 0);
  background-size: 32px 32px;
  z-index: -1;
  pointer-events: none;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent2); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }

/* === Typography === */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.15;
  color: var(--text);
}
h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent2) 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 2.5rem 0 1rem;
  text-transform: uppercase;
  position: relative;
  padding-left: 1.1rem;
}
h2::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 70%;
  background: linear-gradient(180deg, var(--accent), var(--accent-red));
  border-radius: 4px;
  box-shadow: 0 0 12px var(--accent);
}
h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  margin: 1.8rem 0 .8rem;
  color: var(--accent2);
  text-transform: uppercase;
}
p { margin-bottom: 1rem; color: #e9e1ef; }
strong { color: var(--text); font-weight: 700; }

/* === Layout === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Header === */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 5, 14, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.logo-link { display: inline-flex; align-items: center; }
.logo-img { height: 40px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--text2);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .8px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all .2s ease;
}
.nav a:hover, .nav a.active { color: var(--text); background: var(--bg-surf); }

.header-right { display: flex; align-items: center; gap: 16px; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-surf);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
}
.lang-switch a {
  color: var(--text2);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 7px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.lang-switch a.active {
  color: var(--text);
  background: var(--accent);
  box-shadow: 0 4px 12px rgba(255, 85, 31, 0.4);
}

/* Бургер на мобайле */
.burger {
  display: none;
  background: var(--bg-surf);
  border: 1px solid var(--border);
  width: 40px; height: 40px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
}
.burger svg { width: 22px; height: 22px; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-red) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 85, 31, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 85, 31, 0.55), inset 0 1px 0 rgba(255,255,255,0.3);
  color: #fff;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left .6s ease;
}
.btn-primary:hover::after { left: 100%; }

.btn-ghost {
  background: var(--bg-surf);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-surf2); color: var(--text); border-color: var(--accent); }

.btn-lg { padding: 20px 44px; font-size: 18px; }

/* === Hero === */
.hero {
  position: relative;
  padding: 80px 0 60px;
  text-align: center;
  overflow: hidden;
}
.hero-image {
  margin: 40px auto 0;
  max-width: 1000px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.hero-image img { width: 100%; display: block; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surf);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent2);
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
  animation: pulse 1.6s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.hero p.lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text2);
  max-width: 760px;
  margin: 0 auto 32px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === Content sections === */
.section { padding: 60px 0; }
.content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow);
}

/* === Cards grid === */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.card {
  background: var(--bg-surf);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(255, 85, 31, 0.18);
}
.card-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--accent-red));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 22px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 85, 31, 0.35);
}
.card h3 { margin-top: 0; color: var(--text); }
.card p { color: var(--text2); margin-bottom: 0; font-size: 15px; }

/* === Lists === */
ul, ol { margin: 1rem 0 1.4rem 1.2rem; }
ul li, ol li {
  margin-bottom: .55rem;
  color: #e9e1ef;
  padding-left: 6px;
}
ul li::marker { color: var(--accent); }
ol li::marker { color: var(--accent2); font-weight: 700; }

ul.checks { list-style: none; margin-left: 0; }
ul.checks li {
  position: relative;
  padding-left: 32px;
  margin-bottom: .7rem;
}
ul.checks li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-red));
  color: #fff;
  font-weight: 700;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* === Tables === */
.table-wrap { overflow-x: auto; margin: 1.2rem 0 1.6rem; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-surf);
  border-radius: var(--r-md);
  overflow: hidden;
}
th, td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
th {
  background: var(--bg-surf2);
  color: var(--accent2);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .8px;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255, 85, 31, 0.04); }

/* === Stats === */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 32px 0;
}
.stat {
  background: var(--bg-surf);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-red), var(--neon));
}
.stat-val {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--neon);
  text-shadow: 0 0 18px rgba(255, 165, 0, 0.5);
  display: block;
  line-height: 1;
}
.stat-lbl {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text2);
}

/* === FAQ === */
.faq { margin: 36px 0; }
.faq details {
  background: var(--bg-surf);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0;
  margin-bottom: 12px;
  transition: all .2s ease;
  overflow: hidden;
}
.faq details[open] { border-color: var(--accent); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 26px;
  color: var(--accent);
  transition: transform .25s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 24px 22px; color: var(--text2); }

/* === Breadcrumbs === */
.breadcrumbs {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.breadcrumbs a { color: var(--text2); }
.breadcrumbs a:hover { color: var(--accent2); }
.breadcrumbs span { color: var(--accent2); }

/* === CTA Block === */
.cta-block {
  margin: 48px 0;
  background: linear-gradient(135deg, var(--bg-surf) 0%, var(--bg-surf2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 48px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255, 85, 31, 0.18) 0%, transparent 50%);
  animation: rotate 20s linear infinite;
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.cta-block > * { position: relative; z-index: 1; }
.cta-block h2 { margin-top: 0; padding-left: 0; }
.cta-block h2::before { display: none; }

/* === Image with text === */
.image-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 32px 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.image-card img { width: 100%; display: block; }

/* === Page hero === */
.page-hero {
  padding: 56px 0 24px;
  text-align: center;
}
.page-hero p { color: var(--text2); font-size: 1.1rem; max-width: 760px; margin: 0 auto; }

/* === Footer === */
.footer {
  margin-top: 80px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 56px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 {
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent2);
  margin-bottom: 16px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 8px; padding-left: 0; }
.footer ul li::marker { display: none; }
.footer ul li a { color: var(--text2); font-size: 14px; }
.footer ul li a:hover { color: var(--accent); }
.footer .brand-desc { color: var(--text2); font-size: 14px; margin-top: 14px; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text2);
}
.footer-bottom .age {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surf);
  border: 1px solid var(--accent-red);
  color: var(--accent-red);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
}

/* === Mobile === */
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .header-inner { padding: 12px 18px; }
  .nav.open {
    display: flex;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px;
    gap: 4px;
    z-index: 99;
  }
  .nav.open a { width: 100%; padding: 12px 14px; }
}
@media (max-width: 560px) {
  h1 { font-size: 2rem; }
  .btn { padding: 14px 22px; font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .hero { padding: 40px 0 30px; }
}

/* === Utilities === */
.text-accent { color: var(--accent2); }
.text-success { color: var(--success); }
.muted { color: var(--text2); }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
