: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;
  width: 100%;
  max-width: 100vw;
}

body {
  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;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  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%);
  color: var(--text-light);
  padding: 14px 0;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo-link { display: inline-flex; align-items: center; }
.logo-img { height: 40px; width: auto; }
.main-nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
}
.main-nav a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .2px;
  transition: opacity .2s;
}
.main-nav a:hover { opacity: .8; color: var(--accent-gold); }

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

.burger-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  background: linear-gradient(180deg, var(--bg-header-start) 0%, #4a0c3f 100%);
  padding: 12px 0;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; padding: 0 20px; }
.mobile-nav li { border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-nav li:last-child { border-bottom: none; }
.mobile-nav a {
  color: var(--text-light);
  display: block;
  padding: 12px 0;
  font-weight: 500;
}

/* ========== HERO ========== */
.hero {
  padding: 46px 0 40px;
  background: linear-gradient(180deg, var(--bg-surf) 0%, var(--bg) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  color: var(--bg-header-start);
  margin-bottom: 18px;
}
.hero p { color: var(--text2); font-size: 17px; margin-bottom: 20px; }
.hero-cta {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent2) 100%);
  color: var(--text-light) !important;
  padding: 14px 34px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(229,40,23,.4);
  letter-spacing: .5px;
  transition: transform .15s, box-shadow .2s;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(229,40,23,.55); color: var(--text-light) !important;}
.hero-img img { border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }

/* ========== SECTIONS / CONTENT ========== */
main section { padding: 40px 0; }
main section:nth-of-type(even) { background: var(--bg-surf); }

h1, h2, h3 { color: var(--bg-header-start); line-height: 1.25; }
h1 { font-size: clamp(26px, 3.6vw, 36px); margin-bottom: 16px; }
h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 0 0 18px; }
h3 { font-size: clamp(18px, 2vw, 22px); margin: 22px 0 12px; }
p { margin: 0 0 14px; color: var(--text); }
ul, ol { margin: 0 0 18px 22px; color: var(--text); }
ul li, ol li { margin-bottom: 6px; }
strong { color: var(--bg-header-start); }

.content-block { max-width: 900px; margin: 0 auto; }
.content-block-wide { max-width: 1100px; margin: 0 auto; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.two-col img { border-radius: 12px; box-shadow: var(--shadow); }

/* ========== TABLES ========== */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0 24px;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  min-width: 480px;
}
th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
th {
  background: linear-gradient(90deg, var(--bg-header-start), var(--bg-header-end));
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .4px;
}
tr:last-child td { border-bottom: none; }
tr:nth-child(even) { background: var(--bg-surf); }

/* ========== CARDS / GRID ========== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 22px 0;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.card h3 { margin-top: 0; font-size: 19px; color: var(--accent2); }

/* ========== CTA BAND ========== */
.cta-band {
  background: linear-gradient(90deg, var(--bg-header-start), var(--bg-header-end));
  color: var(--text-light);
  padding: 44px 0;
  text-align: center;
}
.cta-band h2 { color: var(--text-light); }
.cta-band p { color: rgba(255,255,255,.9); font-size: 17px; margin-bottom: 22px; }
.cta-band .play-btn {
  background: var(--accent-gold);
  color: var(--bg-header-start) !important;
  padding: 14px 36px;
  font-size: 15px;
  box-shadow: 0 6px 20px rgba(255,204,0,.45);
}
.cta-band .play-btn:hover { background: #ffd633; color: var(--bg-header-start) !important; }

/* ========== FAQ ========== */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--bg-header-start);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-surf);
  font-size: 16px;
  user-select: none;
}
.faq-question::after { content: '+'; font-size: 22px; color: var(--accent); font-weight: 400; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 20px;
}
.faq-item.open .faq-answer { max-height: 800px; padding: 16px 20px 20px; }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--bg-footer);
  border-top: 3px solid var(--bg-header-start);
  padding: 40px 0 20px;
  color: var(--text2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 26px;
}
.footer-col h4 {
  color: var(--bg-header-start);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text2); font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.footer-brand p { font-size: 14px; color: var(--text2); }
.footer-brand img { height: 40px; margin-bottom: 12px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--text2);
}
.footer-bottom .age {
  background: var(--accent);
  color: var(--text-light);
  padding: 4px 10px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 12px;
}

/* ========== 404 ========== */
.error-page {
  padding: 80px 20px;
  text-align: center;
}
.error-code {
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 800;
  background: linear-gradient(90deg, var(--bg-header-start), var(--bg-header-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 20px;
}
.error-page h1 { margin-bottom: 12px; }
.error-page p { color: var(--text2); font-size: 17px; margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ========== MOBILE ========== */
@media (max-width: 900px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 26px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .burger-btn { display: flex; }
  .header-inner { gap: 10px; }
  .play-btn { padding: 9px 16px; font-size: 13px; }
  main section { padding: 30px 0; }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .container { padding: 0 16px; }
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }
  .cta-band { padding: 32px 0; }
}
