: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);
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  background-image: radial-gradient(circle at 20% 10%, rgba(255, 77, 0, 0.08) 0%, transparent 40%),
                    radial-gradient(circle at 80% 60%, rgba(255, 183, 0, 0.06) 0%, transparent 40%);
}

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 { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  border-bottom: 2px solid var(--accent);
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.logo-link { display: inline-flex; align-items: center; }
.logo-img { height: 40px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.main-nav a {
  color: var(--text);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 15px;
}
.main-nav a:hover { color: var(--accent); background: rgba(255, 183, 0, 0.08); }

.play-btn {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: #1a0505 !important;
  font-weight: 800;
  text-transform: uppercase;
  padding: 10px 22px !important;
  border-radius: 8px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(255, 77, 0, 0.45);
  transition: transform .15s ease, box-shadow .15s ease;
}
.play-btn:hover {
  color: #1a0505 !important;
  background: linear-gradient(135deg, var(--accent2) 0%, var(--accent) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 77, 0, 0.65);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

/* ===== HERO ===== */
.hero {
  padding: 60px 0 50px;
  background: linear-gradient(180deg, rgba(255, 77, 0, 0.08) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  color: var(--text-light);
  margin-bottom: 18px;
  text-shadow: 0 0 30px rgba(255, 183, 0, 0.3);
}
.hero h1 span { color: var(--accent2); }
.hero p.lead { font-size: 17px; color: var(--text2); margin-bottom: 26px; }
.hero-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
}
.hero-img-wrap img { width: 100%; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: #1a0505;
  box-shadow: 0 6px 20px rgba(255, 77, 0, 0.45);
}
.btn-primary:hover { color: #1a0505; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255, 77, 0, 0.65); }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #1a0505; }

/* ===== SECTIONS ===== */
section { padding: 50px 0; }
.section-title {
  font-size: clamp(24px, 3vw, 34px);
  color: var(--text-light);
  margin-bottom: 22px;
  position: relative;
  padding-left: 18px;
}
.section-title::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 70%;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent2) 100%);
  border-radius: 3px;
}

article h2 { font-size: clamp(22px, 2.6vw, 30px); color: var(--text-light); margin: 36px 0 16px; }
article h3 { font-size: clamp(19px, 2.1vw, 24px); color: var(--accent); margin: 28px 0 12px; }
article p { margin-bottom: 16px; color: var(--text2); }
article p strong { color: var(--text); }
article ul, article ol { margin: 14px 0 22px 22px; color: var(--text2); }
article li { margin-bottom: 8px; }
article a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(255, 183, 0, 0.4); }
article a:hover { color: var(--accent2); }

/* ===== CARDS / GRIDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 24px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--accent); }
.card h3 { color: var(--accent); margin-bottom: 10px; font-size: 19px; }
.card p { color: var(--text2); margin: 0; }
.card .ico {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 800; color: #1a0505;
  margin-bottom: 14px;
}

/* ===== SPEC TABLE ===== */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.spec-table th, .spec-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.spec-table th {
  background: var(--bg-surf);
  color: var(--text-light);
  font-weight: 700;
  width: 40%;
}
.spec-table td { color: var(--text2); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:hover td { color: var(--text); background: rgba(255, 183, 0, 0.04); }

/* ===== CTA BLOCK ===== */
.cta-block {
  background: linear-gradient(135deg, var(--bg-surf) 0%, var(--bg-surf2) 100%);
  border: 2px solid var(--accent);
  border-radius: 18px;
  padding: 40px 30px;
  text-align: center;
  margin: 40px 0;
  box-shadow: var(--shadow);
}
.cta-block h2 { color: var(--text-light); margin-bottom: 12px; }
.cta-block p { color: var(--text); margin-bottom: 22px; font-size: 17px; }

/* ===== FAQ ===== */
.faq { margin-top: 30px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 17px;
  font-weight: 700;
  padding: 18px 56px 18px 22px;
  cursor: pointer;
  position: relative;
  font-family: inherit;
}
.faq-q::after {
  content: '+';
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 24px;
  transition: transform .2s ease;
}
.faq-item.open .faq-q::after { content: '–'; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 22px;
  color: var(--text2);
}
.faq-item.open .faq-a { max-height: 600px; padding: 0 22px 20px; }

/* ===== AUTHOR ===== */
.author-block {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  padding: 24px;
  margin: 50px 0 0;
}
.author-block img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}
.author-block .author-meta h4 { color: var(--accent); font-size: 18px; margin-bottom: 4px; }
.author-block .author-meta .role { color: var(--text-light); font-size: 14px; margin-bottom: 10px; }
.author-block .author-meta p { color: var(--text2); margin: 0; font-size: 15px; line-height: 1.6; }

/* ===== BREADCRUMBS ===== */
.crumbs {
  font-size: 14px;
  color: var(--text2);
  padding: 18px 0 0;
}
.crumbs a { color: var(--accent); }
.crumbs span { color: var(--text2); margin: 0 6px; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-footer);
  border-top: 2px solid var(--accent);
  padding: 40px 0 24px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.footer-grid h5 { color: var(--accent); margin-bottom: 14px; font-size: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-grid p, .footer-grid li { color: var(--text2); font-size: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid li a { color: var(--text2); }
.footer-grid li a:hover { color: var(--accent); }
.footer-logo { height: 42px; margin-bottom: 14px; }
.age-badge {
  display: inline-block;
  width: 50px; height: 50px;
  border: 2px solid var(--accent-red);
  border-radius: 50%;
  color: var(--accent-red);
  font-weight: 900;
  font-size: 18px;
  line-height: 46px;
  text-align: center;
  margin-right: 10px;
  vertical-align: middle;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
  color: var(--text2);
  font-size: 13px;
}
.footer-bottom p { margin-bottom: 8px; }
.disclaimer {
  background: rgba(255, 42, 42, 0.08);
  border: 1px solid rgba(255, 42, 42, 0.3);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--text2);
  line-height: 1.5;
}
.disclaimer strong { color: var(--accent-red); }

/* ===== STATS ROW ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  margin: 30px 0;
}
.stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 16px;
  text-align: center;
}
.stat .num {
  font-size: 28px;
  font-weight: 900;
  color: var(--neon);
  display: block;
  text-shadow: 0 0 16px rgba(255, 251, 0, 0.5);
}
.stat .lbl { color: var(--text2); font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ===== CONTENT IMAGE ===== */
.content-img {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 24px 0;
  box-shadow: var(--shadow);
}

/* ===== 404 ===== */
.error-wrap {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.error-wrap h1 {
  font-size: clamp(80px, 16vw, 160px);
  color: var(--accent);
  text-shadow: 0 0 30px rgba(255, 183, 0, 0.4);
  line-height: 1;
  margin-bottom: 10px;
}
.error-wrap h2 { color: var(--text-light); margin-bottom: 16px; font-size: 26px; }
.error-wrap p { color: var(--text2); max-width: 520px; margin-bottom: 28px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-img-wrap { order: -1; max-width: 480px; margin: 0 auto; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg-header);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px;
    border-bottom: 2px solid var(--accent);
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 12px 14px; }
  .play-btn { text-align: center; margin-top: 6px; }
  .header-inner { position: relative; }
  .hero { padding: 40px 0 30px; }
  section { padding: 36px 0; }
  .cta-block { padding: 28px 20px; }
  .author-block { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .spec-table th, .spec-table td { padding: 10px 12px; font-size: 14px; }
  .btn { padding: 12px 22px; font-size: 15px; }
}
