:root {
  --bg: #ffffff;
  --bg-header-start: #611051;
  --bg-header-end: #e52817;
  --bg-footer: #ffffff;
  --bg-card: #ffffff;
  --bg-surf: #f8f9fa;
  --bg-surf2: #edf2f7;
  --accent: #ff0000;
  --accent2: #ff5722;
  --accent-gold: #ffcc00;
  --success: #10b981;
  --text: #2d3748;
  --text-light: #ffffff;
  --text2: #4a5568;
  --border: #e2e8f0;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }
html { scroll-behavior: smooth; }
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;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 1em; }
h1, h2, h3 { color: var(--text); line-height: 1.25; margin: 1.6em 0 0.6em; font-weight: 800; }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-top: 0; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); }
ul, ol { padding-left: 1.4rem; margin: 0 0 1.2em; }
li { margin-bottom: 0.4em; }

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

/* HEADER */
.site-header {
  background: linear-gradient(90deg, var(--bg-header-start) 0%, var(--bg-header-end) 100%);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 10px 0;
}
.logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 40px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.main-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.main-nav a:hover { opacity: 0.8; text-decoration: none; }
.play-btn {
  display: inline-block;
  background: var(--accent-gold);
  color: #1a1a1a !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.15s, box-shadow 0.15s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.play-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,0.28); text-decoration: none; }
.play-btn.big { padding: 14px 32px; font-size: 1.05rem; }

.burger-btn { display: none; background: transparent; border: none; padding: 8px; cursor: pointer; }
.burger-btn span { display: block; width: 26px; height: 3px; background: var(--text-light); margin: 5px 0; border-radius: 2px; transition: 0.3s; }
.burger-btn.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger-btn.active span:nth-child(2) { opacity: 0; }
.burger-btn.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: linear-gradient(180deg, var(--bg-header-start), var(--bg-header-end));
  padding: 12px 20px 20px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  color: var(--text-light);
  padding: 12px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-weight: 600;
}
.mobile-nav a:last-child { border-bottom: none; }

/* HERO */
.hero {
  padding: 50px 0 40px;
  background: var(--bg-surf);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 { margin-top: 0; }
.hero p.lead { font-size: 1.1rem; color: var(--text2); margin-bottom: 24px; }
.hero-img { border-radius: 12px; box-shadow: var(--shadow); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* CONTENT */
main { padding: 40px 0 60px; }
.content-block { margin-bottom: 12px; }
.content-block img { border-radius: 10px; margin: 20px 0; box-shadow: var(--shadow); }

.callout {
  background: var(--bg-surf);
  border-left: 4px solid var(--accent2);
  padding: 18px 22px;
  border-radius: 6px;
  margin: 24px 0;
}
.callout p:last-child { margin-bottom: 0; }

.table-wrapper { width: 100%; overflow-x: auto; margin: 20px 0; border: 1px solid var(--border); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; background: var(--bg-card); }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
th { background: var(--bg-surf); font-weight: 700; color: var(--text); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-surf2); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; color: var(--accent2); }

.cta-section {
  background: linear-gradient(135deg, var(--bg-header-start), var(--bg-header-end));
  color: var(--text-light);
  padding: 44px 28px;
  border-radius: 12px;
  text-align: center;
  margin: 40px 0;
}
.cta-section h2 { color: var(--text-light); margin-top: 0; }
.cta-section p { color: rgba(255,255,255,0.92); }

/* FAQ */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 700;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 20px 18px; color: var(--text2); }

/* FOOTER */
.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
  margin-top: 40px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: center;
  margin-bottom: 22px;
}
.footer-nav a { color: var(--text2); font-weight: 600; font-size: 0.95rem; }
.footer-legal {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  color: var(--text2);
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.7;
}
.footer-legal p { margin: 6px 0; }
.age-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--text-light);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 800;
  margin-right: 8px;
}

/* 404 */
.error-page { text-align: center; padding: 80px 20px; }
.error-page .code { font-size: clamp(5rem, 15vw, 9rem); color: var(--accent); line-height: 1; font-weight: 900; margin: 0; }
.error-page h1 { margin: 12px 0; }

/* MOBILE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .burger-btn { display: block; }
  .header-inner { position: relative; }
  .header-inner .play-btn { padding: 8px 18px; font-size: 0.85rem; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .hero { padding: 30px 0 24px; }
  main { padding: 24px 0 40px; }
  .cta-section { padding: 32px 18px; }
  .header-inner .play-btn { padding: 8px 14px; font-size: 0.78rem; }
  .logo-img { height: 36px; }
}
