:root {
  --bg: #1a0505;
  --bg-header: #4a0404;
  --bg-footer: #2b0202;
  --bg-card: #3d0a0a;
  --bg-surf: #660e0e;
  --bg-surf2: #8b1818;
  --accent: #ffb700;
  --accent2: #ff4d00;
  --accent-red: #ff2a2a;
  --neon: #fffb00;
  --success: #26d926;
  --text: #ffffff;
  --text-light: #ffd700;
  --text2: #ffc0c0;
  --border: rgba(255, 215, 0, 0.2);
  --shadow: 0 4px 20px rgba(255, 77, 0, 0.4);
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent2); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 20px;
  max-width: 1180px;
  margin: 0 auto;
}
.logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 40px; width: auto; display: block; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-list a {
  color: var(--text);
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav-list a:hover { background: var(--bg-surf); color: var(--text-light); }
.nav-list a.active { color: var(--text-light); }

.play-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #1a0505 !important;
  font-weight: 800;
  padding: 10px 22px !important;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px !important;
  box-shadow: 0 4px 14px rgba(255, 183, 0, 0.35);
  transition: transform .2s, box-shadow .2s;
}
.play-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--accent2), var(--accent)) !important;
  color: #1a0505 !important;
  box-shadow: 0 6px 22px rgba(255, 77, 0, 0.55);
}

/* MOBILE NAV TOGGLE (hamburger) */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  transition: background .2s, border-color .2s;
}
.nav-toggle:hover { background: var(--bg-surf); border-color: var(--accent); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MAIN */
main { flex: 1 0 auto; padding: 0 0 60px; }

.hero {
  background: linear-gradient(180deg, rgba(255,77,0,0.08), transparent 60%), var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 50px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
}
.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.hero h1 {
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--text-light);
  letter-spacing: -0.5px;
}
.hero p.lead {
  font-size: 18px;
  color: var(--text2);
  margin: 0 0 26px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: transform .2s, box-shadow .2s, background .2s;
  cursor: pointer;
  border: 0;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #1a0505;
  box-shadow: 0 6px 20px rgba(255, 183, 0, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  color: #1a0505;
  box-shadow: 0 10px 28px rgba(255, 77, 0, 0.55);
}
.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--accent);
}
.btn-secondary:hover { background: var(--bg-surf); color: var(--text-light); }

/* SECTIONS */
section.block { padding: 50px 0; }
section.block + section.block { border-top: 1px solid var(--border); }

h1, h2, h3, h4 { color: var(--text-light); line-height: 1.25; }
h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 18px; letter-spacing: -0.3px; }
h3 { font-size: clamp(20px, 2.4vw, 24px); margin: 28px 0 12px; color: var(--accent); }
p { margin: 0 0 16px; }

ul, ol { margin: 0 0 18px; padding-left: 22px; }
li { margin-bottom: 8px; }
ul li::marker { color: var(--accent); }
ol li::marker { color: var(--accent); font-weight: 700; }

strong, b { color: var(--text-light); }

/* CARDS / GRID */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); border-color: var(--accent); }
.card h3 { margin-top: 0; }

.stat-card { text-align: center; padding: 26px 18px; }
.stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--neon);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { color: var(--text2); font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; }

/* TABLES */
.table-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid var(--border); border-radius: var(--radius); }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 480px;
}
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--bg-surf); color: var(--text-light); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 0.5px; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255, 77, 0, 0.06); }

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-surf), var(--bg-surf2));
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-banner h2 { margin-top: 0; color: var(--neon); }
.cta-banner p { color: var(--text); margin-bottom: 22px; }

/* FAQ */
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--text-light);
  list-style: none;
  position: relative;
  padding-right: 50px;
  font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 24px;
  font-weight: 400;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details[open] summary { background: var(--bg-surf); border-bottom: 1px solid var(--border); }
.faq .faq-body { padding: 18px 22px; color: var(--text2); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* BREADCRUMBS */
.breadcrumbs {
  font-size: 14px;
  padding: 14px 0;
  color: var(--text2);
}
.breadcrumbs a { color: var(--text2); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { margin: 0 6px; opacity: 0.5; }

/* PAGE HEADER FOR INNER */
.page-header {
  background: var(--bg-card);
  padding: 40px 0 36px;
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 14px;
}
.page-header .lead { font-size: 17px; color: var(--text2); margin: 0; max-width: 720px; }
.page-header-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}
.page-header-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* AUTHOR BLOCK */
.author-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  align-items: center;
}
.author-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent);
  box-shadow: 0 4px 14px rgba(255,77,0,0.35);
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-info h4 {
  margin: 0 0 4px;
  font-size: 20px;
  color: var(--text-light);
}
.author-role {
  display: inline-block;
  background: var(--bg-surf);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  font-weight: 700;
}
.author-bio { color: var(--text2); margin: 0; font-size: 15px; line-height: 1.6; }

/* FOOTER */
.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
  margin-top: auto;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 30px;
}
.footer-grid h5 {
  color: var(--text-light);
  margin: 0 0 14px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--text2); }
.footer-grid a:hover { color: var(--accent); }
.footer-brand p { color: var(--text2); margin: 0 0 12px; }
.age-badge {
  display: inline-block;
  background: var(--accent-red);
  color: #fff;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 14px;
  margin-right: 8px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text2);
  font-size: 13px;
}
.disclaimer {
  background: rgba(255,42,42,0.08);
  border-left: 3px solid var(--accent-red);
  padding: 14px 16px;
  margin: 0 0 22px;
  font-size: 13px;
  color: var(--text2);
  border-radius: 0 8px 8px 0;
}

/* TOC / inner content layout */
.content-section { padding: 40px 0; }
.content-section h2:first-child { margin-top: 0; }

.callout {
  background: var(--bg-surf);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
}
.callout p:last-child { margin-bottom: 0; }

.feature-list {
  list-style: none;
  padding: 0;
}
.feature-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  border-bottom: 1px dashed var(--border);
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list li::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--accent);
  font-size: 16px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { padding: 36px 0 30px; }
  .hero-grid, .page-header-grid { grid-template-columns: 1fr; gap: 24px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Dropdown menu */
  .nav-toggle { display: flex; }
  .header-inner { position: relative; gap: 12px; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-header);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    z-index: 999;
  }
  .site-nav.is-open { max-height: 500px; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px 16px;
    width: 100%;
    flex-wrap: nowrap;
  }
  .nav-list li { width: 100%; }
  .nav-list a {
    display: block;
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 10px;
  }
  .play-btn {
    text-align: center;
    margin-top: 6px;
  }
}
@media (max-width: 640px) {
  .header-inner { padding: 10px 16px; }
  .logo-img { height: 34px; }
  .hero h1 { font-size: 26px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  section.block { padding: 36px 0; }
  .cta-banner { padding: 24px 18px; }
  .author-block { grid-template-columns: 1fr; text-align: center; padding: 22px 18px; }
  .author-avatar { margin: 0 auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
  th, td { padding: 10px 12px; font-size: 14px; }
}

/* utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 22px; }
.highlight { color: var(--neon); font-weight: 700; }
