/* ============================================
   PinballPlayhouse.com — Neon Arcade Theme
   Retro arcade aesthetic with vibrant neon accents
   ============================================ */

:root {
  --bg: #1C1C2E;
  --bg-alt: #16162A;
  --surface: #2A2A40;
  --surface-light: #353552;
  --primary: #FF2D78;
  --primary-light: #FF6DA0;
  --secondary: #39FF14;
  --secondary-dim: #2BC410;
  --accent: #FFE500;
  --accent-dim: #D4BF00;
  --purple: #B026FF;
  --purple-light: #C86DFF;
  --danger: #FF4444;
  --text: #F0EFF4;
  --text-mid: #A8A6B8;
  --text-dim: #706E82;
  --border: rgba(255,45,120,0.15);
  --border-strong: rgba(255,45,120,0.35);
  --glow-pink: rgba(255,45,120,0.08);
  --glow-green: rgba(57,255,20,0.06);
  --shadow: rgba(0,0,0,0.5);
  --radius: 10px;
  --radius-lg: 14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.72;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Orbitron', 'DM Sans', system-ui, sans-serif;
  line-height: 1.3;
  color: var(--text);
}

h1 { font-size: 2.3rem; font-weight: 700; letter-spacing: 0.02em; }
h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: 0.01em; }
h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.6rem; }
h4 { font-size: 1rem; font-weight: 600; }

a { color: var(--primary-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--secondary); }

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

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }
.content-narrow { max-width: 820px; margin: 0 auto; }

/* ---------- HEADER ---------- */
.site-header {
  background: rgba(28,28,46,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }

.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Orbitron', system-ui, sans-serif;
  font-size: 1.05rem; font-weight: 700; color: var(--text); letter-spacing: 0.03em;
}
.logo img { width: 32px; height: 32px; }

.main-nav ul { list-style: none; display: flex; gap: 0.15rem; }
.main-nav a {
  display: block; padding: 0.45rem 0.75rem; font-size: 0.88rem; font-weight: 500;
  color: var(--text-mid); border-radius: var(--radius); transition: all 0.2s;
}
.main-nav a:hover { color: var(--text); background: var(--glow-pink); }
.main-nav a.active { color: var(--primary); background: rgba(255,45,120,0.1); }

.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; color: var(--text); cursor: pointer; }

/* ---------- HERO ---------- */
.hero {
  padding: 3rem 0 2rem; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,45,120,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 .neon-pink { color: var(--primary); text-shadow: 0 0 20px rgba(255,45,120,0.3); }
.hero h1 .neon-green { color: var(--secondary); text-shadow: 0 0 20px rgba(57,255,20,0.3); }

.hero-subtitle { font-size: 1.1rem; max-width: 660px; margin: 0 auto 1.5rem; color: var(--text-mid); }
.hero-image { max-width: 600px; margin: 1rem auto; position: relative; z-index: 1; }

.hero-stats { display: flex; justify-content: center; gap: 2.5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .num {
  display: block; font-family: 'Orbitron', monospace; font-size: 1.6rem; font-weight: 700;
  color: var(--primary); text-shadow: 0 0 12px rgba(255,45,120,0.3);
}
.hero-stat .lbl { font-size: 0.8rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- BREADCRUMBS ---------- */
.breadcrumbs { padding: 1rem 0 0.5rem; font-size: 0.85rem; color: var(--text-dim); }
.breadcrumbs a { color: var(--text-dim); }
.breadcrumbs a:hover { color: var(--primary-light); }
.breadcrumbs span { margin: 0 0.35rem; }

/* ---------- SECTIONS ---------- */
.section { padding: 3rem 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.neon-bar {
  width: 50px; height: 3px; border-radius: 2px; margin-bottom: 1.2rem;
  background: linear-gradient(90deg, var(--primary), var(--purple));
  box-shadow: 0 0 8px rgba(255,45,120,0.3);
}
.green-bar {
  width: 50px; height: 3px; border-radius: 2px; margin-bottom: 1.2rem;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  box-shadow: 0 0 8px rgba(57,255,20,0.3);
}

/* ---------- TOC ---------- */
.toc {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.5rem 2rem; margin: 2rem 0;
}
.toc h3 { font-size: 1rem; margin-bottom: 0.8rem; color: var(--primary); }
.toc ol { list-style: none; counter-reset: toc; columns: 2; column-gap: 2rem; }
.toc li { counter-increment: toc; margin-bottom: 0.4rem; break-inside: avoid; }
.toc li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: 'Orbitron', monospace; font-weight: 700; color: var(--secondary);
  margin-right: 0.5rem; font-size: 0.82rem;
}
.toc a { font-size: 0.9rem; color: var(--text-mid); }
.toc a:hover { color: var(--primary-light); }

/* ---------- CASINO CARDS ---------- */
.casino-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.5rem; margin-bottom: 1.2rem;
  display: grid; grid-template-columns: 1fr 2.2fr 1fr; gap: 1.5rem; align-items: center;
  transition: border-color 0.2s, box-shadow 0.2s; position: relative;
}
.casino-card:hover { border-color: var(--border-strong); box-shadow: 0 0 24px var(--glow-pink); }

.casino-card .rank-badge {
  position: absolute; top: -8px; left: -8px; width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  color: #FFF; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Orbitron', monospace; font-weight: 700; font-size: 0.82rem;
  box-shadow: 0 0 10px rgba(255,45,120,0.4);
}

.casino-left { text-align: center; }
.casino-name { font-family: 'Orbitron', system-ui, sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }

.casino-rating {
  display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.86rem; font-weight: 700;
  color: var(--accent); background: rgba(255,229,0,0.08); padding: 0.2rem 0.6rem; border-radius: 20px;
}
.casino-rating .stars { letter-spacing: 1px; font-size: 0.8rem; }

.casino-mid { font-size: 0.9rem; color: var(--text-mid); }
.casino-features { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
.feature-tag {
  font-size: 0.74rem; padding: 0.2rem 0.5rem; border-radius: 20px;
  background: rgba(255,45,120,0.06); color: var(--primary-light); border: 1px solid var(--border);
}

.casino-right { text-align: center; }
.bonus-amount {
  font-family: 'Orbitron', monospace; font-size: 1.2rem; font-weight: 700;
  color: var(--secondary); text-shadow: 0 0 8px rgba(57,255,20,0.2); margin-bottom: 0.3rem;
}
.bonus-detail { font-size: 0.78rem; color: var(--text-dim); margin-bottom: 0.6rem; }

.btn-primary {
  display: inline-block; padding: 0.5rem 1.3rem;
  background: linear-gradient(135deg, var(--primary), var(--purple));
  color: #FFF; font-weight: 600; font-size: 0.88rem; border-radius: 8px; border: none; cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0 12px rgba(255,45,120,0.2);
}
.btn-primary:hover { opacity: 0.9; color: #FFF; transform: translateY(-1px); box-shadow: 0 0 20px rgba(255,45,120,0.4); }

/* ---------- TABLE ---------- */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.styled-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.styled-table thead { background: linear-gradient(135deg, var(--primary), var(--purple)); color: #FFF; }
.styled-table th { padding: 0.7rem 1rem; text-align: left; font-weight: 600; font-size: 0.83rem; white-space: nowrap; }
.styled-table td { padding: 0.65rem 1rem; border-bottom: 1px solid var(--border); }
.styled-table tbody tr:hover { background: var(--glow-pink); }
.styled-table tbody tr:last-child td { border-bottom: none; }

/* ---------- PROS & CONS ---------- */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.5rem 0; }
.pros-box, .cons-box { padding: 1.25rem; border-radius: var(--radius-lg); }
.pros-box { background: rgba(57,255,20,0.04); border: 1px solid rgba(57,255,20,0.2); }
.cons-box { background: rgba(255,68,68,0.04); border: 1px solid rgba(255,68,68,0.2); }
.pros-box h3 { color: var(--secondary); }
.cons-box h3 { color: var(--danger); }
.pros-box ul, .cons-box ul { list-style: none; margin-top: 0.5rem; }
.pros-box li, .cons-box li { padding: 0.4rem 0 0.4rem 1.5rem; position: relative; font-size: 0.92rem; color: var(--text-mid); }
.pros-box li::before { content: '✓'; position: absolute; left: 0; color: var(--secondary); font-weight: 700; }
.cons-box li::before { content: '✗'; position: absolute; left: 0; color: var(--danger); font-weight: 700; }

/* ---------- FEATURE GRID ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin: 1.5rem 0; }
.feature-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.2rem; text-align: center; transition: border-color 0.2s;
}
.feature-item:hover { border-color: var(--border-strong); }
.feature-icon { font-size: 1.7rem; margin-bottom: 0.5rem; }
.feature-item h4 { margin-bottom: 0.3rem; color: var(--primary-light); font-family: 'Orbitron', sans-serif; font-size: 0.88rem; }
.feature-item p { font-size: 0.85rem; color: var(--text-mid); }

/* ---------- TWO-COL ---------- */
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; margin: 1.5rem 0; }
.two-col-reverse { grid-template-columns: 1fr 1.2fr; }

/* ---------- AUTHOR BOX ---------- */
.author-box {
  display: flex; gap: 1.2rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.2rem; margin-bottom: 1rem; align-items: flex-start;
}
.author-avatar { width: 68px; height: 68px; border-radius: 50%; flex-shrink: 0; }
.author-info h4 { margin-bottom: 0.15rem; }
.author-role { font-size: 0.82rem; color: var(--purple-light); font-weight: 600; margin-bottom: 0.4rem; }
.author-bio { font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq-section { padding: 3rem 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  padding: 1rem 0; background: none; border: none;
  font-family: 'Orbitron', system-ui, sans-serif; font-size: 0.95rem; font-weight: 600;
  color: var(--text); cursor: pointer; text-align: left;
}
.faq-question::after { content: '+'; font-size: 1.3rem; color: var(--primary); font-weight: 700; flex-shrink: 0; margin-left: 1rem; }
.faq-question[aria-expanded="true"]::after { content: '−'; }
.faq-answer { display: none; padding: 0 0 1rem; font-size: 0.93rem; color: var(--text-mid); line-height: 1.7; }

/* ---------- CTA / BANNERS ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--purple)); color: #FFF;
  padding: 2.5rem; text-align: center; border-radius: var(--radius-lg); margin: 2rem 0;
  box-shadow: 0 0 30px rgba(255,45,120,0.15);
}
.cta-banner h2 { color: #FFF; margin-bottom: 0.5rem; }
.cta-banner p { opacity: 0.9; margin-bottom: 1rem; }
.cta-banner .btn-primary { background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.3); box-shadow: none; }
.cta-banner .btn-primary:hover { background: rgba(255,255,255,0.25); }

.rg-banner {
  display: flex; align-items: flex-start; gap: 1rem;
  background: rgba(255,68,68,0.05); border-left: 4px solid var(--danger);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 1.2rem; margin: 1.5rem 0;
}
.rg-icon { font-size: 1.4rem; flex-shrink: 0; }

/* ---------- PAGE HERO (subpages) ---------- */
.page-hero { padding: 2.5rem 0; text-align: center; position: relative; }
.page-hero::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(circle, rgba(176,38,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .hero-subtitle { color: var(--text-mid); }

/* ---------- CONTENT ---------- */
.content-section { padding: 2rem 0; }
.content-section h2 { margin-top: 1.5rem; }
.content-section h3 { margin-top: 1.2rem; }
.content-section p { margin-bottom: 1rem; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--surface); border-top: 1px solid var(--border);
  color: var(--text-mid); padding: 3rem 0 1.5rem; margin-top: 2rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-col h4 { color: var(--text); font-family: 'Orbitron', sans-serif; font-size: 0.88rem; margin-bottom: 0.75rem; letter-spacing: 0.03em; }
.footer-col p { font-size: 0.85rem; line-height: 1.6; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.35rem; font-size: 0.85rem; }
.footer-col a { color: var(--text-mid); }
.footer-col a:hover { color: var(--primary-light); }

.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; text-align: center; font-size: 0.78rem; color: var(--text-dim); }
.footer-badges { display: flex; justify-content: center; gap: 0.6rem; margin-top: 0.75rem; }
.badge { padding: 0.2rem 0.6rem; border: 1px solid var(--border); border-radius: 20px; font-size: 0.72rem; color: var(--text-dim); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .casino-card { grid-template-columns: 1fr; text-align: center; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col, .two-col-reverse { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .toc ol { columns: 1; }
  .pros-cons { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 62px; left: 0; right: 0;
    background: rgba(28,28,46,0.98); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border); padding: 1rem;
  }
  .main-nav.active { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 0.6rem 1rem; }
  .author-box { flex-direction: column; align-items: center; text-align: center; }
}
