:root {
  --bg: #0c0e17;
  --bg-header: #090b12;
  --bg-footer: #090b12;
  --bg-card: #141926;
  --bg-surf: #1b2234;
  --bg-surf2: #242e47;
  --accent: #ff9f00;
  --accent2: #3b51f1;
  --accent-gold: #ffcc00;
  --neon: #2b66ff;
  --success: #10b981;
  --text: #ffffff;
  --text-light: #ffffff;
  --text2: #8a94a6;
  --border: rgba(138, 148, 166, 0.15);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
  --radius: 12px;
  --radius-sm: 8px;
  --max-w: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  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; }
a:hover { color: var(--accent-gold); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ HEADER ============ */
.site-header {
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo-link { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 40px; width: auto; }
.main-nav { display: flex; gap: 28px; flex: 1; justify-content: center; }
.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  padding: 6px 4px;
  position: relative;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--accent); }
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .25s;
}
.main-nav a:hover::after { width: 100%; }

.play-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8800 100%);
  color: var(--text-light) !important;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
  box-shadow: 0 4px 14px rgba(255, 159, 0, .35);
  transition: transform .2s, box-shadow .2s;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.play-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 159, 0, .55);
  color: var(--text-light) !important;
}

.burger-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 44px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.burger-btn svg { width: 22px; height: 22px; }

.mobile-menu {
  display: none;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 16px 0;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { border-bottom: 1px solid var(--border); }
.mobile-menu li:last-child { border-bottom: none; }
.mobile-menu a {
  display: block;
  color: var(--text);
  padding: 12px 20px;
  font-weight: 500;
}
.mobile-menu a:hover { background: var(--bg-surf); color: var(--accent); }

/* ============ HERO ============ */
.hero {
  padding: 60px 0 40px;
  background: radial-gradient(ellipse at top, rgba(59, 81, 241, 0.12) 0%, transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-lead { color: var(--text2); font-size: 17px; margin-bottom: 24px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--text) !important;
  border: 1px solid var(--accent2);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: background .2s;
}
.btn-outline:hover { background: var(--accent2); color: var(--text-light) !important; }
.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* ============ CONTENT ============ */
main { flex: 1; padding-bottom: 40px; }
.content h1 {
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text);
}
.content h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  margin: 40px 0 16px;
  color: var(--accent-gold);
  line-height: 1.25;
}
.content h3 {
  font-size: clamp(18px, 2vw, 22px);
  margin: 28px 0 12px;
  color: var(--text);
}
.content p { margin-bottom: 16px; color: #dfe4ee; }
.content ul, .content ol { margin: 14px 0 20px 24px; color: #dfe4ee; }
.content li { margin-bottom: 8px; }
.content strong { color: var(--text); font-weight: 700; }

.section { padding: 30px 0; }
.section-alt { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform .2s, border-color .2s;
}
.feature:hover { transform: translateY(-2px); border-color: var(--accent); }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent2), var(--neon));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  font-size: 22px;
  color: var(--accent-gold);
  font-weight: 700;
}
.feature h3 { margin-top: 0 !important; color: var(--text); font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--text2); font-size: 15px; margin-bottom: 0; }

/* ============ TABLES ============ */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 20px 0;
  background: var(--bg-card);
}
.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}
.table-wrapper th, .table-wrapper td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: #dfe4ee;
  font-size: 15px;
}
.table-wrapper th {
  background: var(--bg-surf);
  color: var(--accent-gold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .6px;
}
.table-wrapper tr:last-child td { border-bottom: none; }
.table-wrapper tr:hover td { background: rgba(255, 159, 0, .04); }

/* ============ FAQ ============ */
.faq-list { margin-top: 20px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--text);
}
.faq-question::after {
  content: '+';
  color: var(--accent);
  font-size: 24px;
  font-weight: 300;
  transition: transform .25s;
  flex-shrink: 0;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 22px;
  color: var(--text2);
}
.faq-item.open .faq-answer {
  max-height: 600px;
  padding: 0 22px 18px;
}

/* ============ CTA BLOCK ============ */
.cta-block {
  background: linear-gradient(135deg, var(--bg-surf) 0%, var(--bg-surf2) 100%);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  margin: 30px 0;
}
.cta-block h2 { color: var(--accent-gold); margin-top: 0; }
.cta-block p { color: #dfe4ee; margin-bottom: 22px; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border);
  padding: 40px 0 20px;
  margin-top: 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p { color: var(--text2); font-size: 14px; margin-top: 12px; }
.footer-col h4 {
  color: var(--accent-gold);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text2); font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 20px;
  color: var(--text2);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.age-badge {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12px;
  margin-right: 6px;
}

/* ============ 404 ============ */
.error-page {
  text-align: center;
  padding: 80px 20px;
}
.error-page .code {
  font-size: clamp(80px, 15vw, 180px);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}
.error-page h2 { font-size: clamp(22px, 3vw, 32px); margin-bottom: 12px; }
.error-page p { color: var(--text2); margin-bottom: 24px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ============ CONTACT FORM ============ */
.contact-form { max-width: 640px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; color: var(--text); font-weight: 500; margin-bottom: 6px; font-size: 14px; }
.form-field input, .form-field textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-field textarea { resize: vertical; min-height: 120px; }

/* ============ MOBILE ============ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .burger-btn { display: flex; }
  .header-inner { gap: 12px; }
  .play-btn { padding: 9px 18px; font-size: 13px; }
  .hero { padding: 32px 0 24px; }
  .section { padding: 20px 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-block { padding: 24px 18px; }
  .container { padding: 0 16px; }
}

@media (max-width: 480px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  body { font-size: 15px; }
  .content h1 { font-size: 26px; }
  .content h2 { font-size: 22px; }
  .content h3 { font-size: 18px; }
}
