/* Energy Casino review site — global styles */
:root {
  --yellow: #ffd400;
  --yellow-hover: #ffe233;
  --yellow-deep: #f7c500;
  --bg-dark: #0c0a1a;
  --bg-darker: #07061a;
  --bg-card: #1a162b;
  --bg-card-2: #221c38;
  --purple-deep: #2c1e6b;
  --purple-mid: #4f2dc4;
  --purple-light: #7d4fff;
  --text: #ffffff;
  --text-muted: #b8b3c9;
  --text-dim: #888299;
  --border: #2d2745;
  --border-strong: #3a3357;
  --success: #2ecc71;
  --danger: #ff5757;
  --shadow: 0 6px 24px rgba(0,0,0,.35);
  --shadow-strong: 0 10px 32px rgba(0,0,0,.55);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --container: 1200px;
  --header-h: 70px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-dark);
  background-image:
    radial-gradient(at top right, rgba(125, 79, 255, 0.12), transparent 50%),
    radial-gradient(at bottom left, rgba(255, 212, 0, 0.06), transparent 50%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--yellow); text-decoration: none; }
a:hover { color: var(--yellow-hover); text-decoration: underline; }

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

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

/* ============= HEADER ============= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 6, 26, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img { height: 36px; width: auto; display: block; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  margin: 0 24px;
}

.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
}
.main-nav a:hover {
  color: var(--yellow);
  background: rgba(255,212,0,.08);
  text-decoration: none;
}
.main-nav a.active {
  color: var(--yellow);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s, background .15s, color .15s, box-shadow .2s;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
}
/* Button color is locked: high specificity + !important to defeat :visited and any global `a` rules */
a.btn,
a.btn:visited,
.btn {
  text-decoration: none;
}
a.btn-primary,
a.btn-primary:visited,
.btn-primary {
  background: var(--yellow);
  color: #1a1126 !important;
  border-color: var(--yellow);
}
a.btn-primary:hover,
a.btn-primary:focus,
a.btn-primary:active,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: var(--yellow-hover);
  color: #1a1126 !important;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(255, 212, 0, 0.35);
}
a.btn-outline,
a.btn-outline:visited,
.btn-outline {
  background: transparent;
  color: var(--yellow) !important;
  border-color: var(--yellow);
}
a.btn-outline:hover,
a.btn-outline:focus,
.btn-outline:hover,
.btn-outline:focus {
  background: var(--yellow);
  color: #1a1126 !important;
  text-decoration: none;
}
a.btn-ghost,
a.btn-ghost:visited,
.btn-ghost {
  background: var(--bg-card);
  color: var(--text) !important;
  border-color: var(--border-strong);
}
a.btn-ghost:hover,
a.btn-ghost:focus,
.btn-ghost:hover,
.btn-ghost:focus {
  background: var(--bg-card-2);
  color: var(--text) !important;
  text-decoration: none;
}
.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
  letter-spacing: 0.3px;
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform .2s, top .2s, opacity .2s;
}
.menu-toggle span { top: 50%; margin-top: -1px; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle.is-open span { background: transparent; }
.menu-toggle.is-open span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.menu-toggle.is-open span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* ============= HERO ============= */
.hero {
  position: relative;
  padding: 60px 0 50px;
  background: linear-gradient(135deg, #2c1e6b 0%, #4f2dc4 50%, #7d4fff 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 212, 0, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(28px, 4.5vw, 46px);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero h1 .accent { color: var(--yellow); }
.hero .lead {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255,255,255,.92);
  max-width: 680px;
  margin: 0 0 28px;
}

/* ============= QUICK VERDICT BOX ============= */
.verdict {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: -40px auto 50px;
  position: relative;
  z-index: 5;
  box-shadow: var(--shadow-strong);
  max-width: 1100px;
}
.verdict-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
}
.verdict-rating {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255,212,0,.08), rgba(125,79,255,.08));
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.verdict-rating .score {
  font-size: 56px;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
}
.verdict-rating .stars {
  color: var(--yellow);
  font-size: 18px;
  margin: 8px 0 4px;
  letter-spacing: 4px;
}
.verdict-rating .label {
  color: var(--text-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.verdict h2 {
  margin: 0 0 12px;
  font-size: 22px;
}
.verdict-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 18px;
}
.verdict-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.verdict-list li {
  padding: 4px 0 4px 26px;
  position: relative;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}
.verdict-list.pros li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}
.verdict-list.cons li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--danger);
  font-weight: bold;
}
.verdict-list h4 {
  margin: 0 0 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
}

/* ============= MAIN CONTENT ============= */
main {
  padding: 0 0 60px;
}
.content-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrap > h1:first-child {
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.2;
  margin: 30px 0 12px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.content-wrap h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.3;
  margin: 38px 0 14px;
  font-weight: 700;
  color: var(--text);
  position: relative;
  padding-left: 16px;
}
.content-wrap h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  background: var(--yellow);
  border-radius: 2px;
}
.content-wrap h3 {
  font-size: clamp(18px, 2vw, 22px);
  margin: 28px 0 10px;
  font-weight: 700;
  color: var(--text);
}
.content-wrap h4 {
  font-size: 17px;
  margin: 20px 0 8px;
  font-weight: 700;
}
.content-wrap p {
  margin: 0 0 16px;
  color: var(--text);
}
.content-wrap ul, .content-wrap ol {
  margin: 0 0 18px;
  padding-left: 22px;
}
.content-wrap li {
  margin-bottom: 8px;
}
.content-wrap a {
  color: var(--yellow);
  text-decoration: underline;
  text-decoration-color: rgba(255, 212, 0, 0.4);
  text-underline-offset: 3px;
}
.content-wrap a:hover {
  color: var(--yellow-hover);
  text-decoration-color: var(--yellow-hover);
}
.content-wrap strong { color: var(--text); }

/* Lead paragraph */
.lead-p {
  font-size: 18px;
  color: var(--text-muted);
  border-left: 3px solid var(--yellow);
  padding-left: 18px;
  margin: 0 0 28px;
  line-height: 1.6;
}

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

/* ============= TABLES ============= */
.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}
table.data {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}
table.data th,
table.data td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
table.data th {
  background: var(--bg-card-2);
  color: var(--yellow);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
table.data tr:last-child td { border-bottom: none; }
table.data tr:hover td { background: rgba(255,255,255,.02); }

/* ============= CALLOUT / BONUS BOX ============= */
.callout {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-2));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 26px 0;
  position: relative;
}
.callout.highlight {
  border-color: var(--yellow);
  background: linear-gradient(135deg, rgba(255,212,0,.06), rgba(125,79,255,.04));
}
.callout h3 {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 18px;
}
.callout p:last-child { margin-bottom: 0; }

.promo-box {
  background: linear-gradient(135deg, #2c1e6b, #4f2dc4);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 28px 0;
  text-align: center;
  border: 2px solid var(--yellow);
  box-shadow: 0 6px 28px rgba(125, 79, 255, 0.35);
}
.promo-box h3 {
  margin: 0 0 8px;
  color: var(--yellow);
  font-size: 20px;
}
.promo-box p {
  margin: 0 0 16px;
  color: rgba(255,255,255,.92);
  font-size: 15px;
}
.promo-code-display {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: #0c0820;
  border: 2px dashed var(--yellow);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 8px 0 16px;
}
.promo-code-display .code {
  padding: 12px 22px;
  font-family: 'Courier New', monospace;
  font-size: 22px;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: 2px;
}
.promo-code-display .copy-btn {
  background: var(--yellow);
  color: #1a1126;
  border: 0;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  font-family: inherit;
  transition: background .15s;
}
.promo-code-display .copy-btn:hover { background: var(--yellow-hover); }
.promo-code-display .copy-btn.copied { background: var(--success); color: #fff; }

/* ============= STEPS ============= */
.steps {
  list-style: none !important;
  padding-left: 0 !important;
  counter-reset: step-counter;
  margin: 26px 0;
}
.steps > li {
  position: relative;
  padding: 18px 18px 18px 70px;
  margin-bottom: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  counter-increment: step-counter;
}
.steps > li::before {
  content: counter(step-counter);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: #1a1126;
  font-weight: 800;
  border-radius: 50%;
  font-size: 17px;
}
.steps > li strong {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}

/* ============= CTA BLOCKS ============= */
.cta-block {
  text-align: center;
  background: linear-gradient(135deg, #2c1e6b 0%, #4f2dc4 100%);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  margin: 36px 0;
  border: 1px solid var(--purple-light);
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,212,0,.15), transparent 70%);
  pointer-events: none;
}
.cta-block h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--text);
  position: relative;
}
.cta-block p {
  margin: 0 0 22px;
  color: rgba(255,255,255,.92);
  position: relative;
}
.cta-block .btn { position: relative; }

/* ============= FAQ ============= */
.faq {
  margin: 32px 0;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--bg-card);
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background .15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--yellow);
  font-size: 24px;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item summary:hover { background: var(--bg-card-2); }
.faq-item .faq-content {
  padding: 0 22px 20px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.faq-item .faq-content p:last-child { margin-bottom: 0; }

/* ============= BREADCRUMBS ============= */
.breadcrumbs {
  padding: 18px 0 4px;
  font-size: 13px;
  color: var(--text-dim);
}
.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--yellow); }
.breadcrumbs .sep { margin: 0 8px; color: var(--text-dim); }

/* ============= GAME / FEATURE GRID ============= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 28px 0;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px;
  transition: transform .15s, border-color .15s;
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--yellow);
}
.feature-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-deep));
  color: #1a1126;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.feature-card h4 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--text);
}
.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============= FOOTER ============= */
.site-footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border);
  padding: 50px 0 24px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}
.footer-grid h5 {
  color: var(--yellow);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 14px;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-grid li {
  margin-bottom: 8px;
}
.footer-grid a {
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
}
.footer-grid a:hover {
  color: var(--yellow);
  text-decoration: underline;
}
.footer-about p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 14px;
  line-height: 1.6;
}
.badges {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.badge-18 {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--danger);
  color: var(--danger);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}
.gamble-aware {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-dim);
}
.footer-bottom a { color: var(--text-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--yellow); }

/* ============= 404 PAGE ============= */
.error-page {
  text-align: center;
  padding: 80px 20px;
}
.error-page h1 {
  font-size: clamp(48px, 8vw, 110px);
  color: var(--yellow);
  margin: 0;
  line-height: 1;
  font-weight: 900;
}
.error-page p {
  font-size: 18px;
  color: var(--text-muted);
  margin: 16px auto 28px;
  max-width: 520px;
}
.error-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* ============= RESPONSIVE ============= */
@media (max-width: 960px) {
  .header-cta .btn-ghost { display: none; }
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-darker);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px;
    margin: 0;
    transform: translateX(-100%);
    transition: transform .25s ease;
    overflow-y: auto;
    border-top: 1px solid var(--border);
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a {
    padding: 16px 14px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    font-size: 16px;
  }
  .verdict-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .verdict-rating { padding: 16px; }
  .verdict-rating .score { font-size: 44px; }
  .verdict-cols {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .content-wrap { padding: 0 16px; }
  figure img { width: 100%; }
  .hero { padding: 40px 0 36px; }
  .verdict { padding: 20px; margin-top: -28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .promo-code-display { flex-direction: column; }
  .promo-code-display .code { padding: 10px 16px; font-size: 18px; }
  .promo-code-display .copy-btn { width: 100%; padding: 10px; }
  .steps > li { padding-left: 18px; padding-top: 56px; }
  .steps > li::before { left: 18px; top: 14px; }
  .footer-bottom { flex-direction: column; }
  .header-cta .btn { padding: 9px 14px; font-size: 13px; }
}

/* clipboard feedback animation */
@keyframes pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
.promo-code-display .copy-btn.copied { animation: pop .25s ease; }
