/* =========================================================
   Celsius Casino Hungary — Affiliate Review Site
   Design system + global layout
   ========================================================= */

:root {
  /* Backgrounds */
  --bg: #080a10;
  --bg-card: #121620;
  --bg-surf: #1a1f2e;
  --bg-surf2: #242b3d;

  /* Accents */
  --accent: #0090ff;
  --accent2: #33a6ff;

  /* Supporting */
  --accent-red: #ff4d4d;
  --neon: #00d4ff;
  --success: #00e676;

  /* Text */
  --text: #ffffff;
  --text2: #8a96ab;

  /* Decor */
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.5);

  /* Type scale */
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { 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(circle at 15% 5%, rgba(0, 144, 255, 0.10), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(0, 212, 255, 0.07), 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(--neon); }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 31, 46, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

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

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

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  align-items: center;
}

.main-nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 8px;
  transition: background .2s ease, color .2s ease;
  letter-spacing: .2px;
}
.main-nav a:hover { background: var(--bg-surf2); color: var(--accent2); }
.main-nav a.active { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; }

.nav-toggle {
  display: none;
  background: var(--bg-surf2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--neon));
  color: #001428;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  letter-spacing: .3px;
  box-shadow: 0 6px 18px rgba(0, 144, 255, 0.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0, 212, 255, 0.55);
  color: #001428;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 56px 24px 48px;
  overflow: hidden;
}
.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--neon);
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.05);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.5px;
  margin-bottom: 18px;
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--accent), var(--neon));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero p.lead {
  font-size: 17px;
  color: var(--text2);
  max-width: 580px;
  margin-bottom: 24px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .3px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--neon));
  color: #001428;
  box-shadow: 0 8px 24px rgba(0, 144, 255, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 212, 255, 0.55);
  color: #001428;
}
.btn-ghost {
  background: var(--bg-surf2);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-surf); color: var(--accent2); border-color: rgba(0, 144, 255, 0.3); }

.hero-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  aspect-ratio: 16/10;
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 10, 16, 0.6));
  pointer-events: none;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1240px;
  margin: 36px auto 0;
  padding: 0 24px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 18px 16px;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute; top: 0; left: 0; width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--neon));
}
.stat-card .num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--neon);
  line-height: 1;
}
.stat-card .lbl {
  font-size: 12.5px;
  color: var(--text2);
  margin-top: 8px;
  letter-spacing: .3px;
}

/* ============ MAIN CONTENT ============ */
main { display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 56px 0;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.7vw, 34px);
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -.3px;
  line-height: 1.2;
  position: relative;
  padding-left: 18px;
}
.section h2::before {
  content: "";
  position: absolute; left: 0; top: 10px;
  width: 6px; height: calc(100% - 16px);
  background: linear-gradient(180deg, var(--accent), var(--neon));
  border-radius: 3px;
}

.section h3 {
  font-family: var(--font-display);
  font-size: clamp(19px, 1.7vw, 22px);
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--accent2);
  letter-spacing: -.2px;
}

.section p {
  color: var(--text2);
  margin-bottom: 16px;
  font-size: 15.5px;
}
.section p strong, .section p b { color: var(--text); }

.section ul, .section ol {
  margin: 12px 0 22px 22px;
  color: var(--text2);
}
.section li {
  margin-bottom: 8px;
  font-size: 15.5px;
}
.section li strong { color: var(--text); }
.section ul li::marker { color: var(--neon); }
.section ol li::marker { color: var(--accent); font-weight: 700; }

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 144, 255, 0.35);
  box-shadow: 0 10px 28px rgba(0, 144, 255, 0.18);
}
.feature-card .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 144, 255, 0.18), rgba(0, 212, 255, 0.1));
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--neon);
  border: 1px solid rgba(0, 144, 255, 0.25);
}
.feature-card h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 18px;
}
.feature-card p {
  font-size: 14.5px;
  color: var(--text2);
  margin: 0;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  margin: 20px 0 28px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 540px;
}
th, td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
th {
  background: var(--bg-surf);
  color: var(--accent2);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .4px;
  text-transform: uppercase;
}
td { color: var(--text2); }
td strong { color: var(--text); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(0, 144, 255, 0.04); }

/* Callouts */
.callout {
  background: linear-gradient(135deg, rgba(0, 144, 255, 0.10), rgba(0, 212, 255, 0.04));
  border: 1px solid rgba(0, 144, 255, 0.25);
  border-left: 4px solid var(--accent);
  padding: 18px 22px;
  border-radius: 12px;
  margin: 24px 0;
  color: var(--text);
  font-size: 15px;
}
.callout-warn {
  background: linear-gradient(135deg, rgba(255, 77, 77, 0.10), rgba(255, 77, 77, 0.03));
  border: 1px solid rgba(255, 77, 77, 0.3);
  border-left: 4px solid var(--accent-red);
}

/* CTA block */
.cta-block {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-surf));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 32px;
  text-align: center;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute; inset: -2px;
  background: linear-gradient(135deg, var(--accent), transparent 45%, var(--neon));
  z-index: -1;
  border-radius: 18px;
  opacity: .35;
  filter: blur(20px);
}
.cta-block h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--text);
  margin-bottom: 10px;
}
.cta-block p {
  color: var(--text2);
  margin-bottom: 22px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ */
.faq-list { margin: 18px 0 8px; }
.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(0, 144, 255, 0.3); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--neon);
  transition: transform .25s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 22px 20px;
  color: var(--text2);
  font-size: 15px;
}

/* Image with caption */
.content-figure {
  margin: 26px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.content-figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 13px;
  color: var(--text2);
  padding: 18px 24px 0;
  max-width: 1240px;
  margin: 0 auto;
}
.breadcrumbs a { color: var(--text2); }
.breadcrumbs a:hover { color: var(--accent2); }
.breadcrumbs .sep { margin: 0 8px; color: rgba(255,255,255,0.2); }
.breadcrumbs span[aria-current="page"] { color: var(--accent2); }

/* Inner page header */
.page-head {
  padding: 36px 24px 0;
}
.page-head-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.4px;
  margin-bottom: 14px;
}
.page-head .lead {
  font-size: 17px;
  color: var(--text2);
  max-width: 720px;
  margin-bottom: 12px;
}

/* Footer */
.site-footer {
  background: var(--bg-surf);
  border-top: 1px solid var(--border);
  padding: 48px 24px 24px;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--accent2);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text2); font-size: 14px; }
.footer-col a:hover { color: var(--neon); }
.footer-brand p {
  color: var(--text2);
  font-size: 14px;
  margin: 14px 0;
  line-height: 1.6;
}
.footer-logos {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.age-badge {
  background: var(--accent-red);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 8px;
  letter-spacing: .4px;
}
.footer-bottom {
  max-width: 1240px;
  margin: 32px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--text2);
}
.disclaimer {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text2);
  margin-top: 18px;
  line-height: 1.6;
}

/* Pros & Cons split */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 22px 0;
}
.pc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.pc-card.pros { border-top: 3px solid var(--success); }
.pc-card.cons { border-top: 3px solid var(--accent-red); }
.pc-card h3 { margin-top: 0; font-size: 18px; }
.pc-card.pros h3 { color: var(--success); }
.pc-card.cons h3 { color: var(--accent-red); }
.pc-card ul { list-style: none; margin: 0; padding: 0; }
.pc-card li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
  font-size: 14.5px;
  color: var(--text2);
}
.pc-card.pros li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--success); font-weight: 800;
}
.pc-card.cons li::before {
  content: "✕";
  position: absolute; left: 0; top: 0;
  color: var(--accent-red); font-weight: 800;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .header-inner { padding: 12px 18px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg-surf);
    border-bottom: 1px solid var(--border);
    padding: 14px 18px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; align-items: stretch; }
  .main-nav a { width: 100%; }
  .header-cta { padding: 8px 14px; font-size: 13px; }
  .hero { padding: 36px 18px 28px; }
  .section { padding: 36px 0; }
  .container { padding: 0 18px; }
  .cta-block { padding: 26px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .page-head { padding: 26px 18px 0; }
  .breadcrumbs { padding: 14px 18px 0; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  th, td { padding: 11px 12px; font-size: 13.5px; }
}

/* Focus states */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
  border-radius: 6px;
}

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