/* ============================================================
   EnergyCasino Polska — affiliate review site
   Dark navy + electric gold palette, Bebas Neue + Manrope
   ============================================================ */

:root {
  --bg: #0A0E1A;
  --bg-2: #11172A;
  --bg-3: #1A2238;
  --bg-card: #161D33;
  --gold: #FFC107;
  --gold-2: #FFD740;
  --gold-soft: rgba(255, 193, 7, 0.12);
  --text: #E8EDF7;
  --text-muted: #9BA5BF;
  --text-dim: #6B7794;
  --border: rgba(255, 193, 7, 0.18);
  --border-soft: rgba(255, 255, 255, 0.06);
  --success: #4ADE80;
  --danger: #F87171;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 8px 32px rgba(255, 193, 7, 0.25);
  --max-width: 1180px;
}

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

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

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 193, 7, 0.10), transparent),
    radial-gradient(ellipse 60% 40% at 90% 30%, rgba(255, 215, 64, 0.05), transparent);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-2); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: 'Bebas Neue', 'Manrope', sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: #fff;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin: 2.5rem 0 1rem; color: var(--gold); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); margin: 1.8rem 0 0.8rem; }
h4 { font-size: 1.15rem; margin: 1.2rem 0 0.6rem; font-family: 'Manrope', sans-serif; font-weight: 700; letter-spacing: 0; color: var(--gold-2); }

p { margin-bottom: 1.1rem; color: var(--text); }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0.8rem 0 1.2rem 1.5rem; }
li { margin-bottom: 0.4rem; color: var(--text); }
li::marker { color: var(--gold); }

strong { color: #fff; font-weight: 700; }
em { color: var(--gold-2); font-style: normal; font-weight: 600; }

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ============================================================
   HEADER — mirrors EnergyCasino's official dark navy header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}
.brand img { height: 43px !important; width: auto !important; max-width: none !important; flex-shrink: 0; }

.main-nav {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  flex: 1;
  margin-left: 2rem;
}
.main-nav a {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--gold); text-decoration: none; }
.main-nav a.active { color: var(--gold); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.btn-header-cta {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--bg) !important;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 0;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(255, 193, 7, 0.35);
  white-space: nowrap;
}
.btn-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
  text-decoration: none;
  color: var(--bg) !important;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--gold);
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 920px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-2);
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 0;
    margin-left: 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-soft);
    width: 100%;
    font-size: 1rem;
  }
  .main-nav a:last-child { border-bottom: 0; }
  .menu-toggle { display: flex; }
  .header-inner { gap: 0.75rem; }
  .btn-header-cta { padding: 0.55rem 1rem; font-size: 0.78rem; }
  .brand img { height: 32px !important; width: auto !important; max-width: none !important; }
}

/* ============================================================
   HERO + sections
   ============================================================ */
.hero {
  padding: 3.5rem 0 2rem;
  position: relative;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--gold);
  border-radius: 100px;
  margin-bottom: 1.4rem;
}
.hero-lead {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 1.8rem;
}

article { padding: 1rem 0 3rem; }
article h2:first-child { margin-top: 1.5rem; }

/* ============================================================
   QUICK VERDICT BOX
   ============================================================ */
.verdict {
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}
.verdict::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.08), transparent 60%);
  pointer-events: none;
}
.verdict-rating { text-align: center; padding: 1rem; border-right: 1px solid var(--border-soft); }
.rating-score {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rating-stars { font-size: 1.4rem; color: var(--gold); letter-spacing: 0.15em; margin: 0.4rem 0; }
.rating-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.verdict-content h3 { margin-top: 0; color: var(--gold); }

.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1rem; }
.proscons h4 { margin-top: 0; }
.proscons ul { list-style: none; margin-left: 0; }
.proscons li { padding-left: 1.5rem; position: relative; font-size: 0.93rem; line-height: 1.5; }
.pros li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.cons li::before { content: '−'; position: absolute; left: 0; color: var(--danger); font-weight: 700; }

@media (max-width: 720px) {
  .verdict { grid-template-columns: 1fr; gap: 1.2rem; padding: 1.5rem; }
  .verdict-rating { border-right: 0; border-bottom: 1px solid var(--border-soft); padding-bottom: 1.2rem; }
  .proscons { grid-template-columns: 1fr; }
  .rating-score { font-size: 4rem; }
}

/* ============================================================
   CTA Buttons (in-content)
   ============================================================ */
.cta-block {
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin: 2.2rem 0;
  position: relative;
  overflow: hidden;
}
.cta-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(255, 193, 7, 0.15), transparent 70%);
  pointer-events: none;
}
.cta-block h3 {
  margin-top: 0;
  color: var(--gold);
  font-size: 1.6rem;
  position: relative;
}
.cta-block p { position: relative; color: var(--text); }
.btn-cta {
  display: inline-block;
  padding: 1rem 2.2rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--bg) !important;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 0;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: var(--shadow-gold);
  margin-top: 0.8rem;
  position: relative;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(255, 193, 7, 0.45);
  text-decoration: none;
  color: var(--bg) !important;
}
.btn-cta-secondary {
  background: transparent;
  color: var(--gold) !important;
  border: 2px solid var(--gold);
  box-shadow: none;
}
.btn-cta-secondary:hover {
  background: var(--gold-soft);
  color: var(--gold) !important;
  box-shadow: 0 4px 16px rgba(255, 193, 7, 0.2);
}

/* ============================================================
   IMAGES in content
   ============================================================ */
figure {
  margin: 1.8rem auto;
  text-align: center;
}
figure img {
  width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-soft);
}
figcaption {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.8rem;
  font-style: italic;
}
@media (max-width: 720px) {
  figure img { width: 100%; }
}

/* ============================================================
   TABLES
   ============================================================ */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border-radius: var(--radius); }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.95rem;
}
th {
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  color: var(--gold);
  font-weight: 700;
  text-align: left;
  padding: 0.9rem 1rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
}
td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--border-soft); }
tr:last-child td { border-bottom: 0; }
tr:hover td { background: rgba(255, 193, 7, 0.04); }

/* ============================================================
   CALLOUT / PROMO CODE BOX
   ============================================================ */
.callout {
  background: var(--bg-card);
  border-left: 4px solid var(--gold);
  padding: 1.2rem 1.4rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.callout strong { color: var(--gold); }
.callout-warning {
  border-left-color: var(--danger);
}
.callout-warning strong { color: var(--danger); }

.code-box {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--bg);
  border: 2px dashed var(--gold);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius);
  margin: 1.2rem 0;
  flex-wrap: wrap;
}
.code-label { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.code-value {
  font-family: 'Bebas Neue', monospace;
  font-size: 1.6rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  flex: 1;
}
.copy-btn {
  background: var(--gold);
  color: var(--bg);
  border: 0;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.copy-btn:hover { background: var(--gold-2); }
.copy-btn.copied { background: var(--success); color: var(--bg); }

/* ============================================================
   STEP LIST
   ============================================================ */
.steps {
  counter-reset: step;
  list-style: none;
  margin-left: 0;
  padding: 0;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 1rem 1rem 1rem 4rem;
  margin-bottom: 0.8rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 2.2rem;
  height: 2.2rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--bg);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps li strong { display: block; margin-bottom: 0.3rem; color: var(--gold-2); }

/* ============================================================
   FAQ — CSS-only accordion via :target / details
   ============================================================ */
.faq-list { margin: 1.5rem 0; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  margin-bottom: 0.7rem;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--gold); }
.faq-item summary {
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-weight: 700;
  color: #fff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 300;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 1.4rem 1.2rem; color: var(--text); border-top: 1px solid var(--border-soft); padding-top: 1rem; }
.faq-answer p { margin-bottom: 0.8rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-dim);
  padding: 1rem 0 0;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs span[aria-current] { color: var(--gold); }

/* ============================================================
   BONUS CARDS GRID
   ============================================================ */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin: 1.5rem 0;
}
.bonus-card {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  position: relative;
  overflow: hidden;
}
.bonus-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
}
.bonus-card h4 { margin-top: 0; color: var(--gold); font-size: 1.1rem; }
.bonus-amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: #fff;
  letter-spacing: 0.03em;
  display: block;
  margin: 0.3rem 0 0.6rem;
  line-height: 1;
}
.bonus-card p { font-size: 0.92rem; color: var(--text-muted); }

/* ============================================================
   PAYMENT METHODS / GAMES tags
   ============================================================ */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}
.tag {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--gold-2);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #060912;
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
  color: var(--text-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid h4 { color: var(--gold); margin-top: 0; font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-grid ul { list-style: none; margin-left: 0; }
.footer-grid li { margin-bottom: 0.5rem; font-size: 0.9rem; }
.footer-grid a { color: var(--text-muted); }
.footer-grid a:hover { color: var(--gold); }
.footer-brand img { height: 32px; margin-bottom: 0.8rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.6; }

.footer-badges {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 1rem 0;
  flex-wrap: wrap;
}
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--gold);
  color: var(--gold);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.95rem;
}
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 1.5rem;
  font-size: 0.82rem;
  text-align: center;
  color: var(--text-dim);
  line-height: 1.6;
}
.footer-disclaimer {
  background: rgba(248, 113, 113, 0.06);
  border: 1px solid rgba(248, 113, 113, 0.2);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
  font-size: 0.85rem;
  line-height: 1.6;
}
.footer-disclaimer strong { color: var(--danger); }

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   404
   ============================================================ */
.error-page {
  text-align: center;
  padding: 4rem 1rem;
}
.error-page .big {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(6rem, 18vw, 12rem);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* ============================================================
   Page-load reveal
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
main > * { animation: fadeUp 0.5s ease-out backwards; }
main > :nth-child(1) { animation-delay: 0.05s; }
main > :nth-child(2) { animation-delay: 0.10s; }
main > :nth-child(3) { animation-delay: 0.15s; }

/* ============================================================
   E-E-A-T / generic article styling
   ============================================================ */
.article-eeat h2 { color: var(--gold); }
.article-eeat ul li { margin-bottom: 0.5rem; }

/* utility */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
