:root {
  color-scheme: light dark;
  --red: #e10600;
  --blue: #0b4aa2;
  --white: #ffffff;
  --bg: #0f1524;
  --surface: #1a2436;
  --surface-alt: #152035;
  --text: #f2f6fb;
  --muted: #b8c6da;
  --accent: #6aa2ff;
  --shadow: 0 24px 60px rgba(6, 12, 24, 0.3);
}

body[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f6fb;
  --surface: #ffffff;
  --surface-alt: #e9eef7;
  --text: #0f1a2b;
  --muted: #2f3d56;
  --accent: #1f5fd6;
  --shadow: 0 18px 40px rgba(15, 26, 43, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 26, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 150px;
  height: 150px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
}

.logo .logo-light {
  display: none;
}

.logo .logo-dark {
  display: block;
}

body[data-theme="light"] .logo .logo-light {
  display: block;
}

body[data-theme="light"] .logo .logo-dark {
  display: none;
}

.brand-title {
  font-weight: 700;
  letter-spacing: 0.6px;
  font-size: 1.1rem;
}

.brand-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
}

.main-nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
  align-items: center;
}

.main-nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--white);
}

.theme-toggle {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.85rem;
  cursor: pointer;
}

body[data-theme="light"] .theme-toggle {
  background: rgba(15, 26, 43, 0.08);
  color: var(--text);
  border-color: rgba(15, 26, 43, 0.2);
}

body[data-theme="light"] .site-header {
  background: rgba(243, 246, 251, 0.95);
  border-bottom: 1px solid rgba(15, 26, 43, 0.08);
}

body[data-theme="light"] .main-nav a,
body[data-theme="light"] .submenu-toggle {
  color: var(--text);
}

body[data-theme="light"] .main-nav a:hover,
body[data-theme="light"] .submenu-toggle:hover {
  color: var(--accent);
}

body[data-theme="light"] .brand-subtitle {
  color: rgba(15, 26, 43, 0.75);
}

body[data-theme="light"] .social-icon {
  background: rgba(15, 26, 43, 0.12);
  color: var(--text);
  border: 1px solid rgba(15, 26, 43, 0.18);
}

body[data-theme="light"] .social-icon.disabled {
  opacity: 0.35;
}

.nav-item {
  position: relative;
}

.submenu-toggle {
  background: none;
  border: none;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.submenu-toggle:hover {
  color: var(--white);
}

.submenu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--surface);
  border-radius: 12px;
  padding: 10px;
  min-width: 140px;
  display: none;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.submenu a {
  color: var(--muted);
}

.submenu a:hover {
  color: var(--white);
}

.nav-item.open .submenu,
.nav-item:hover .submenu {
  display: flex;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  border-radius: 10px;
  padding: 6px 10px;
}

.top-banner {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-banner-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 100%;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background: radial-gradient(circle at top, rgba(79, 140, 255, 0.3), rgba(0, 0, 0, 0.9)),
    linear-gradient(135deg, rgba(11, 74, 162, 0.4), rgba(225, 6, 0, 0.2));
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11, 15, 26, 0.9), rgba(11, 15, 26, 0.5));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
  color: var(--white);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  font-size: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  margin: 12px 0 16px;
}

.lead {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 28px 0 36px;
}

.btn {
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.primary {
  background: linear-gradient(135deg, var(--red), var(--blue));
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
}

.stat-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

.section {
  padding: 80px 0;
}

.section.alt {
  background: var(--surface-alt);
}

.section-header {
  margin-bottom: 36px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 10px;
}

.section-header p {
  color: var(--muted);
  max-width: 640px;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--surface);
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.media-card .media {
  height: 160px;
  border-radius: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.2), rgba(225, 6, 0, 0.2));
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.placeholder {
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.list {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
}

.text-link {
  color: var(--accent);
  font-weight: 600;
}

.sponsor-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.sponsor {
  height: 80px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.social {
  display: flex;
  gap: 10px;
  margin: 12px 0 6px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.social-icon.disabled {
  opacity: 0.4;
  filter: grayscale(1);
}

.note {
  font-size: 0.8rem;
  color: var(--muted);
}

.hidden {
  display: none;
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: grid;
  gap: 16px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand .logo {
  width: 150px;
  height: 150px;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
    flex-direction: column;
    background: var(--surface);
    position: absolute;
    top: 70px;
    right: 4vw;
    padding: 16px;
    border-radius: 12px;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .submenu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 6px 0 0 0;
  }
}
