/* === Fireball Casino Hungary — 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);
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse at top left, rgba(255, 85, 31, 0.08), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(255, 51, 75, 0.06), transparent 50%);
  background-attachment: fixed;
}

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

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 5, 14, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 18px;
}
.logo-link { display: inline-flex; align-items: center; }
.logo-img { height: 40px; width: auto; }

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

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-red));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 20px rgba(255, 85, 31, 0.35);
  transition: all .25s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 85, 31, 0.55);
  color: #fff;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
}
.cta-btn.lg { font-size: 16px; padding: 16px 36px; }

.burger {
  display: none;
  background: var(--bg-surf);
  border: 1px solid var(--border);
  color: var(--text);
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 20px;
  align-items: center; justify-content: center;
}

@media (max-width: 920px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 12px;
    border-bottom: 1px solid var(--border);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; }
  .burger { display: inline-flex; }
  .header-cta { display: none; }
}
@media (max-width: 480px) {
  .header-inner { padding: 12px 16px; }
}

/* === HERO === */
.hero {
  padding: 60px 0 50px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
.hero h1 .accent { color: var(--accent); }
.hero p.lead {
  color: var(--text2);
  font-size: 17px;
  margin-bottom: 28px;
  max-width: 560px;
}
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.hero-img-wrap img { width: 100%; }
.hero-meta {
  display: flex;
  gap: 18px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.hero-meta .stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  min-width: 110px;
}
.hero-meta .stat-num { color: var(--accent); font-weight: 800; font-size: 20px; display: block; }
.hero-meta .stat-lbl { color: var(--text2); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }

@media (max-width: 820px) {
  .hero { padding: 36px 0 30px; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
}

/* === SECTIONS === */
section { padding: 50px 0; }
section.tight { padding: 36px 0; }
h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}
h2 .accent { color: var(--accent); }
h3 {
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 700;
  margin: 26px 0 12px;
  color: var(--text);
}
p { margin-bottom: 16px; color: #d8d2dd; }
.muted { color: var(--text2); }

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

/* === CARDS GRID === */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 85, 31, 0.04));
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.card:hover {
  border-color: rgba(255, 85, 31, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.card:hover::before { opacity: 1; }
.card .icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--accent), var(--accent-red));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.card h3 { margin-top: 0; }
.card p { margin-bottom: 0; font-size: 15px; }

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

/* === FEATURES BAND === */
.features-band {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 22px;
  margin: 30px 0;
}
.feat {
  text-align: center;
  padding: 8px;
}
.feat-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}
.feat-lbl {
  color: var(--text2);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === STEPS === */
.steps {
  counter-reset: stepc;
  display: grid;
  gap: 16px;
  margin: 22px 0;
}
.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  counter-increment: stepc;
}
.step::before {
  content: counter(stepc);
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--neon));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  align-self: start;
}
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; font-size: 15px; }

/* === FAQ === */
.faq { margin: 26px 0; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text);
  user-select: none;
}
.faq-q::after {
  content: '+';
  color: var(--accent);
  font-size: 24px;
  font-weight: 700;
  transition: transform .25s ease;
  line-height: 1;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s ease;
  padding: 0 22px;
  color: #d8d2dd;
}
.faq-item.open .faq-a {
  max-height: 600px;
  padding: 0 22px 18px;
}

/* === CTA BLOCK === */
.cta-block {
  background: linear-gradient(135deg, var(--bg-surf), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin: 36px 0;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(255, 85, 31, 0.15), transparent 70%);
  pointer-events: none;
}
.cta-block h2 { position: relative; }
.cta-block p { position: relative; max-width: 600px; margin: 0 auto 22px; }
.cta-block .cta-btn { position: relative; }

/* === BREADCRUMBS === */
.crumbs {
  font-size: 13px;
  color: var(--text2);
  padding: 18px 0 0;
}
.crumbs a { color: var(--text2); }
.crumbs a:hover { color: var(--accent); }
.crumbs span.sep { margin: 0 8px; opacity: 0.5; }
.crumbs span.current { color: var(--text); }

/* === HIGHLIGHT BOX === */
.callout {
  background: linear-gradient(135deg, rgba(255, 85, 31, 0.08), rgba(255, 51, 75, 0.04));
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 22px 0;
}
.callout strong { color: var(--accent2); }

/* === FOOTER === */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 50px 0 24px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-col h4 {
  color: var(--accent);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
  font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--text2); font-size: 14px; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-about p { color: var(--text2); font-size: 14px; margin-bottom: 12px; }
.footer-about .footer-logo { height: 36px; margin-bottom: 12px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { color: var(--text2); font-size: 13px; margin: 0; }
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 2px solid var(--accent-red);
  border-radius: 50%;
  color: var(--accent-red);
  font-weight: 800;
  font-size: 14px;
}
.footer-disclaimer {
  font-size: 12px;
  color: var(--text2);
  line-height: 1.6;
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-red);
}

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* === UTILS === */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }

.tag {
  display: inline-block;
  background: var(--bg-surf2);
  color: var(--accent2);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.content-img {
  border-radius: var(--radius);
  margin: 24px 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
