/* ================================================
   Energy Casino Login - Independent Review (PL)
   ================================================ */

:root {
  --bg-primary: #0a0a0d;
  --bg-secondary: #14141a;
  --bg-card: #1c1c24;
  --bg-card-hover: #232330;
  --bg-elevated: #2a2a36;
  --border: #2d2d3a;
  --border-light: #3a3a4a;
  --text-primary: #ffffff;
  --text-secondary: #c9c9d4;
  --text-muted: #8a8a99;
  --accent: #ffd700;
  --accent-hover: #ffe042;
  --accent-soft: rgba(255, 215, 0, 0.12);
  --success: #4ade80;
  --warning: #fbbf24;
  --danger: #f87171;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.35);
  --shadow-lg: 0 18px 50px rgba(0,0,0,0.45);
  --shadow-yellow: 0 8px 24px rgba(255, 215, 0, 0.22);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
  --container: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

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

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 13, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.4); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 68px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 42px;
}
.logo img { height: 36px; width: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  margin-left: 16px;
  white-space: nowrap;
}
.main-nav a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 6px 0;
}
.main-nav a:hover { color: var(--accent); }
.main-nav a.active { color: var(--accent); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #0a0a0d;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
}
.header-cta:hover {
  background: var(--accent-hover);
  color: #0a0a0d;
  transform: translateY(-1px);
  box-shadow: var(--shadow-yellow);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.menu-toggle svg { width: 20px; height: 20px; }

/* HERO */
.hero {
  position: relative;
  padding: 70px 0 56px;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(255, 215, 0, 0.13) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 100%, rgba(124, 58, 237, 0.12) 0%, transparent 55%),
    var(--bg-primary);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,215,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,215,0,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, black 20%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,215,0,.25);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0.5px;
  font-weight: 400;
  margin-bottom: 18px;
}
.hero h1 .accent { color: var(--accent); }
.hero p.lead {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 24px;
}

.verdict-card {
  background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.verdict-card h3 {
  font-size: 1.05rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.rating-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.rating-score {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
}
.stars { color: var(--accent); font-size: 1.1rem; letter-spacing: 2px; }
.rating-meta { font-size: .82rem; color: var(--text-muted); }
.proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
.proscons h4 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.proscons .pros h4 { color: var(--success); }
.proscons .cons h4 { color: var(--danger); }
.proscons ul { list-style: none; font-size: .88rem; color: var(--text-secondary); }
.proscons li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
  line-height: 1.4;
}
.proscons .pros li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}
.proscons .cons li::before {
  content: '−';
  position: absolute;
  left: 0;
  color: var(--danger);
  font-weight: bold;
}

/* CTA BUTTON */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: #0a0a0d;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  text-align: center;
  letter-spacing: .3px;
  width: 100%;
  max-width: 340px;
}
.btn-cta:hover {
  background: var(--accent-hover);
  color: #0a0a0d;
  transform: translateY(-2px);
  box-shadow: var(--shadow-yellow);
}
.btn-cta::after {
  content: '→';
  font-size: 1.1rem;
  transition: transform var(--transition);
}
.btn-cta:hover::after { transform: translateX(4px); }

.cta-block {
  text-align: center;
  padding: 44px 24px;
  background:
    radial-gradient(ellipse at center, rgba(255,215,0,.08) 0%, transparent 70%),
    var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin: 40px 0;
}
.cta-block h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 10px;
  letter-spacing: .5px;
}
.cta-block p { color: var(--text-secondary); margin-bottom: 22px; }

/* CONTENT */
main { padding: 56px 0 80px; }
article { max-width: 880px; margin: 0 auto; }
article > * + * { margin-top: 24px; }
article h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  margin-top: 48px !important;
  margin-bottom: 18px;
  letter-spacing: .4px;
  position: relative;
  padding-left: 16px;
}
article h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  background: var(--accent);
  border-radius: 2px;
}
article h3 {
  font-size: 1.25rem;
  margin-top: 30px !important;
  margin-bottom: 12px;
  color: var(--text-primary);
}
article p { color: var(--text-secondary); }
article ul, article ol { color: var(--text-secondary); padding-left: 22px; }
article li { margin-bottom: 8px; line-height: 1.65; }
article strong { color: var(--text-primary); font-weight: 600; }
article a { border-bottom: 1px dashed rgba(255, 215, 0, 0.4); padding-bottom: 1px; }
article a:hover { border-bottom-color: var(--accent); }

/* TABLES */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 16px 0;
  font-size: .94rem;
}
.data-table th, .data-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.data-table th {
  background: var(--bg-elevated);
  font-weight: 600;
  color: var(--accent);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover { background: var(--bg-card-hover); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* CALLOUT BOX */
.callout {
  background: linear-gradient(135deg, rgba(255,215,0,.08), rgba(255,215,0,.03));
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 20px 0;
}
.callout strong { color: var(--accent); }
.callout.warning {
  background: linear-gradient(135deg, rgba(248,113,113,.08), rgba(248,113,113,.03));
  border-left-color: var(--danger);
}
.callout.warning strong { color: var(--danger); }

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

/* FIGURE */
figure {
  margin: 24px auto;
  text-align: center;
}
figure img {
  width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}
figcaption {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: 10px;
  font-style: italic;
}

/* FAQ */
.faq { margin-top: 40px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:hover { border-color: var(--border-light); }
.faq-item summary {
  padding: 18px 56px 18px 22px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  list-style: none;
  font-size: 1.02rem;
  transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 300;
  transition: transform var(--transition);
  line-height: 1;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer {
  padding: 0 22px 20px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* HOMEPAGE QUICK FACTS */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: transform var(--transition), border-color var(--transition);
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.feature-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--accent);
}
.feature-card h4 { font-size: 1.05rem; margin-bottom: 6px; color: var(--text-primary); }
.feature-card p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* BREADCRUMBS */
.breadcrumbs {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.breadcrumbs a { color: var(--text-muted); border: none; padding: 0; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { margin: 0 6px; color: var(--text-muted); }

/* FOOTER */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 50px 0 24px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-grid h4 {
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  color: var(--accent);
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a {
  color: var(--text-secondary);
  font-size: .92rem;
  border: none;
  padding: 0;
}
.footer-grid a:hover { color: var(--accent); }
.footer-about p {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.footer-about .logo { margin-bottom: 14px; }

.responsibility-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 800;
  font-size: .85rem;
  border-radius: 50%;
  flex-shrink: 0;
}
.responsibility-bar p { font-size: .82rem; color: var(--text-muted); margin: 0; flex: 1; min-width: 220px; }

.footer-bottom {
  text-align: center;
  font-size: .78rem;
  color: var(--text-muted);
  padding-top: 14px;
}

/* MOBILE NAV */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100dvh;
  background: var(--bg-primary);
  z-index: 200;
  padding: 20px;
  overflow-y: auto;
  flex-direction: column;
}
.mobile-nav.active { display: flex; }
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  height: 42px;
}
.close-btn {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav ul {
  list-style: none;
  margin-bottom: 24px;
}
.mobile-nav ul li {
  border-bottom: 1px solid var(--border);
}
.mobile-nav ul li a {
  display: block;
  padding: 16px 4px;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 500;
  border: none;
}
.mobile-nav ul li a.active { color: var(--accent); }
.mobile-nav .btn-cta { width: 100%; max-width: none; }

/* RESPONSIVE */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { padding: 0 16px; }
  .hero { padding: 44px 0 36px; }
  .hero h1 { font-size: 2rem; }
  .hero p.lead { font-size: 1rem; }
  article h2 { font-size: 1.5rem; padding-left: 12px; }
  article h3 { font-size: 1.12rem; }
  .verdict-card { padding: 18px; }
  .rating-score { font-size: 2rem; }
  .proscons { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature-card { padding: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  figure img { width: 100%; }
  .header-cta { padding: 8px 16px; font-size: 13px; }
  .header-inner { gap: 10px; padding: 0 16px; height: 60px; }
  .logo img { height: 30px; }
  .cta-block { padding: 32px 18px; }
  .cta-block h3 { font-size: 1.4rem; }
  .steps li { padding: 14px 16px 14px 56px; }
  .steps li::before { left: 12px; top: 14px; width: 28px; height: 28px; font-size: .9rem; }
  main { padding: 36px 0 60px; }
}

@media (max-width: 380px) {
  .header-cta { padding: 7px 14px; font-size: 12px; }
  .feature-grid { grid-template-columns: 1fr; }
}

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero h1, .hero p.lead, .hero .hero-eyebrow, .hero .btn-cta { animation: fadeUp .7s ease-out both; }
.hero p.lead { animation-delay: .1s; }
.hero .btn-cta { animation-delay: .2s; }
.verdict-card { animation: fadeUp .8s ease-out .2s both; }

/* 404 Error Page */
.error-page { text-align: center; padding: 60px 0 40px; }
.error-code { font-family: 'Bebas Neue', sans-serif; font-size: 140px; line-height: 1; color: var(--accent); margin-bottom: 16px; letter-spacing: 4px; }
.error-page h1 { text-align: center; }
.error-page .lead { max-width: 640px; margin: 0 auto 40px; }
.error-page .feature-grid { margin: 32px 0 40px; }
.error-page .cta-block { margin-top: 32px; }
.feature-card-link { text-decoration: none; color: inherit; display: block; }
.feature-card-link .feature-card { transition: transform .15s ease, border-color .15s ease; height: 100%; }
.feature-card-link:hover .feature-card { transform: translateY(-2px); border-color: var(--accent); }
@media (max-width: 600px) {
  .error-code { font-size: 92px; }
}
