/* ===========================
   Energy Casino PL — CSS
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Nunito:wght@400;500;600;700&display=swap');

:root {
  /* Brand colors extracted from Energy Casino */
  --color-bg:       #0d0f14;
  --color-bg2:      #131720;
  --color-bg3:      #1a1f2e;
  --color-surface:  #1e2435;
  --color-surface2: #252c3e;
  --color-border:   #2e3650;

  --color-primary:  #f5a623;   /* orange-gold */
  --color-accent:   #e8890a;
  --color-glow:     rgba(245,166,35,0.18);
  --color-green:    #3dd68c;

  --color-text:     #e8ecf4;
  --color-muted:    #8a94b2;
  --color-white:    #ffffff;

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.45);
  --shadow-glow: 0 0 28px rgba(245,166,35,0.22);

  --font-display: 'Rajdhani', sans-serif;
  --font-body:    'Nunito', sans-serif;

  --header-h: 68px;
  --max-w: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}

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

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

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-white);
  letter-spacing: .02em;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.4em; margin-bottom: 1rem; }
li { margin-bottom: .35rem; }

strong { color: var(--color-white); font-weight: 700; }

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

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0a0c11;
  border-bottom: 1px solid var(--color-border);
  height: var(--header-h);
  box-shadow: 0 2px 16px rgba(0,0,0,.6);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--header-h);
}
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.site-logo img { height: 38px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  flex-wrap: nowrap;
  overflow: hidden;
}
.main-nav a {
  color: var(--color-muted);
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--color-primary);
  background: var(--color-glow);
  text-decoration: none;
}

.header-cta {
  flex-shrink: 0;
  margin-left: auto;
}

/* ── CTA Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: transform .18s, box-shadow .18s, background .18s;
  text-decoration: none !important;
}
.btn-primary {
  background: linear-gradient(135deg, #f5a623, #e8890a);
  color: #0d0f14;
  box-shadow: 0 4px 18px rgba(245,166,35,.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245,166,35,.55);
}
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-glow);
  transform: translateY(-2px);
}
.btn-sm { padding: 8px 18px; font-size: .82rem; }
.btn-lg { padding: 14px 36px; font-size: 1.05rem; }

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: #0a0c11;
  border-bottom: 1px solid var(--color-border);
  padding: 16px 20px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,.7);
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a {
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
.mobile-drawer a:hover { color: var(--color-primary); background: var(--color-glow); text-decoration: none; }
.mobile-drawer .btn { margin-top: 8px; width: 100%; text-align: center; }

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, #12182a 0%, #0d0f14 60%);
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 40%, rgba(245,166,35,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(245,166,35,.12);
  border: 1px solid rgba(245,166,35,.3);
  border-radius: 99px;
  padding: 5px 14px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 18px;
}
.hero h1 { margin-bottom: 16px; }
.hero-lead {
  color: var(--color-muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Verdict Box ── */
.verdict-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 36px 0;
  position: relative;
  overflow: hidden;
}
.verdict-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}
.verdict-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.verdict-rating {
  text-align: center;
}
.rating-score {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}
.rating-label { font-size: .78rem; color: var(--color-muted); text-transform: uppercase; letter-spacing: .08em; }
.stars { color: var(--color-primary); font-size: 1.1rem; letter-spacing: 2px; }
.verdict-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.verdict-col h4 { margin-bottom: 10px; font-size: .9rem; text-transform: uppercase; letter-spacing: .07em; }
.verdict-col.pros h4 { color: var(--color-green); }
.verdict-col.cons h4 { color: #ff6b6b; }
.verdict-col ul { list-style: none; padding: 0; }
.verdict-col li { padding: 5px 0; border-bottom: 1px solid var(--color-border); font-size: .93rem; }
.verdict-col li:last-child { border: none; }
.verdict-col.pros li::before { content: '✓ '; color: var(--color-green); font-weight: 700; }
.verdict-col.cons li::before { content: '✗ '; color: #ff6b6b; font-weight: 700; }

/* ── Offer Banner ── */
.offer-banner {
  background: linear-gradient(135deg, #1a2040, #0f1520);
  border: 1px solid rgba(245,166,35,.25);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.offer-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 50%, rgba(245,166,35,.06) 0%, transparent 70%);
}
.offer-text { position: relative; }
.offer-tag {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.offer-main {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
}
.offer-sub { font-size: .88rem; color: var(--color-muted); margin-top: 4px; }
.offer-actions { position: relative; }

/* ── Sections ── */
.section { padding: 56px 0; }
.section-alt { background: var(--color-bg2); }
.section-title {
  margin-bottom: 36px;
}
.section-title h2 { margin-bottom: 8px; }
.section-title p { color: var(--color-muted); font-size: .98rem; }
.section-title .label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 8px;
}

/* ── Cards ── */
.card-grid { display: grid; gap: 20px; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(245,166,35,.35); transform: translateY(-3px); }
.card-icon {
  width: 44px; height: 44px;
  background: var(--color-glow);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { font-size: .92rem; color: var(--color-muted); margin: 0; }

/* ── Bonus Table ── */
.bonus-table-wrap { overflow-x: auto; margin: 24px 0; }
.bonus-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .93rem;
}
.bonus-table th, .bonus-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.bonus-table th {
  background: var(--color-surface2);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: .82rem;
}
.bonus-table tr:hover td { background: rgba(245,166,35,.04); }
.bonus-table td:first-child { font-weight: 600; color: var(--color-white); }

/* ── Steps ── */
.steps { list-style: none; padding: 0; margin: 24px 0; counter-reset: step; }
.step-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 20px;
  counter-increment: step;
}
.step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  color: #0d0f14;
}
.step-content h4 { margin-bottom: 4px; }
.step-content p { color: var(--color-muted); font-size: .92rem; margin: 0; }

/* ── FAQ ── */
.faq-list { margin: 24px 0; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-white);
  background: var(--color-surface);
  transition: background .2s;
  user-select: none;
}
.faq-question:hover { background: var(--color-surface2); }
.faq-chevron {
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: var(--color-glow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  color: var(--color-primary);
  transition: transform .25s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding: 16px 20px;
  background: var(--color-bg2);
  color: var(--color-muted);
  font-size: .93rem;
  border-top: 1px solid var(--color-border);
}
.faq-item.open .faq-answer { display: block; }

/* ── Info Box ── */
.info-box {
  background: rgba(245,166,35,.07);
  border: 1px solid rgba(245,166,35,.2);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: .93rem;
}
.info-box strong { color: var(--color-primary); }

.warning-box {
  background: rgba(255,107,107,.06);
  border: 1px solid rgba(255,107,107,.2);
  border-left: 3px solid #ff6b6b;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: .93rem;
}

/* ── Breadcrumbs ── */
.breadcrumbs {
  padding: 14px 0;
  font-size: .83rem;
  color: var(--color-muted);
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumbs a { color: var(--color-muted); }
.breadcrumbs a:hover { color: var(--color-primary); text-decoration: none; }
.breadcrumbs .sep { opacity: .4; }

/* ── Page Intro ── */
.page-intro {
  background: linear-gradient(160deg, #131a2e 0%, var(--color-bg) 100%);
  padding: 52px 0 44px;
  border-bottom: 1px solid var(--color-border);
}
.page-intro h1 { margin-bottom: 12px; }
.page-intro p { color: var(--color-muted); max-width: 640px; }

/* ── Content Area ── */
.content-area { max-width: 780px; }
.content-area h2 { margin: 36px 0 14px; padding-top: 4px; border-top: 1px solid var(--color-border); }
.content-area h2:first-child { margin-top: 0; border-top: none; }
.content-area h3 { margin: 24px 0 10px; color: var(--color-primary); font-size: 1.2rem; }

/* ── Figure / images in content ── */
figure {
  margin: 28px 0;
}
figure img {
  width: 90%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,.5);
  margin: 0 auto;
}
figcaption {
  text-align: center;
  font-size: .82rem;
  color: var(--color-muted);
  margin-top: 8px;
}
@media (max-width: 640px) {
  figure img { width: 100%; }
}

/* ── Payment methods icons ── */
.payment-methods {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.pay-badge {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-text);
}

/* ── Stat boxes ── */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 32px 0; }
.stat-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: .78rem; color: var(--color-muted); text-transform: uppercase; letter-spacing: .06em; }

/* ── Trust bar ── */
.trust-bar {
  background: var(--color-bg2);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
}
.trust-items {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--color-muted);
  font-weight: 600;
}
.trust-icon { font-size: 1.1rem; }

/* ── Footer ── */
.site-footer {
  background: #080a0f;
  border-top: 1px solid var(--color-border);
  padding: 48px 0 28px;
  margin-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { color: var(--color-muted); font-size: .88rem; margin-top: 12px; line-height: 1.6; }
.footer-col h5 {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: var(--color-muted); font-size: .9rem; transition: color .2s; }
.footer-col ul a:hover { color: var(--color-primary); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .78rem; color: var(--color-muted); line-height: 1.55; }
.footer-badges { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.badge-18 {
  width: 34px; height: 34px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .78rem;
  color: var(--color-muted);
  flex-shrink: 0;
}
.badge-mga {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  font-size: .7rem;
  font-weight: 700;
  color: var(--color-muted);
  letter-spacing: .06em;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-cta { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .verdict-cols { grid-template-columns: 1fr; }
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .offer-banner { flex-direction: column; align-items: flex-start; }
  .hero { padding: 44px 0 40px; }
}

/* ── Utility ── */
.text-primary { color: var(--color-primary); }
.text-muted { color: var(--color-muted); }
.text-center { text-align: center; }
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }
.mb-sm { margin-bottom: 12px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 40px; }
.gap-center { display: flex; justify-content: center; }
.cta-section {
  background: linear-gradient(135deg, #131a2e, #0d0f14);
  border: 1px solid rgba(245,166,35,.18);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin: 48px 0;
}
.cta-section h2 { margin-bottom: 10px; }
.cta-section p { color: var(--color-muted); margin-bottom: 24px; }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: none; }
