:root {
  color-scheme: dark;
  --bg: #071013;
  --bg-elev: #0d1c1f;
  --bg-card: #112428;
  --bg-card-hover: #152d32;
  --border: rgba(63, 224, 200, 0.16);
  --border-strong: rgba(63, 224, 200, 0.36);
  --cyan: #3fe0c8;
  --cyan-dim: rgba(63, 224, 200, 0.12);
  --amber: #f5c542;
  --amber-dim: rgba(245, 197, 66, 0.12);
  --orange: #ff7a2f;
  --text: #e6f1f0;
  --text-muted: #9bb5b3;
  --radius: 14px;
  --radius-sm: 9px;
  --max-w: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(63, 224, 200, 0.13), transparent 70%),
    linear-gradient(rgba(63, 224, 200, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 224, 200, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-name, .badge, .btn, .stat-value {
  font-family: 'Rajdhani', 'Inter', system-ui, sans-serif;
  letter-spacing: 0.02em;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

a:hover {
  color: #6df0dc;
}

img {
  max-width: 100%;
  display: block;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 16, 19, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 16px rgba(63, 224, 200, 0.2);
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.brand-sub {
  color: var(--amber);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cyan);
}

/* Buttons & Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--cyan-dim);
  color: var(--cyan);
  border: 1px solid var(--border-strong);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--cyan);
  color: #061316;
  box-shadow: 0 6px 24px rgba(63, 224, 200, 0.25);
}

.btn-primary:hover {
  background: #5ae8d2;
  color: #061316;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--cyan-dim);
  color: #fff;
}

/* Hero */
.hero {
  padding: 64px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  line-height: 1.02;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}

.hero h1 span {
  color: var(--cyan);
}

.hero-lead {
  margin: 0 0 26px;
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.platform-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 500;
}

.pill strong {
  color: var(--amber);
  font-weight: 600;
}

.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(63, 224, 200, 0.12);
}

.hero-media img {
  width: 100%;
  height: auto;
}

/* Stats Strip */
.stats-strip {
  margin: 12px 0 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.stat-value {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--amber);
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-header {
  max-width: 680px;
  margin-bottom: 34px;
}

.section-kicker {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 6px;
}

.section-header h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: #fff;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

/* Cards */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.card-tag {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--amber-dim);
  color: var(--amber);
  margin-bottom: 12px;
}

.card-tag.cyan {
  background: var(--cyan-dim);
  color: var(--cyan);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.28rem;
  text-transform: uppercase;
  color: #fff;
}

.card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* Gallery */
.gallery-featured {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--bg-elev);
  margin-bottom: 16px;
}

.gallery-featured img {
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

.gallery-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(7, 16, 19, 0.9);
  border-top: 1px solid var(--border);
}

.gallery-caption strong {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}

.gallery-caption span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.thumb-btn {
  padding: 0;
  border: 2px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-elev);
  cursor: pointer;
  opacity: 0.68;
  transition: opacity 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.thumb-btn:hover,
.thumb-btn.active {
  opacity: 1;
  border-color: var(--cyan);
  transform: translateY(-1px);
}

.thumb-btn img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 9, 11, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 95vw;
  max-height: 88vh;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: var(--bg-card);
  color: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 8px 14px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

/* Support & Legal Banner */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.support-box {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.support-box h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  color: var(--amber);
  text-transform: uppercase;
}

.support-box p {
  margin: 0 0 16px;
  color: var(--text-muted);
}

.support-box p:last-child {
  margin-bottom: 0;
}

/* Legal Document Pages */
.legal-main {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.legal-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 34px;
}

.legal-card h1 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  color: var(--cyan);
  text-transform: uppercase;
}

.legal-meta {
  color: var(--amber);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.legal-card h2 {
  color: var(--amber);
  margin: 2em 0 0.6em;
  font-size: 1.3rem;
  text-transform: uppercase;
}

.legal-card p,
.legal-card li {
  color: var(--text);
}

.legal-card ul {
  padding-left: 20px;
}

.legal-card li {
  margin-bottom: 8px;
}

.legal-nav-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 0.94rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(7, 16, 19, 0.9);
  padding: 32px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--cyan);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }
  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  .nav-inner {
    height: auto;
    padding: 12px 0;
  }
  .nav-links {
    gap: 14px;
  }
  .hero {
    padding: 40px 0 36px;
  }
  .cards-4,
  .cards-3,
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .gallery-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }
  .legal-card {
    padding: 24px 18px;
  }
}
