/* ============================
   Fireball Casino HU – Stylesheet
   ============================ */

: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);

  --font-sans: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 { font-weight: 700; color: var(--text); line-height: 1.25; margin: 0 0 .8em; }
h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin-top: 1.8em; }
h3 { font-size: clamp(1.15rem, 2.1vw, 1.4rem); margin-top: 1.4em; color: var(--accent2); }
p { margin: 0 0 1em; }

ul, ol { padding-left: 1.4em; margin: 0 0 1.2em; }
li { margin-bottom: .45em; }

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

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}

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

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .92rem;
  font-weight: 500;
  transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--bg-surf2); color: var(--accent2); }
.main-nav a[aria-current="page"] { color: var(--accent); background: var(--bg-surf); }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* ============================ BUTTONS ============================ */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .02em;
  text-align: center;
  cursor: pointer;
  border: 0;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 6px 22px rgba(255, 85, 31, .35);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--accent2), var(--accent)); transform: translateY(-2px); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--accent2);
  border: 2px solid var(--accent);
}
.btn-ghost:hover { background: var(--accent); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

/* ============================ HERO ============================ */
.hero {
  position: relative;
  padding: 56px 0 64px;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(255, 85, 31, .25) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 30%, rgba(255, 115, 67, .12) 0%, transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: .5em;
  background: linear-gradient(135deg, #fff 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: 1.08rem;
  color: var(--text2);
  margin-bottom: 1.5em;
  max-width: 56ch;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-img { border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--border); }

/* ============================ SECTIONS ============================ */
section { padding: 40px 0; }

.content-block { max-width: 880px; margin: 0 auto; }
.content-block.wide { max-width: 1100px; }

.lead {
  font-size: 1.1rem;
  color: var(--text2);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow);
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); border-color: var(--accent); }
.card h3 { margin-top: 0; color: var(--accent); font-size: 1.15rem; }
.card .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: var(--bg-surf2);
  border-radius: 10px;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 800;
}

/* Tables */
.table-wrap { overflow-x: auto; margin: 22px 0; border-radius: var(--radius); }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: .95rem;
  min-width: 480px;
}
th, td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
th {
  background: var(--bg-surf);
  color: var(--accent2);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
tr:last-child td { border-bottom: 0; }
tr:hover td { background: rgba(255,85,31,.05); }

/* Lists */
ul.feat-list { list-style: none; padding: 0; }
ul.feat-list li {
  position: relative;
  padding: 8px 0 8px 30px;
  border-bottom: 1px dashed var(--border);
}
ul.feat-list li:last-child { border-bottom: 0; }
ul.feat-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--success);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Pros / Cons */
.proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 22px 0;
}
.pros, .cons {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px 22px;
  border: 1px solid var(--border);
}
.pros { border-top: 3px solid var(--success); }
.cons { border-top: 3px solid var(--accent-red); }
.pros h3, .cons h3 { margin-top: 0; }
.pros ul li::before { content: "+ "; color: var(--success); font-weight: 800; }
.cons ul li::before { content: "− "; color: var(--accent-red); font-weight: 800; }
.pros ul, .cons ul { list-style: none; padding-left: 0; }

/* Callout */
.callout {
  background: linear-gradient(135deg, rgba(255,85,31,.08), rgba(255,115,67,.04));
  border-left: 4px solid var(--accent);
  padding: 18px 22px;
  margin: 24px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.callout strong { color: var(--accent); }

/* CTA block */
.cta-block {
  text-align: center;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-surf) 100%);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  margin: 40px 0 0;
  box-shadow: var(--shadow);
}
.cta-block h2 { margin-top: 0; color: var(--accent2); }
.cta-block p { color: var(--text2); max-width: 56ch; margin-left: auto; margin-right: auto; }

/* FAQ */
.faq { margin: 30px 0; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 600;
  padding: 16px 50px 16px 20px;
  cursor: pointer;
  position: relative;
}
.faq-q::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 800;
  transition: transform .2s;
}
.faq-item.open .faq-q::after { content: "−"; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 20px;
  color: var(--text2);
}
.faq-item.open .faq-a {
  max-height: 500px;
  padding: 0 20px 18px;
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: .88rem;
  color: var(--text2);
  padding: 14px 0 0;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.breadcrumbs li:not(:last-child)::after { content: " ›"; margin-left: 8px; color: var(--accent); }
.breadcrumbs a { color: var(--text2); }
.breadcrumbs a:hover { color: var(--accent2); }

/* ============================ FOOTER ============================ */
.site-footer {
  margin-top: 60px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 40px 0 20px;
  font-size: .92rem;
  color: var(--text2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 28px;
}
.footer-grid h4 { color: var(--accent2); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--text2); }
.footer-grid a:hover { color: var(--accent2); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  text-align: center;
  font-size: .82rem;
  color: var(--text2);
}
.badges-18 {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0;
  color: var(--text2);
}
.badges-18 .b18 {
  display: inline-block;
  background: var(--accent-red);
  color: #fff;
  padding: 4px 9px;
  border-radius: 50%;
  font-weight: 800;
  font-size: .82rem;
}

/* ============================ RESPONSIVE ============================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .proscons { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; order: 3; }
  .header-cta { order: 2; }
  .main-nav {
    order: 4;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s;
  }
  .main-nav.open { max-height: 520px; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 10px 16px 18px;
  }
  .main-nav a { display: block; padding: 12px 14px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .main-nav li:last-child a { border-bottom: 0; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero { padding: 32px 0 40px; }
  section { padding: 28px 0; }
  .cta-block { padding: 26px 18px; }
  .header-cta .btn { padding: 8px 14px; font-size: .85rem; }
  .header-inner { padding: 11px 16px; }
}
