: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; 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.7;
  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 0.2s; }
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: 16px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}
.logo-link { display: inline-flex; align-items: center; }
.logo-img { height: 40px; width: auto; }

.main-nav { display: flex; gap: 24px; align-items: center; flex: 1; justify-content: center; }
.main-nav a {
  color: var(--text);
  font-weight: 500;
  padding: 8px 4px;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--accent); }

.play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-gold) 100%);
  color: #0c0e17;
  font-weight: 700;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
  border: none;
  box-shadow: 0 4px 16px rgba(255, 159, 0, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.play-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 159, 0, 0.5);
  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, .burger-btn span::before, .burger-btn span::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: 0.25s;
}
.burger-btn span::before, .burger-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger-btn span::before { top: -8px; }
.burger-btn span::after { top: 8px; }
.burger-btn.open span { background: transparent; }
.burger-btn.open span::before { top: 0; transform: rotate(45deg); }
.burger-btn.open span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  background: var(--bg-header);
  border-top: 1px solid var(--border);
  padding: 16px 0;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block;
  color: var(--text);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
}
.mobile-menu a:hover { background: var(--bg-surf); color: var(--accent); }

/* HERO */
.hero {
  background: linear-gradient(135deg, rgba(59, 81, 241, 0.15) 0%, rgba(255, 159, 0, 0.08) 100%);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p { font-size: 18px; color: var(--text2); margin-bottom: 28px; }
.hero .cta-group { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-btn-primary, .hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-gold) 100%);
  color: #0c0e17;
  box-shadow: 0 6px 20px rgba(255, 159, 0, 0.35);
}
.hero-btn-secondary {
  background: var(--accent2);
  color: var(--text);
  box-shadow: 0 6px 20px rgba(59, 81, 241, 0.35);
}
.hero-btn-primary:hover, .hero-btn-secondary:hover { transform: translateY(-2px); color: #0c0e17; }
.hero-btn-secondary:hover { color: var(--text); }
.hero-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.hero-image img { width: 100%; height: auto; display: block; }

/* SECTIONS */
main { flex: 1; }
.section { padding: 56px 0; }
.section:nth-child(even) { background: rgba(20, 25, 38, 0.4); }

.section h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}
.section h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 40px 0 16px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.25;
  position: relative;
  padding-left: 18px;
}
.section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-gold) 100%);
  border-radius: 2px;
}
.section h3 {
  font-size: clamp(20px, 2.4vw, 24px);
  margin: 28px 0 12px;
  color: var(--accent-gold);
  font-weight: 600;
  line-height: 1.3;
}
.section p { margin-bottom: 16px; color: #d8dde8; }
.section ul, .section ol { margin: 16px 0 20px 20px; color: #d8dde8; }
.section li { margin-bottom: 10px; padding-left: 6px; }
.section ul li::marker { color: var(--accent); }
.section ol li::marker { color: var(--accent-gold); font-weight: 700; }

/* TABLES */
.table-wrapper { width: 100%; overflow-x: auto; margin: 20px 0 28px; border-radius: 12px; border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; background: var(--bg-card); 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: 600; text-transform: uppercase; letter-spacing: 0.5px; font-size: 13px; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-surf); }

/* CARDS/GRID */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 24px 0; }
.card {
  background: var(--bg-card);
  padding: 24px;
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 159, 0, 0.35); }
.card h3 { color: var(--accent-gold); margin-bottom: 10px; font-size: 20px; }
.card p { color: var(--text2); font-size: 15px; margin-bottom: 0; }

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--accent2);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 8px;
}
.badge-accent { background: var(--accent); color: #0c0e17; }
.badge-gold { background: var(--accent-gold); color: #0c0e17; }

/* CTA banner */
.cta-banner {
  margin: 40px 0;
  padding: 32px;
  background: linear-gradient(135deg, var(--accent2) 0%, var(--neon) 100%);
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(255, 159, 0, 0.25);
  box-shadow: var(--shadow);
}
.cta-banner h3 { color: var(--text); margin-bottom: 12px; font-size: 24px; }
.cta-banner p { color: rgba(255, 255, 255, 0.9); margin-bottom: 20px; }
.cta-banner .hero-btn-primary { margin: 0 auto; }

/* Content image */
.content-image {
  margin: 28px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.content-image img { width: 100%; height: auto; }

/* FAQ */
.faq { margin: 40px 0 24px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 12px;
}
.faq-item h3 { color: var(--accent-gold); margin-bottom: 10px; font-size: 18px; }
.faq-item p { margin-bottom: 0; color: #d8dde8; }

/* FOOTER */
.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
  margin-top: auto;
}
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; align-items: start; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--text2); font-size: 14px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.footer-nav a { color: var(--text2); font-size: 14px; padding: 4px 0; }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 28px;
  padding-top: 20px;
  text-align: center;
  color: var(--text2);
  font-size: 13px;
}
.footer-bottom .warn { color: #a0a8b8; margin-top: 6px; font-size: 12px; }

/* PAGE HEADER (interior pages) */
.page-header {
  background: linear-gradient(135deg, rgba(59, 81, 241, 0.12) 0%, rgba(255, 159, 0, 0.06) 100%);
  padding: 40px 0 24px;
  border-bottom: 1px solid var(--border);
}
.page-header .breadcrumbs { color: var(--text2); font-size: 14px; margin-bottom: 8px; }
.page-header .breadcrumbs a { color: var(--text2); }
.page-header .breadcrumbs a:hover { color: var(--accent); }

/* 404 */
.error-page { text-align: center; padding: 80px 20px; }
.error-code { font-size: clamp(80px, 15vw, 160px); font-weight: 900; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; margin-bottom: 20px; }
.error-page h1 { font-size: 32px; margin-bottom: 16px; }
.error-page p { color: var(--text2); font-size: 18px; margin-bottom: 32px; }

/* Media queries */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .burger-btn { display: inline-flex; }
  .header-inner { gap: 12px; }
  .play-btn { padding: 10px 18px; font-size: 13px; }
  .section { padding: 40px 0; }
  .hero { padding: 40px 0; }
  .container { padding: 0 16px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  th, td { padding: 12px 14px; font-size: 14px; }
}
@media (max-width: 480px) {
  .logo-img { height: 34px; }
  .hero .cta-group { flex-direction: column; }
  .hero-btn-primary, .hero-btn-secondary { width: 100%; justify-content: center; }
  .cta-banner { padding: 24px 16px; }
}
