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

*, *::before, *::after { box-sizing: border-box; }

html, body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  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 ease; }
a:hover { color: var(--accent-gold); }

.container {
  width: 100%;
  max-width: 1200px;
  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: 16px;
}
.logo-link { display: inline-flex; align-items: center; }
.logo-img { height: 40px; width: auto; }

.main-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 26px;
}
.main-nav a {
  color: var(--text2);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .2px;
  transition: color .2s ease;
}
.main-nav a:hover { color: var(--text); }

.play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  background: linear-gradient(135deg, var(--accent) 0%, #ffb733 100%);
  color: #0c0e17;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 16px rgba(255, 159, 0, 0.3);
  transition: transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.play-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(255, 159, 0, 0.45); color: #0c0e17; }

.burger-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  width: 40px;
  height: 40px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  position: relative;
}
.burger-btn span::before, .burger-btn span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--text);
}
.burger-btn span::before { top: -7px; }
.burger-btn span::after { top: 7px; }

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

/* HERO */
.hero {
  padding: 60px 0;
  background: radial-gradient(ellipse at top, rgba(59, 81, 241, 0.18) 0%, transparent 60%),
              radial-gradient(ellipse at bottom right, rgba(255, 159, 0, 0.12) 0%, transparent 55%),
              var(--bg);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -.5px;
}
.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 204, 0, 0.12);
  color: var(--accent-gold);
  border: 1px solid rgba(255, 204, 0, 0.25);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero p.lead {
  font-size: 18px;
  color: var(--text2);
  margin: 0 0 28px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  background: var(--accent2);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
  border: none;
  transition: transform .18s ease, background .18s ease;
}
.btn-secondary:hover { background: #4d63ff; transform: translateY(-1px); color: #fff; }

.hero-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.hero-image img { width: 100%; }

/* CONTENT */
main { flex: 1; }
.section { padding: 60px 0; }
.section-narrow { max-width: 900px; margin: 0 auto; }

h1, h2, h3 { color: var(--text); font-weight: 800; letter-spacing: -.3px; margin-top: 0; }
h2 { font-size: 30px; margin: 0 0 18px; line-height: 1.25; }
h3 { font-size: 22px; margin: 28px 0 12px; line-height: 1.3; }
p { margin: 0 0 16px; color: #d5dae4; }

ul, ol { padding-left: 22px; margin: 0 0 20px; color: #d5dae4; }
li { margin-bottom: 8px; }

/* TABLE */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0 28px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}
th, td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
th {
  background: var(--bg-surf);
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: rgba(59, 81, 241, 0.05); }

/* CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 24px 0 32px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 22px;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(255, 159, 0, 0.3); }
.card h3 { margin-top: 0; font-size: 18px; color: var(--accent-gold); }
.card p { font-size: 15px; margin-bottom: 0; }

/* SECTION IMAGE */
.section-image {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 0 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.section-image img { width: 100%; }

/* FAQ */
.faq {
  margin: 32px 0;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}
.faq-question::after {
  content: '+';
  color: var(--accent);
  font-size: 22px;
  font-weight: 400;
  transition: transform .2s ease;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  color: var(--text2);
}
.faq-item.open .faq-answer {
  padding: 0 22px 18px;
  max-height: 500px;
}

/* CTA */
.cta-block {
  background: linear-gradient(135deg, rgba(59, 81, 241, 0.15) 0%, rgba(255, 159, 0, 0.1) 100%);
  border: 1px solid rgba(255, 159, 0, 0.25);
  border-radius: 16px;
  padding: 44px 32px;
  text-align: center;
  margin: 40px 0;
}
.cta-block h2 { font-size: 28px; margin-bottom: 10px; }
.cta-block p { max-width: 600px; margin: 0 auto 24px; color: #d5dae4; }

/* FOOTER */
.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border);
  padding: 44px 0 20px;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-brand p { color: var(--text2); font-size: 14px; margin-top: 14px; }
.footer-col h4 {
  color: var(--accent-gold);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--text2);
  font-size: 14px;
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
  color: var(--text2);
  font-size: 13px;
}
.footer-bottom .age { color: var(--accent); font-weight: 700; }

/* 404 */
.error-page {
  padding: 80px 0;
  text-align: center;
}
.error-code {
  font-size: 140px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 16px;
}
.error-page h2 { font-size: 32px; }
.error-page p { max-width: 500px; margin: 0 auto 28px; color: var(--text2); }

/* Contact form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin: 24px 0;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--text2);
  font-weight: 600;
}
.form-group input, .form-group textarea {
  width: 100%;
  background: var(--bg-surf);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { font-size: 34px; }
  h2 { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .burger-btn { display: inline-flex; }
  .header-inner { gap: 12px; }
  .hero { padding: 40px 0; }
  .hero h1 { font-size: 28px; }
  .hero p.lead { font-size: 16px; }
  .section { padding: 40px 0; }
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }
  .cta-block { padding: 32px 20px; }
  .cta-block h2 { font-size: 22px; }
  .error-code { font-size: 96px; }
  .play-btn { padding: 10px 16px; font-size: 13px; }
  body { font-size: 15px; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
}
