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

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

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1200px;
  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;
  padding: 14px 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 16px;
}

.logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 40px; width: auto; }

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: var(--text-light);
  font-weight: 500;
  padding: 6px 0;
  transition: opacity .2s;
}
.main-nav a:hover { opacity: .85; text-decoration: none; }

.play-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--text-light);
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 14px;
  transition: transform .15s, background .2s, box-shadow .2s;
  box-shadow: 0 3px 10px rgba(255, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}
.play-btn:hover {
  background: var(--accent2);
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 5px 14px rgba(255, 87, 34, 0.4);
}

.burger-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 26px;
  cursor: pointer;
  padding: 6px;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: linear-gradient(180deg, var(--bg-header-start) 0%, var(--bg-header-end) 100%);
  padding: 60px 24px 24px;
  transition: right .3s ease;
  z-index: 200;
  box-shadow: -4px 0 20px rgba(0,0,0,.2);
}
.mobile-menu.open { right: 0; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { border-bottom: 1px solid rgba(255,255,255,.15); }
.mobile-menu a {
  display: block;
  padding: 14px 4px;
  color: var(--text-light);
  font-size: 16px;
  font-weight: 500;
}
.mobile-menu-close {
  position: absolute;
  top: 12px; right: 16px;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 30px;
  cursor: pointer;
}
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 150;
}
.menu-overlay.open { display: block; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(120deg, var(--bg-surf) 0%, var(--bg-surf2) 100%);
  padding: 60px 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.hero h1 {
  font-size: 2.4rem;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 18px;
}
.hero p { color: var(--text2); font-size: 1.05rem; margin-bottom: 24px; }
.hero-image img { border-radius: 12px; box-shadow: var(--shadow); }
.hero-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--text-light);
  padding: 14px 32px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 8px;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(255,0,0,.3);
  transition: all .2s;
}
.hero-cta:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--text-light);
}

/* ===== MAIN CONTENT ===== */
main { padding: 40px 0 60px; }

article h1 {
  font-size: 2rem;
  margin: 0 0 20px;
  color: var(--text);
  line-height: 1.25;
}
article h2 {
  font-size: 1.55rem;
  margin: 36px 0 14px;
  color: var(--text);
  border-left: 4px solid var(--accent);
  padding-left: 14px;
  line-height: 1.3;
}
article h3 {
  font-size: 1.2rem;
  margin: 24px 0 10px;
  color: var(--text);
  line-height: 1.35;
}
article p { margin-bottom: 14px; color: var(--text2); }
article ul, article ol { margin: 12px 0 18px 26px; color: var(--text2); }
article li { margin-bottom: 6px; }

article img.inline-img {
  margin: 20px 0;
  border-radius: 10px;
  box-shadow: var(--shadow);
  width: 100%;
}

/* Info cards / features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 30px 0;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.feature-card h3 {
  color: var(--accent);
  border: none;
  padding: 0;
  margin: 0 0 10px;
  font-size: 1.1rem;
}
.feature-card p { margin: 0; font-size: .95rem; }

/* Table */
.table-wrapper { width: 100%; overflow-x: auto; margin: 20px 0; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-width: 500px;
}
th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
th {
  background: linear-gradient(90deg, var(--bg-header-start), var(--bg-header-end));
  color: var(--text-light);
  font-weight: 600;
}
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: var(--bg-surf); }

/* CTA block */
.cta-block {
  background: linear-gradient(120deg, var(--bg-header-start) 0%, var(--bg-header-end) 100%);
  color: var(--text-light);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  margin: 40px 0;
  box-shadow: var(--shadow);
}
.cta-block h2 {
  color: var(--text-light);
  border: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 1.7rem;
}
.cta-block p {
  color: rgba(255,255,255,.9);
  margin-bottom: 22px;
  font-size: 1.05rem;
}
.cta-block .play-btn {
  background: var(--accent-gold);
  color: var(--text);
  padding: 14px 34px;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(255,204,0,.4);
}
.cta-block .play-btn:hover { background: #ffdd33; }

/* FAQ */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faq-question {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  color: var(--text);
  transition: background .2s;
  user-select: none;
}
.faq-question:hover { background: var(--bg-surf); }
.faq-question::after { content: "+"; font-size: 22px; color: var(--accent); font-weight: 700; }
.faq-item.open .faq-question::after { content: "−"; }
.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  color: var(--text2);
}
.faq-item.open .faq-answer {
  padding: 0 20px 18px;
  max-height: 500px;
}

/* Highlight box */
.highlight-box {
  background: var(--bg-surf);
  border-left: 4px solid var(--accent2);
  padding: 18px 22px;
  border-radius: 6px;
  margin: 20px 0;
}
.highlight-box strong { color: var(--text); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border);
  padding: 40px 0 20px;
  color: var(--text2);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: center;
  list-style: none;
  margin-bottom: 24px;
}
.footer-nav a { color: var(--text2); font-size: .95rem; }
.footer-nav a:hover { color: var(--accent); }
.footer-legal {
  text-align: center;
  font-size: .85rem;
  color: var(--text2);
  padding-top: 20px;
  border-top: 1px solid var(--border);
  line-height: 1.7;
}
.footer-legal p { margin-bottom: 8px; }
.age-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--text-light);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50%;
  margin-right: 6px;
  font-size: .85rem;
}

/* 404 */
.error-page {
  text-align: center;
  padding: 80px 20px;
}
.error-page h1 {
  font-size: 6rem;
  color: var(--accent);
  margin-bottom: 0;
  line-height: 1;
}
.error-page h2 {
  border: none;
  padding: 0;
  font-size: 1.7rem;
  margin: 10px 0 20px;
}
.error-page p { max-width: 500px; margin: 0 auto 30px; color: var(--text2); }

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero { padding: 40px 0; }
  .hero h1 { font-size: 1.8rem; }
  .main-nav { display: none; }
  .burger-btn { display: block; }
  article h1 { font-size: 1.65rem; }
  article h2 { font-size: 1.3rem; }
  article h3 { font-size: 1.1rem; }
  .cta-block { padding: 30px 20px; }
  .cta-block h2 { font-size: 1.4rem; }
  .error-page h1 { font-size: 4rem; }
}

@media (max-width: 480px) {
  .header-inner { padding: 12px 14px; gap: 8px; }
  .play-btn { padding: 8px 14px; font-size: 12px; }
  .logo-img { height: 34px; }
  .container { padding: 0 14px; }
  .hero { padding: 30px 0; }
  .hero h1 { font-size: 1.5rem; }
  article h1 { font-size: 1.4rem; }
  .footer-nav { gap: 6px 14px; font-size: .9rem; }
}
