/* ===== Energy Casino PL — Shared styles ===== */
:root {
  --bg: #0c0c0c;
  --bg-soft: #141414;
  --bg-card: #1a1a1a;
  --bg-card-2: #222;
  --border: #2a2a2a;
  --border-strong: #3a3a3a;
  --text: #f1f1f1;
  --text-muted: #b8b8b8;
  --text-dim: #8d8d8d;
  --accent: #ffd400;
  --accent-2: #ffba00;
  --accent-glow: rgba(255, 212, 0, 0.25);
  --purple: #4a1cb3;
  --purple-2: #6a2bd9;
  --green: #25c97a;
  --red: #e25555;
  --radius: 8px;
  --radius-sm: 4px;
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.35);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.45);
  --maxw: 1180px;
  --header-h: 70px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; color: #fff; }
h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); margin: 0 0 18px; }
h2 { font-size: clamp(1.4rem, 1rem + 1.4vw, 1.9rem); margin: 32px 0 14px; }
h3 { font-size: 1.2rem; margin: 24px 0 10px; }
h4 { font-size: 1.05rem; margin: 20px 0 8px; }
p { margin: 0 0 14px; }

/* ===== Header (mirrors official site) ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #050505;
  border-bottom: 1px solid #1d1d1d;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(0,0,0,0.6); }
.header-inner {
  max-width: var(--maxw); width: 100%;
  margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 18px;
}
.logo {
  display: inline-flex; align-items: center;
  height: 38px; flex-shrink: 0;
}
.logo img { height: 32px; width: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: 22px; flex: 1; }
.main-nav a {
  color: #fff; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.main-nav a:hover { color: var(--accent); border-bottom-color: var(--accent); text-decoration: none; }
.header-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #0a0a0a;
  font-weight: 700; padding: 10px 22px;
  border-radius: 22px; text-decoration: none;
  font-size: 0.95rem; letter-spacing: 0.2px;
  transition: transform .15s ease, background .15s ease;
  white-space: nowrap;
}
.header-cta:hover { background: var(--accent-2); transform: translateY(-1px); text-decoration: none; }
.menu-toggle {
  display: none; background: transparent; border: 0;
  color: #fff; font-size: 1.6rem; cursor: pointer; padding: 4px 8px;
}

/* Drawer (mobile) */
@media (max-width: 920px) {
  .menu-toggle { display: inline-block; order: -1; }
  .main-nav {
    position: fixed; top: var(--header-h); left: -100%; width: 78%; max-width: 320px;
    height: calc(100vh - var(--header-h));
    background: #0a0a0a; border-right: 1px solid #1f1f1f;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 18px 0; transition: left .25s ease;
    overflow-y: auto;
  }
  .main-nav.open { left: 0; }
  .main-nav a {
    padding: 14px 22px; border-bottom: 1px solid #161616;
    border-left: 3px solid transparent;
  }
  .main-nav a:hover { border-bottom-color: #161616; border-left-color: var(--accent); }
  .header-cta { padding: 9px 16px; font-size: 0.88rem; }
  .logo img { height: 28px; }
}

/* ===== Layout ===== */
.container { max-width: var(--maxw); margin: 0 auto; padding: 28px 20px; }
.content { max-width: 860px; margin: 0 auto; padding: 28px 20px 60px; }
.content p, .content ul, .content ol, .content table { font-size: 1.02rem; }
.content ul, .content ol { padding-left: 24px; margin: 0 0 18px; }
.content li { margin-bottom: 6px; }

.breadcrumbs {
  font-size: 0.85rem; color: var(--text-dim);
  padding: 14px 20px; max-width: var(--maxw); margin: 0 auto;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); text-decoration: none; }
.breadcrumbs .sep { margin: 0 8px; color: #444; }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(900px 500px at 80% 20%, rgba(106,43,217,0.45), transparent 60%),
    radial-gradient(700px 400px at 10% 80%, rgba(255,212,0,0.10), transparent 65%),
    linear-gradient(180deg, #16102e 0%, #0c0c0c 70%);
  border-bottom: 1px solid var(--border);
  padding: 50px 20px 56px;
}
.hero-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
.hero h1 { margin-top: 0; }
.hero .lead { font-size: 1.1rem; color: #e6e6e6; margin-bottom: 20px; }
.hero-bonus-card {
  background: linear-gradient(160deg, #2a1373 0%, #4a1cb3 60%, #6a2bd9 100%);
  border: 1px solid #6a2bd9;
  border-radius: 14px;
  padding: 24px 26px;
  box-shadow: 0 10px 30px rgba(74,28,179,0.3);
}
.hero-bonus-card .label { font-size: 0.75rem; letter-spacing: 1.5px; color: var(--accent); font-weight: 700; }
.hero-bonus-card .offer { font-size: 1.4rem; font-weight: 800; line-height: 1.25; margin: 10px 0 14px; color: #fff; }
.hero-bonus-card ul { list-style: none; padding: 0; margin: 0 0 18px; }
.hero-bonus-card li { padding-left: 20px; position: relative; color: #f0eaff; margin-bottom: 4px; }
.hero-bonus-card li::before { content: "★"; position: absolute; left: 0; color: var(--accent); }

@media (max-width: 820px) {
  .hero { padding: 36px 18px 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== Buttons / CTAs ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; border-radius: 26px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 0; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: var(--accent); color: #0a0a0a;
  box-shadow: 0 6px 16px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); text-decoration: none; box-shadow: 0 8px 22px var(--accent-glow); }
.btn-outline {
  background: transparent; color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #0a0a0a; text-decoration: none; }
.btn-lg { padding: 16px 36px; font-size: 1.08rem; }
.cta-block {
  background: linear-gradient(135deg, #1a1233 0%, #2a1373 100%);
  border: 1px solid #3a2580;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  margin: 36px 0;
}
.cta-block h3 { margin-top: 0; }
.cta-block p { color: #d8d8e8; max-width: 580px; margin: 0 auto 18px; }

/* ===== Quick verdict / cards ===== */
.verdict-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 24px 0 32px;
}
.verdict-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 16px 0 0; }
.verdict-grid h4 { margin: 0 0 8px; color: var(--accent); font-size: 0.95rem; letter-spacing: 0.5px; text-transform: uppercase; }
.verdict-grid ul { padding-left: 18px; margin: 0; font-size: 0.96rem; }
.verdict-grid .pros li::marker { color: var(--green); }
.verdict-grid .cons li::marker { color: var(--red); }
.rating-row { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.rating-stars { color: var(--accent); font-size: 1.1rem; letter-spacing: 2px; }
.rating-num { font-size: 1.5rem; font-weight: 800; color: #fff; }
@media (max-width: 620px) { .verdict-grid { grid-template-columns: 1fr; } }

/* ===== Tables ===== */
.tbl-wrap { overflow-x: auto; margin: 18px 0 24px; }
table {
  width: 100%; border-collapse: collapse;
  background: var(--bg-card); border-radius: var(--radius); overflow: hidden;
  font-size: 0.96rem;
}
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
th { background: #181818; color: var(--accent); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.4px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #1d1d1d; }

/* ===== Promo code box ===== */
.promo-box {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  background: linear-gradient(135deg, #1d1500 0%, #2d2200 100%);
  border: 1px dashed var(--accent);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 22px 0;
}
.promo-box .promo-label { font-size: 0.85rem; color: var(--text-muted); }
.promo-box .promo-code {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 1.3rem; font-weight: 800; color: var(--accent);
  background: #000; padding: 8px 16px; border-radius: 6px;
  letter-spacing: 2px;
}
.copy-btn {
  background: var(--accent); color: #0a0a0a;
  border: 0; border-radius: 6px; padding: 9px 18px;
  font-weight: 700; cursor: pointer; font-size: 0.9rem;
  transition: background .15s ease;
}
.copy-btn:hover { background: var(--accent-2); }
.copy-btn.copied { background: var(--green); color: #fff; }

/* ===== FAQ (CSS-only collapsible) ===== */
.faq { margin: 28px 0; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600; color: #fff;
  display: flex; justify-content: space-between; align-items: center;
  transition: background .15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; color: var(--accent); font-weight: 400;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { background: #1f1f1f; }
.faq-answer { padding: 0 20px 18px; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 16px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ===== Callouts ===== */
.callout {
  background: var(--bg-soft);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 20px 0;
  color: var(--text-muted);
}
.callout strong { color: #fff; }
.callout-warn { border-left-color: var(--red); }
.callout-info { border-left-color: var(--purple-2); }

/* ===== Figures / images ===== */
figure {
  margin: 24px 0;
  text-align: center;
}
figure img {
  width: 90%; height: auto;
  display: block; margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  border: 1px solid var(--border);
}
figcaption {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--text-dim);
  font-style: italic;
}
@media (max-width: 700px) { figure img { width: 100%; } }

/* ===== Page-cards grid (homepage) ===== */
.cards-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  margin: 24px 0 32px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; color: #fff; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin: 0 0 12px; }
.card a.read-more { color: var(--accent); font-weight: 600; font-size: 0.9rem; }

/* ===== Section dividers ===== */
.divider {
  height: 1px; background: var(--border);
  margin: 36px 0;
}

/* ===== Footer ===== */
.site-footer {
  background: #060606;
  border-top: 1px solid #1d1d1d;
  padding: 40px 20px 24px;
  margin-top: 60px;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 24px; }
.footer-grid h4 { color: var(--accent); margin: 0 0 12px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--text-muted); }
.footer-grid a:hover { color: var(--accent); text-decoration: none; }
.footer-disclaimer {
  border-top: 1px solid #1d1d1d;
  padding-top: 18px;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
}
.age-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #1a1a1a; border: 1px solid var(--red); color: var(--red);
  font-weight: 800; padding: 6px 12px; border-radius: 4px;
  font-size: 0.85rem;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 22px; } }

/* ===== Misc ===== */
.text-accent { color: var(--accent); }
.muted { color: var(--text-muted); }
.center { text-align: center; }
.kw-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.kw-list span {
  display: inline-block;
  background: #1a1a1a; border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 5px 12px; border-radius: 14px;
  font-size: 0.85rem;
}

/* ===== Steps list ===== */
.steps {
  counter-reset: step;
  list-style: none; padding: 0;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 16px 16px 56px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 14px; top: 14px;
  width: 30px; height: 30px;
  background: var(--accent); color: #0a0a0a;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.steps li strong { color: #fff; display: block; margin-bottom: 4px; }

/* ===== 404 ===== */
.notfound {
  text-align: center;
  padding: 90px 20px;
}
.notfound .big { font-size: 8rem; line-height: 1; color: var(--accent); font-weight: 900; }

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

/* ===== Wager calculator widget ===== */
.wager-calc {
  background: linear-gradient(180deg, #131313 0%, #0d0d0d 100%);
  border: 1px solid #262626;
  border-radius: 12px;
  padding: 24px;
  margin: 28px 0;
}
.wager-calc h3 {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 1.25rem;
}
.wager-calc .calc-sub {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0 0 18px;
}
.wager-calc .calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
@media (max-width: 600px) {
  .wager-calc .calc-row { grid-template-columns: 1fr; }
}
.wager-calc label {
  display: block;
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
}
.wager-calc input[type="number"],
.wager-calc select {
  width: 100%;
  padding: 11px 13px;
  background: #0a0a0a;
  color: #fff;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .15s ease;
  -moz-appearance: textfield;
}
.wager-calc input[type="number"]::-webkit-outer-spin-button,
.wager-calc input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}
.wager-calc input:focus,
.wager-calc select:focus {
  outline: none;
  border-color: var(--accent);
}
.wager-calc .calc-results {
  background: #0a0a0a;
  border: 1px solid #1c1c1c;
  border-radius: 8px;
  padding: 18px;
  margin-top: 12px;
}
.wager-calc .result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dashed #1f1f1f;
}
.wager-calc .result-row:last-child { border-bottom: 0; }
.wager-calc .result-row .label { color: var(--text-muted); font-size: 0.92rem; }
.wager-calc .result-row .value { color: #fff; font-weight: 700; font-size: 1.05rem; }
.wager-calc .result-row.highlight .value { color: var(--accent); font-size: 1.4rem; }
.wager-calc .calc-note {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin: 14px 0 0;
  line-height: 1.5;
}

/* ===== Scroll-to-top button ===== */
.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #0a0a0a;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, background .15s ease;
  z-index: 90;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--accent-2); }
.scroll-top:focus { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 600px) {
  .scroll-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }
}
