/* ========================================================
   Fireball Casino Hungary — Affiliate Review Site
   ======================================================== */

: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;
  --maxw: 1200px;
  --header-h: 76px;

  --font-display: "Unbounded", "Inter", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(900px 600px at 85% -10%, rgba(255, 85, 31, 0.18), transparent 60%),
    radial-gradient(700px 500px at -5% 30%, rgba(255, 51, 75, 0.12), transparent 65%),
    radial-gradient(600px 400px at 50% 110%, rgba(255, 165, 0, 0.08), transparent 60%);
  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); }

p { margin-bottom: 1.1em; color: #ddd5e3; }

/* ====== Typography ====== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text);
}
h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, #ff9266 70%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 2.4rem 0 1rem;
  position: relative;
  padding-bottom: .55rem;
}
h2::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 64px; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--neon));
  border-radius: 2px;
}
h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  margin: 1.8rem 0 .7rem;
  color: var(--accent2);
}

ul, ol { margin: 0 0 1.2rem 1.4rem; }
li { margin-bottom: .55rem; color: #ddd5e3; }
ul li::marker { color: var(--accent); }
ol li::marker { color: var(--neon); font-weight: 700; }

strong { color: #fff; font-weight: 600; }
em { color: var(--accent2); font-style: normal; font-weight: 500; }

/* ====== Container ====== */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ====== Header ====== */
.site-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 {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo-link { display: inline-flex; align-items: center; line-height: 0; }
.logo-img { height: 40px; width: auto; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 42px; height: 42px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--accent2);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px; height: 2px;
  background: var(--accent2);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: #cfc3d6;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all .2s ease;
}
.main-nav a:hover { color: #fff; background: var(--bg-surf); }
.main-nav a.active { color: var(--accent); background: var(--bg-surf); }

.btn-header {
  margin-left: 10px;
  padding: 10px 18px;
  font-size: 14px;
}

/* ====== Hero ====== */
.hero {
  padding: 64px 0 48px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 85, 31, 0.12);
  border: 1px solid var(--border);
  color: var(--accent2);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero-eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}
.hero-image {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(255, 85, 31, 0.25), var(--shadow);
  border: 1px solid var(--border);
}
.hero-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 5, 14, 0.6) 100%);
  pointer-events: none;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.hero-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 700;
}
.hero-stat span {
  font-size: 12px;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ====== CTA Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
  box-shadow: 0 6px 20px rgba(255, 85, 31, 0.35);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "→";
  font-weight: 700;
  transition: transform .2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 10px 30px rgba(255, 85, 31, 0.5);
  color: #fff;
}
.btn:hover::after { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: none;
}
.btn-ghost:hover {
  background: var(--bg-surf);
  border-color: var(--accent);
  box-shadow: none;
  color: #fff;
}
.btn-lg { padding: 17px 36px; font-size: 16px; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* ====== Main Content Area ====== */
main.content {
  padding: 24px 0 80px;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: flex-start;
}
.content-body { min-width: 0; }

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

/* ====== Sidebar ====== */
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); }
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 18px;
}
.sidebar-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 14px;
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.quick-facts { list-style: none; margin: 0; padding: 0; }
.quick-facts li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  font-size: 14px;
  margin: 0;
}
.quick-facts li:last-child { border-bottom: none; }
.quick-facts li span:first-child { color: var(--text2); }
.quick-facts li span:last-child { color: #fff; font-weight: 600; text-align: right; }

.cta-card {
  background: linear-gradient(160deg, rgba(255, 85, 31, 0.18) 0%, rgba(255, 51, 75, 0.10) 100%);
  border: 1px solid rgba(255, 85, 31, 0.35);
  text-align: center;
}
.cta-card p { font-size: 14px; color: #ddd5e3; }
.cta-card .btn { width: 100%; }

/* ====== Info Boxes ====== */
.info-box {
  background: var(--bg-card);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin: 22px 0;
}
.info-box.warning { border-left-color: var(--accent-red); }
.info-box.success { border-left-color: var(--success); }
.info-box.tip     { border-left-color: var(--neon); }
.info-box h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.info-box p:last-child { margin-bottom: 0; }

/* ====== Tables ====== */
.table-wrap { overflow-x: auto; margin: 22px 0; border-radius: var(--radius); border: 1px solid var(--border); }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  font-size: 14px;
  min-width: 480px;
}
thead { background: var(--bg-surf2); }
th {
  font-family: var(--font-display);
  text-align: left;
  padding: 14px 18px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent2);
  font-weight: 600;
}
td {
  padding: 13px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #ddd5e3;
}
tbody tr:hover { background: rgba(255, 85, 31, 0.04); }
td strong { color: #fff; }

/* ====== Cards Grid ====== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform .2s ease, border-color .2s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 85, 31, 0.4);
}
.feature-card .icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--accent-red));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 14px;
}
.feature-card h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
  color: #fff;
}
.feature-card p {
  font-size: 14px;
  margin: 0;
  color: var(--text2);
}

/* ====== FAQ ====== */
.faq { margin: 36px 0; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
  position: relative;
  padding-right: 50px;
  display: block;
  transition: color .15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 18px;
  transition: transform .25s ease, background .2s ease;
}
.faq-item[open] summary { color: var(--accent2); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--accent-red); }
.faq-item .faq-answer {
  padding: 0 22px 20px;
  color: #ddd5e3;
}
.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* ====== Final CTA ====== */
.final-cta {
  background: linear-gradient(135deg, var(--bg-surf) 0%, var(--bg-surf2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  text-align: center;
  margin: 40px 0 20px;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  top: -50%; left: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(255, 85, 31, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.final-cta h2 {
  margin-top: 0;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #fff, var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.final-cta h2::after { left: 50%; transform: translateX(-50%); }
.final-cta p { max-width: 540px; margin: 0 auto 22px; }

/* ====== Breadcrumbs ====== */
.breadcrumbs {
  font-size: 13px;
  color: var(--text2);
  margin: 18px 0 6px;
}
.breadcrumbs a { color: var(--text2); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span.sep { margin: 0 8px; opacity: 0.5; }
.breadcrumbs span.current { color: var(--accent2); }

/* ====== Footer ====== */
.site-footer {
  background: #060309;
  border-top: 1px solid var(--border);
  padding: 50px 0 24px;
  color: var(--text2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent2);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #b0a3bc; font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.footer-col p { font-size: 14px; color: #b0a3bc; }
.footer-logos {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  flex-wrap: wrap;
}
.footer-badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 11px;
  color: var(--text2);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.footer-badge.age {
  border-color: var(--accent-red);
  color: var(--accent-red);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: #6f6379;
}
.footer-disclaimer {
  font-size: 12px;
  color: #6f6379;
  margin-top: 18px;
  line-height: 1.5;
}

/* ====== Responsive ====== */
@media (max-width: 980px) {
  .content-grid { grid-template-columns: 1fr; gap: 30px; }
  .sidebar { position: static; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-card);
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%);
    transition: transform .25s ease;
    box-shadow: var(--shadow);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 12px 14px; font-size: 15px; }
  .btn-header { margin: 10px 0 0; width: 100%; }
  .hero { padding: 36px 0 30px; }
  .hero-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .final-cta { padding: 28px 20px; }
  h2 { margin-top: 1.8rem; }
}
@media (max-width: 480px) {
  body { font-size: 15px; }
  .container { padding: 0 18px; }
  .hero-ctas .btn { width: 100%; }
}

/* ====== Animations ====== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow, .hero h1, .hero p.lead, .hero-ctas, .hero-stats, .hero-image {
  animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) both;
}
.hero h1 { animation-delay: .07s; }
.hero p.lead { animation-delay: .14s; }
.hero-ctas { animation-delay: .21s; }
.hero-stats { animation-delay: .28s; }
.hero-image { animation-delay: .12s; }

.lead {
  font-size: 1.12rem;
  color: #e6dded;
  margin-bottom: 26px;
  max-width: 56ch;
}

/* Selection */
::selection { background: var(--accent); color: #fff; }
