/* Energy Casino Affiliate — Stylesheet */
:root {
  --bg-primary: #0e0e10;
  --bg-secondary: #1a1a1d;
  --bg-card: #232328;
  --bg-elevated: #2a2a30;
  --border: #34343a;
  --text-primary: #ffffff;
  --text-secondary: #c8c8d0;
  --text-muted: #8a8a95;
  --accent: #fcd406;
  --accent-hover: #ffe04a;
  --accent-dark: #d8b400;
  --purple: #6431ba;
  --purple-dark: #4a1f99;
  --green: #29c46a;
  --red: #ff5b5b;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.35);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.45);
  --container: 1200px;
  --header-height: 72px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-hover); }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14,14,16,0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
}
.header-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-link img { height: 36px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.main-nav a {
  color: var(--text-primary); font-weight: 500; font-size: 14.5px;
  padding: 10px 14px; border-radius: var(--radius-sm);
  transition: background .2s, color .2s; white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { background: var(--bg-card); color: var(--accent); }
.header-cta {
  background: var(--accent); color: #0a0a0a !important; font-weight: 700;
  padding: 11px 22px; border-radius: 999px; font-size: 14.5px;
  transition: transform .15s, box-shadow .2s, background .2s;
  white-space: nowrap; box-shadow: 0 4px 14px rgba(252,212,6,.25);
}
.header-cta:hover {
  background: var(--accent-hover); color: #0a0a0a !important;
  transform: translateY(-1px); box-shadow: 0 6px 20px rgba(252,212,6,.4);
}
.menu-toggle {
  display: none; background: none; border: none; color: var(--text-primary);
  cursor: pointer; padding: 8px;
}
.menu-toggle svg { width: 26px; height: 26px; fill: currentColor; }

/* MOBILE NAV DRAWER */
.mobile-drawer {
  position: fixed; top: 0; left: -100%;
  width: 86%; max-width: 360px; height: 100vh;
  background: var(--bg-secondary); border-right: 1px solid var(--border);
  z-index: 200; padding: 24px; overflow-y: auto;
  transition: left .3s ease;
}
.mobile-drawer.open { left: 0; }
.mobile-drawer .close-drawer {
  background: none; border: none; color: var(--text-primary);
  font-size: 28px; cursor: pointer; margin-bottom: 16px;
}
.mobile-drawer nav a {
  display: block; color: var(--text-primary);
  padding: 14px 12px; border-radius: var(--radius-sm);
  margin-bottom: 4px; font-weight: 500;
}
.mobile-drawer nav a:hover { background: var(--bg-card); color: var(--accent); }
.mobile-drawer .header-cta { display: block; text-align: center; margin-top: 16px; }
.drawer-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.6); z-index: 150;
}
.drawer-overlay.open { display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.content { max-width: 920px; margin: 0 auto; padding: 0 24px; }
.article { max-width: 100%; min-width: 0; }

/* HERO */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1a0d3d 0%, #2d1660 50%, #0e0e10 100%);
  padding: 72px 0 56px; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(252,212,6,.12), transparent 40%),
                    radial-gradient(circle at 80% 70%, rgba(100,49,186,.25), transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative; max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.hero h1 {
  font-size: 44px; line-height: 1.15; font-weight: 800;
  margin-bottom: 18px; letter-spacing: -.5px;
}
.hero h1 .accent { color: var(--accent); }
.hero p.lead {
  font-size: 18px; color: var(--text-secondary);
  margin-bottom: 28px; max-width: 540px;
}
.hero-cta-group { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-meta {
  margin-top: 24px; display: flex; gap: 24px; flex-wrap: wrap;
  color: var(--text-muted); font-size: 14px;
}
.hero-meta span { display: flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 16px; height: 16px; fill: var(--accent); }
.hero-image {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: none; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
  text-align: center;
}
.btn-primary {
  background: var(--accent); color: #0a0a0a !important;
  box-shadow: 0 4px 14px rgba(252,212,6,.3);
}
.btn-primary:hover {
  background: var(--accent-hover); color: #0a0a0a !important;
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(252,212,6,.45);
}
.btn-secondary {
  background: transparent; color: var(--text-primary) !important;
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent); color: var(--accent) !important;
  background: rgba(252,212,6,.05);
}
.btn-large { padding: 18px 36px; font-size: 17px; }

/* QUICK VERDICT BOX */
.verdict-box {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; margin: 40px 0;
  display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center;
}
.verdict-rating { text-align: center; }
.verdict-rating .score {
  font-size: 56px; font-weight: 800; color: var(--accent); line-height: 1;
}
.verdict-rating .stars { color: var(--accent); font-size: 18px; margin-top: 6px; letter-spacing: 2px; }
.verdict-rating .label {
  text-transform: uppercase; font-size: 11px; letter-spacing: 1.5px;
  color: var(--text-muted); margin-top: 6px;
}
.verdict-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.verdict-pros h4, .verdict-cons h4 {
  font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px;
}
.verdict-pros h4 { color: var(--green); }
.verdict-cons h4 { color: var(--red); }
.verdict-pros ul, .verdict-cons ul { list-style: none; }
.verdict-pros li, .verdict-cons li {
  position: relative; padding-left: 22px; margin-bottom: 8px;
  font-size: 14.5px; color: var(--text-secondary);
}
.verdict-pros li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.verdict-cons li::before { content: "✕"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.verdict-cta { display: flex; flex-direction: column; gap: 12px; }

/* TYPOGRAPHY (article body) */
.article h2 {
  font-size: 30px; font-weight: 700; margin: 56px 0 18px;
  letter-spacing: -.3px; line-height: 1.25;
}
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 22px; font-weight: 700; margin: 36px 0 14px; color: var(--text-primary); }
.article h4 { font-size: 17px; font-weight: 700; margin: 24px 0 10px; color: var(--accent); }
.article p { margin-bottom: 18px; color: var(--text-secondary); font-size: 16.5px; }
.article p strong { color: var(--text-primary); }
.article ul, .article ol { margin: 0 0 22px 22px; }
.article li { margin-bottom: 8px; color: var(--text-secondary); font-size: 16.5px; line-height: 1.65; }
.article a { color: var(--accent); border-bottom: 1px solid rgba(252,212,6,.3); }
.article a:hover { border-bottom-color: var(--accent); }
.article figure { margin: 28px 0; }
.article figure img {
  width: 90%; height: auto; margin: 0 auto;
  border-radius: 8px; box-shadow: var(--shadow-md); border: 1px solid var(--border);
}
.article figcaption {
  text-align: center; font-size: 13.5px; color: var(--text-muted);
  margin-top: 10px; font-style: italic;
}

/* TABLE */
.article table, table.data {
  width: 100%; border-collapse: collapse; margin: 24px 0;
  background: var(--bg-card); border-radius: var(--radius-md);
  overflow: hidden; border: 1px solid var(--border);
}
/* Optional wrapper if you ever add <div class="table-wrap"> around a table */
.table-wrap { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0; border-radius: var(--radius-md); }
.table-wrap > table, .table-wrap > table.data { margin: 0; }
.article th, table.data th {
  background: var(--bg-elevated); padding: 14px 16px; text-align: left;
  font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .5px;
  color: var(--accent); border-bottom: 1px solid var(--border);
}
.article td, table.data td {
  padding: 14px 16px; border-bottom: 1px solid var(--border);
  color: var(--text-secondary); font-size: 15px;
}
.article tr:last-child td, table.data tr:last-child td { border-bottom: none; }

/* CALLOUT */
.callout {
  background: linear-gradient(135deg, rgba(100,49,186,.18), rgba(252,212,6,.08));
  border-left: 4px solid var(--accent); border-radius: var(--radius-md);
  padding: 20px 24px; margin: 28px 0;
}
.callout p { margin: 0; color: var(--text-primary); }
.callout strong { color: var(--accent); }

.warning-box {
  background: rgba(255,91,91,.08); border-left: 4px solid var(--red);
  border-radius: var(--radius-md); padding: 18px 22px; margin: 24px 0;
  font-size: 15px; color: var(--text-secondary);
}

/* STEP LIST */
.steps { counter-reset: step; list-style: none; margin: 24px 0 !important; padding: 0 !important; }
.steps li {
  counter-increment: step; position: relative;
  padding: 18px 20px 18px 64px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); margin-bottom: 12px !important; margin-left: 0 !important;
}
.steps li::before {
  content: counter(step); position: absolute; left: 18px; top: 18px;
  width: 32px; height: 32px; background: var(--accent); color: #0a0a0a;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
}
.steps li strong { color: var(--text-primary); display: block; margin-bottom: 4px; }

/* FEATURE CARDS GRID */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px; margin: 28px 0;
}
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 24px;
  transition: transform .2s, border-color .2s;
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.feature-card .icon {
  width: 44px; height: 44px; background: rgba(252,212,6,.12);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.feature-card .icon svg { width: 22px; height: 22px; fill: var(--accent); }
.feature-card h3 { font-size: 17px !important; margin: 0 0 8px !important; color: var(--text-primary); }
.feature-card p { font-size: 14.5px !important; color: var(--text-muted); margin: 0 !important; }

/* BONUS CARDS */
.bonus-card {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; margin: 20px 0; position: relative; overflow: hidden;
}
.bonus-card::before {
  content: ""; position: absolute; top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle at top right, rgba(252,212,6,.18), transparent 70%);
  pointer-events: none;
}
.bonus-card .bonus-tag {
  display: inline-block; background: var(--accent); color: #0a0a0a;
  padding: 4px 12px; border-radius: 999px; font-size: 11px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px;
}
.bonus-card h3 { font-size: 24px !important; margin: 0 0 8px !important; }
.bonus-card .amount { color: var(--accent); font-size: 30px; font-weight: 800; margin: 8px 0; }

/* FAQ */
.faq-section { margin: 56px 0; }
.faq-section h2 { margin-bottom: 24px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden;
}
.faq-item summary {
  padding: 20px 56px 20px 22px; cursor: pointer; font-weight: 600;
  font-size: 16.5px; color: var(--text-primary); position: relative;
  list-style: none; user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%); font-size: 24px; color: var(--accent);
  font-weight: 400; transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--accent); }
.faq-item .faq-answer { padding: 0 22px 22px; color: var(--text-secondary); font-size: 15.5px; line-height: 1.65; }
.faq-item .faq-answer p { margin-bottom: 10px; color: var(--text-secondary); }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* BREADCRUMBS */
.breadcrumbs { padding: 18px 0; font-size: 13.5px; color: var(--text-muted); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { margin: 0 8px; opacity: .5; }
.breadcrumbs .current { color: var(--text-secondary); }

/* PAGE HEADER */
.page-header {
  background: linear-gradient(135deg, #1a0d3d 0%, #2d1660 100%);
  padding: 60px 0 50px; position: relative; overflow: hidden;
}
.page-header::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(252,212,6,.1), transparent 50%);
  pointer-events: none;
}
.page-header-inner { position: relative; max-width: 920px; margin: 0 auto; padding: 0 24px; }
.page-header h1 { font-size: 38px; font-weight: 800; margin-bottom: 14px; letter-spacing: -.5px; line-height: 1.2; }
.page-header p { font-size: 18px; color: var(--text-secondary); max-width: 720px; }

/* SECTION CTA */
.section-cta {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  border-radius: var(--radius-lg); padding: 40px 32px; margin: 48px 0;
  text-align: center; position: relative; overflow: hidden;
}
.section-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(252,212,6,.18), transparent 50%);
  pointer-events: none;
}
.section-cta-inner { position: relative; }
.section-cta h3 {
  font-size: 26px !important; margin: 0 0 12px !important; color: #fff !important;
  font-weight: 800;
}
.section-cta p { color: rgba(255,255,255,.85) !important; margin-bottom: 20px !important; }

/* FOOTER */
.site-footer {
  background: #08080a; border-top: 1px solid var(--border);
  padding: 56px 0 24px; margin-top: 80px;
}
.footer-grid {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand img { height: 32px; margin-bottom: 14px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; line-height: 1.6; max-width: 320px; }
.footer-col h4 {
  font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--text-primary); margin-bottom: 14px; font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text-muted); font-size: 14.5px; }
.footer-col a:hover { color: var(--accent); }
.footer-badges {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 16px;
}
.footer-badges .age-badge {
  width: 44px; height: 44px; background: var(--bg-card);
  border: 1.5px solid var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-weight: 800; font-size: 13px;
}
.footer-bottom {
  max-width: var(--container); margin: 32px auto 0; padding: 24px;
  border-top: 1px solid var(--border); display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; color: var(--text-muted); font-size: 13.5px;
}
.disclaimer {
  background: var(--bg-secondary); padding: 16px 24px; border-radius: var(--radius-md);
  margin-bottom: 24px; font-size: 13.5px; color: var(--text-muted); line-height: 1.55;
  max-width: var(--container); margin-left: auto; margin-right: auto;
}

/* COPY CODE BUTTON */
.copy-code-wrap {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-elevated); border: 1.5px dashed var(--accent);
  border-radius: var(--radius-sm); padding: 8px 14px;
  font-family: monospace; font-weight: 700; color: var(--accent);
}
.copy-code-btn {
  background: var(--accent); color: #0a0a0a; border: none;
  padding: 6px 12px; border-radius: 4px; font-weight: 700;
  cursor: pointer; font-size: 12px; transition: background .2s;
}
.copy-code-btn:hover { background: var(--accent-hover); }
.copy-code-btn.copied { background: var(--green); color: #fff; }

/* RESPONSIVE */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 36px; }
  .verdict-box { grid-template-columns: 1fr; gap: 20px; }
  .verdict-pros-cons { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
}
@media (max-width: 640px) {
  :root { --header-height: 64px; }
  .hero { padding: 48px 0 36px; }
  .hero h1 { font-size: 30px; }
  .hero p.lead { font-size: 16px; }
  .page-header { padding: 40px 0 32px; }
  .page-header h1 { font-size: 28px; }
  .page-header p { font-size: 16px; }
  .article h2 { font-size: 24px; margin: 40px 0 14px; }
  .article h3 { font-size: 19px; }
  .verdict-box { padding: 22px; }
  .verdict-rating .score { font-size: 44px; }
  .verdict-pros-cons { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .article figure img { width: 100%; }
  /* Confine horizontal overflow to the table itself, not the whole page */
  .article table, table.data {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
  }
  .article table thead, table.data thead,
  .article table tbody, table.data tbody,
  .article table tr,    table.data tr { width: max-content; min-width: 100%; }
  .article th, .article td { white-space: nowrap; }
  .article table { font-size: 13.5px; }
  .article th, .article td { padding: 10px 12px; }
  .section-cta { padding: 28px 20px; }
  .section-cta h3 { font-size: 22px !important; }
  .btn-large { padding: 14px 24px; font-size: 15px; }
  .header-cta { padding: 9px 16px; font-size: 13px; }
  .logo-link img { height: 30px; }
}