/* ==========================================================================
   Celsius Casino HU — Affiliate Review Site
   ========================================================================== */

:root {
  --bg: #080a10;
  --bg-card: #121620;
  --bg-surf: #1a1f2e;
  --bg-surf2: #242b3d;
  --accent: #0090ff;
  --accent2: #33a6ff;
  --accent-red: #ff4d4d;
  --neon: #00d4ff;
  --success: #00e676;
  --text: #ffffff;
  --text2: #8a96ab;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  --radius: 12px;
  --radius-lg: 18px;
  --max-w: 1200px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(0, 144, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

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

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

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

/* ===== AGE WARNING BAR ===== */
.age-bar {
  background: linear-gradient(90deg, var(--accent-red), #c0392b);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.age-bar strong { font-weight: 800; }

/* ===== HEADER ===== */
.site-header {
  background: var(--bg-surf);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background-color: rgba(26, 31, 46, 0.92);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  letter-spacing: -0.5px;
}
.logo img { height: 38px; width: auto; }
.logo-text { color: var(--accent); }

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}
.nav a {
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all .2s ease;
}
.nav a:hover { color: var(--text); background: var(--bg-surf2); }
.nav a.active { color: var(--accent2); background: rgba(0, 144, 255, 0.1); }

.btn-cta-mini {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 18px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  transition: all .2s ease;
}
.btn-cta-mini:hover { background: var(--accent2); color: #fff !important; transform: translateY(-1px); }

/* mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 26px; cursor: pointer; padding: 6px 10px; }

/* ===== HERO ===== */
.hero {
  padding: 60px 0 50px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--accent) 0%, var(--neon) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede { font-size: 17px; color: var(--text2); margin-bottom: 28px; max-width: 580px; }

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8, 10, 16, 0.6) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-img-wrap img { width: 100%; height: auto; }

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); }
.badge.crypto .dot { background: var(--neon); box-shadow: 0 0 8px var(--neon); }

/* ===== CTA BUTTONS ===== */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: #fff;
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.3px;
  transition: all .25s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 144, 255, 0.35);
  text-align: center;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 144, 255, 0.5);
  color: #fff;
}
.btn-cta-secondary {
  background: var(--bg-surf2);
  box-shadow: none;
  border: 1px solid var(--border);
}
.btn-cta-secondary:hover { background: var(--bg-card); box-shadow: var(--shadow); }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== SECTIONS ===== */
section { padding: 50px 0; }
section h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
section h2 .grad {
  background: linear-gradient(135deg, var(--accent) 0%, var(--neon) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
section h3 {
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 700;
  margin: 30px 0 14px;
  color: var(--text);
}
section p { margin-bottom: 14px; color: var(--text2); }
section p strong, section li strong { color: var(--text); font-weight: 600; }

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 144, 255, 0.3);
  box-shadow: 0 12px 32px rgba(0, 144, 255, 0.12);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 144, 255, 0.15), rgba(0, 212, 255, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 24px;
}
.card h3 { margin: 0 0 10px; font-size: 19px; }
.card p { font-size: 15px; color: var(--text2); margin: 0; }

/* ===== TABLES ===== */
.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
th, td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
th {
  background: var(--bg-surf);
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-surf); }
td .pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.pill-green { background: rgba(0, 230, 118, 0.15); color: var(--success); }
.pill-blue { background: rgba(0, 144, 255, 0.15); color: var(--accent2); }
.pill-red { background: rgba(255, 77, 77, 0.15); color: var(--accent-red); }

/* ===== LISTS ===== */
ul.styled, ol.styled {
  margin: 18px 0;
  padding-left: 4px;
  list-style: none;
}
ul.styled li, ol.styled li {
  position: relative;
  padding: 8px 0 8px 30px;
  color: var(--text2);
  line-height: 1.6;
}
ul.styled li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--success);
  font-weight: 800;
  font-size: 16px;
}
ol.styled { counter-reset: olc; }
ol.styled li { padding-left: 38px; counter-increment: olc; }
ol.styled li::before {
  content: counter(olc);
  position: absolute;
  left: 0;
  top: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

ul.cons li::before { content: '✗'; color: var(--accent-red); }

/* ===== STATS ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  margin: 26px 0;
}
.stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.stat .num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--neon);
  line-height: 1;
  margin-bottom: 6px;
}
.stat .lbl { font-size: 13px; color: var(--text2); text-transform: uppercase; letter-spacing: 0.5px; }

/* ===== ARTICLE LAYOUT ===== */
.article {
  padding: 50px 0;
}
.article-header {
  margin-bottom: 36px;
}
.breadcrumbs {
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 18px;
}
.breadcrumbs a { color: var(--text2); }
.breadcrumbs a:hover { color: var(--accent2); }
.breadcrumbs span.sep { margin: 0 8px; opacity: 0.5; }
.breadcrumbs span.current { color: var(--text); }

.article h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.8px;
}

.article-img {
  margin: 28px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.article-content p { margin-bottom: 16px; font-size: 16px; color: var(--text2); }
.article-content p strong { color: var(--text); }

/* ===== FAQ ===== */
.faq-list { 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;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  transition: background .2s ease;
}
.faq-q:hover { background: var(--bg-surf); }
.faq-q::after {
  content: '+';
  font-size: 22px;
  color: var(--accent2);
  transition: transform .25s ease;
  font-weight: 300;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  color: var(--text2);
}
.faq-item.open .faq-a { padding: 0 22px 22px; max-height: 600px; }
.faq-a p { margin: 0; line-height: 1.65; }

/* ===== FINAL CTA ===== */
.final-cta {
  background: linear-gradient(135deg, rgba(0, 144, 255, 0.08), rgba(0, 212, 255, 0.04));
  border: 1px solid rgba(0, 144, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  text-align: center;
  margin: 40px 0;
}
.final-cta h2 { margin-bottom: 14px; }
.final-cta p { max-width: 600px; margin: 0 auto 22px; color: var(--text2); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-surf);
  border-top: 1px solid var(--border);
  padding: 50px 0 24px;
  margin-top: 40px;
  color: var(--text2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 32px;
}
.footer-col h4 {
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col ul { list-style: none; }
.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(--accent2); }
.footer-col p { font-size: 14px; line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--text2);
}

.footer-badges {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-badges span {
  background: var(--bg-card);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
}
.age-18 {
  background: var(--accent-red) !important;
  color: #fff !important;
  font-weight: 800 !important;
}

/* ===== INFO BOX / ALERTS ===== */
.info-box {
  background: rgba(0, 144, 255, 0.06);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 18px 22px;
  margin: 22px 0;
  color: var(--text2);
}
.info-box.warn {
  background: rgba(255, 77, 77, 0.06);
  border-left-color: var(--accent-red);
}
.info-box strong { color: var(--text); }

/* ===== TWO COLUMN ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin: 28px 0;
}
.two-col .card { padding: 24px; }
.two-col h3 { margin-top: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .two-col { grid-template-columns: 1fr; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-surf); flex-direction: column; padding: 16px; border-bottom: 1px solid var(--border); gap: 4px; }
  .nav.open { display: flex; }
  .nav a { width: 100%; }
  .nav-toggle { display: block; }
}
@media (max-width: 600px) {
  section { padding: 36px 0; }
  .hero { padding: 36px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  th, td { padding: 10px 12px; font-size: 14px; }
  .final-cta { padding: 32px 20px; }
  .btn-cta { width: 100%; }
  .cta-row { flex-direction: column; }
}

/* tiny anim */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.badge .dot { animation: pulse-dot 2s ease-in-out infinite; }
