/* Energy Kasyno Bonus — Affiliate Review Site */

:root {
  --bg: #0d0e14;
  --bg-elev: #15171f;
  --bg-card: #1c1f2a;
  --bg-card-2: #232636;
  --border: #2a2e3d;
  --text: #ffffff;
  --text-dim: #b8bccc;
  --text-muted: #7d8294;
  --primary: #ffd400;
  --primary-dark: #e6bf00;
  --primary-text: #0d0e14;
  --accent: #6b3fff;
  --accent-2: #ff3b6b;
  --good: #2ecc71;
  --bad: #ff4f64;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 6px 22px rgba(0,0,0,0.35);
  --max: 1180px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--primary-dark); }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000000;
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 4px 16px rgba(0,0,0,.6); }

.header-inner {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex: 1;
}
.main-nav a {
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  padding: 6px 0;
  position: relative;
}
.main-nav a:hover { color: var(--primary); }
.main-nav a.active { color: var(--primary); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary) !important;
  color: #0d0e14 !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, transform .15s ease;
  text-transform: uppercase;
  letter-spacing: .3px;
  flex-shrink: 0;
  text-decoration: none !important;
}
.header-cta:hover { background: var(--primary-dark) !important; color: #0d0e14 !important; transform: translateY(-1px); }

.burger {
  display: none;
  background: transparent;
  border: 0;
  width: 42px;
  height: 42px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  position: relative;
}
.burger span::before, .burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #fff;
}
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }

/* Mobile drawer */
.drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 200;
}
.drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 86%;
  max-width: 340px;
  background: #0a0b10;
  z-index: 201;
  padding: 22px 22px 30px;
  overflow-y: auto;
  height: 100dvh;
  transform: translateX(-100%);
  transition: transform .25s ease;
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.drawer-head img { height: 30px; }
.drawer-close {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  line-height: 1;
}
.drawer nav a {
  display: block;
  color: #fff;
  padding: 14px 8px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.drawer .header-cta {
  display: flex;
  width: 100%;
  margin-top: 22px;
  padding: 14px 22px;
  font-size: 15px;
}

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

.hero {
  background: linear-gradient(135deg, #1a0d3d 0%, #0d0e14 60%);
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(255,212,0,.12) 0%, transparent 40%), radial-gradient(circle at 20% 80%, rgba(107,63,255,.18) 0%, transparent 50%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,212,0,.12);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 18px;
  border: 1px solid rgba(255,212,0,.25);
}
.hero h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.hero h1 .accent { color: var(--primary); }
.hero-lead {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--text-dim);
  max-width: 720px;
  margin: 0 auto 28px;
}

/* ===== Quick verdict ===== */
.verdict {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 36px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  box-shadow: var(--shadow);
  text-align: left;
}
.verdict-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.rating {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: var(--primary);
  color: var(--primary-text);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 800;
}
.rating-num { font-size: 22px; }
.rating-of { font-size: 13px; opacity: .75; }
.stars { color: var(--primary); font-size: 18px; letter-spacing: 2px; }
.verdict h2 { font-size: 18px; margin-bottom: 12px; text-align: left; }
.verdict p { text-align: left; }
.verdict ul { list-style: none; text-align: left; max-width: none; padding-left: 0; margin: 0; }
.verdict li { padding: 6px 0; padding-left: 26px; position: relative; color: var(--text-dim); text-align: left; }
.verdict .pros li::before {
  content: '✓';
  position: absolute; left: 0; top: 6px;
  width: 18px; height: 18px;
  background: rgba(46,204,113,.15);
  color: var(--good);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}
.verdict .cons li::before {
  content: '✕';
  position: absolute; left: 0; top: 6px;
  width: 18px; height: 18px;
  background: rgba(255,79,100,.15);
  color: var(--bad);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

/* ===== Buttons ===== */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary) !important;
  color: #0d0e14 !important;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 22px rgba(255,212,0,.25);
  text-decoration: none !important;
}
.btn-cta:hover {
  background: var(--primary-dark) !important;
  color: #0d0e14 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255,212,0,.35);
}
.btn-cta.lg { padding: 18px 44px; font-size: 17px; }
.cta-block {
  background: linear-gradient(135deg, #1a0d3d 0%, #2a1670 100%);
  border: 1px solid rgba(255,212,0,.25);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center !important;
  margin: 40px 0;
}
.cta-block h3 {
  font-size: clamp(20px, 3vw, 26px);
  margin-bottom: 10px;
  color: #fff;
  text-align: center !important;
}
.cta-block p {
  color: var(--text-dim);
  margin-bottom: 22px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: center !important;
}

/* ===== Article content ===== */
.content-section {
  padding: 50px 0;
}
.article {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.article h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin: 44px 0 16px;
  line-height: 1.25;
  letter-spacing: -0.3px;
  text-align: center;
}
.article h2:first-child { margin-top: 0; }
.article h3 {
  font-size: clamp(18px, 2.2vw, 22px);
  margin: 30px 0 12px;
  line-height: 1.3;
  color: #fff;
  text-align: center;
}
.article p {
  margin-bottom: 16px;
  color: var(--text-dim);
  text-align: center;
}
.article ul, .article ol {
  margin: 12px auto 20px;
  color: var(--text-dim);
  text-align: left;
  max-width: 720px;
  padding-left: 22px;
}
.article li { margin-bottom: 8px; line-height: 1.6; }
.article strong { color: #fff; font-weight: 600; }
.article a { color: var(--primary); border-bottom: 1px solid rgba(255,212,0,.4); padding-bottom: 1px; }
.article a:hover { color: var(--primary-dark); border-bottom-color: var(--primary-dark); }
.article a.btn-cta,
.article a.header-cta,
.article a.drawer-cta-mobile {
  color: var(--primary-text);
  border-bottom: 0;
  padding-bottom: 0;
}
.article a.btn-cta:hover,
.article a.header-cta:hover,
.article a.drawer-cta-mobile:hover {
  color: var(--primary-text);
  border-bottom: 0;
}

/* ===== Tables ===== */
.table-wrap {
  overflow-x: auto;
  margin: 22px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
table.data {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  font-size: 15px;
}
table.data th {
  background: var(--bg-card-2);
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .3px;
}
table.data td {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
}
table.data tr:hover td { background: rgba(255,255,255,.02); }

/* ===== Callout ===== */
.callout {
  background: linear-gradient(135deg, rgba(107,63,255,.12), rgba(255,212,0,.06));
  border: 1px solid rgba(255,212,0,.25);
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  border-radius: var(--radius);
  margin: 24px 0;
  text-align: left;
}
.callout strong { color: var(--primary); }
.callout p { color: var(--text); margin: 0; text-align: left; }
.callout p + p { margin-top: 8px; }

/* ===== Figure ===== */
figure {
  margin: 30px auto;
  text-align: center;
}
figure img {
  width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0,0,0,.4);
  border: 1px solid var(--border);
}
figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== 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-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  color: #fff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--primary);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] summary { border-bottom: 1px solid var(--border); }
.faq-body { padding: 16px 22px 20px; color: var(--text-dim); text-align: left; }
.faq-body p { margin-bottom: 10px; text-align: left; }
.faq-body p:last-child { margin-bottom: 0; }

/* ===== Step list ===== */
.steps {
  counter-reset: step;
  list-style: none;
  margin: 24px auto;
  padding: 0;
  text-align: left;
  max-width: 720px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 14px 18px 14px 60px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  color: var(--text-dim);
  text-align: left;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: var(--primary-text);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
}
.steps li strong { color: #fff; display: block; margin-bottom: 4px; }

/* ===== Bonus card grid ===== */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin: 28px 0;
}
.bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: relative;
  transition: transform .15s ease, border-color .15s ease;
  text-align: left;
}
.bonus-card:hover { transform: translateY(-3px); border-color: rgba(255,212,0,.3); }
.bonus-card .badge {
  display: inline-block;
  background: rgba(255,212,0,.15);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.bonus-card h3 { color: #fff; font-size: 18px; margin-bottom: 10px; text-align: left; }
.bonus-card p { color: var(--text-dim); font-size: 14px; margin-bottom: 14px; text-align: left; }
.bonus-card .amount {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.2;
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
  font-size: 13px;
  color: var(--text-muted);
  padding: 18px 0 0;
  text-align: center;
}
.breadcrumbs a { color: var(--text-muted); border-bottom: 0; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs span.sep { margin: 0 8px; opacity: .5; }
.breadcrumbs span.current { color: var(--text-dim); }

/* ===== Page header (non-home) ===== */
.page-header {
  background: linear-gradient(135deg, #170a30 0%, #0d0e14 60%);
  padding: 36px 0 44px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-header h1 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}
.page-header .lead {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--text-dim);
  max-width: 760px;
  margin: 0 auto;
}

/* ===== Footer ===== */
.site-footer {
  background: #07080c;
  border-top: 1px solid var(--border);
  padding: 50px 0 24px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-grid h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--text-muted); font-size: 14px; }
.footer-grid a:hover { color: var(--primary); }
.footer-brand img { height: 32px; margin-bottom: 14px; }
.footer-brand p { color: var(--text-muted); font-size: 13px; line-height: 1.6; }
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--bad);
  color: var(--bad);
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 12px;
}
.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== Responsible play strip ===== */
.responsible-strip {
  background: rgba(255,79,100,.08);
  border-top: 1px solid rgba(255,79,100,.2);
  border-bottom: 1px solid rgba(255,79,100,.2);
  padding: 14px 0;
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}
.responsible-strip strong { color: #fff; }

/* ===== Mobile ===== */
@media (max-width: 980px) {
  .verdict { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .main-nav { display: none; }
  .header-cta { display: none; }
  .burger { display: flex; }
  .header-inner { gap: 14px; justify-content: space-between; }
  .logo { flex: 1; }
  .drawer-backdrop.open { display: block; }
  .drawer.open { display: block; }
  .hero { padding: 40px 0 36px; }
  .verdict { padding: 22px; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  figure img { width: 100%; }
  .content-section { padding: 36px 0; }
  .cta-block { padding: 28px 20px; }
  .btn-cta { padding: 14px 26px; font-size: 15px; width: 100%; }
  .btn-cta.inline { width: auto; }
  .table-wrap { font-size: 14px; }
  table.data th, table.data td { padding: 10px 12px; font-size: 13px; }
}

/* ===== Mobile burger CTA inside drawer ===== */
.drawer-cta-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary) !important;
  color: #0d0e14 !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .5px;
  width: 100%;
  margin-top: 22px;
  text-decoration: none !important;
}
.drawer-cta-mobile:hover { background: var(--primary-dark) !important; color: #0d0e14 !important; }
