/* ════════════════════════════════════════════
   Blackout Arena — Website Styles
   Dark theme, gold accents, military tactical
   ════════════════════════════════════════════ */

:root {
  --color-bg: #0a0a0e;
  --color-bg-alt: #0f0f14;
  --color-surface: #16161c;
  --color-border: rgba(255, 255, 255, 0.06);
  --color-text: #e0e0e0;
  --color-text-muted: rgba(255, 255, 255, 0.4);
  --color-primary: #FFB300;
  --color-primary-dim: rgba(255, 179, 0, 0.15);
  --color-accent: #FF6F00;
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-accent);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.center {
  text-align: center;
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn--primary {
  background: var(--color-primary);
  color: #000;
}

.btn--primary:hover {
  background: var(--color-accent);
  color: #000;
  transform: translateY(-1px);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-1px);
}

.btn--lg {
  padding: 14px 32px;
  font-size: 15px;
}

/* ── Navigation ── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 14, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  text-decoration: none;
}

.nav__logo-text {
  color: #fff;
}

.nav__logo-accent {
  color: var(--color-primary);
}

.nav__links {
  display: flex;
  gap: 24px;
  flex: 1;
}

.nav__links a {
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav__links a:hover {
  color: #fff;
}

.nav__play-btn {
  padding: 8px 20px;
  background: var(--color-primary);
  color: #000;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
}

.nav__play-btn:hover {
  background: var(--color-accent);
  color: #000;
}

/* ── Hero ── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('assets/hero-bg.jpg') center/cover no-repeat;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 10, 14, 0.7) 0%,
    rgba(10, 10, 14, 0.5) 50%,
    rgba(10, 10, 14, 0.95) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
}

.hero__title {
  margin-bottom: 16px;
}

.hero__title-main {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(48px, 10vw, 80px);
  font-weight: 700;
  letter-spacing: 8px;
  color: #fff;
  line-height: 1;
}

.hero__title-sub {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 700;
  letter-spacing: 12px;
  color: var(--color-primary);
  line-height: 1;
}

.hero__desc {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  letter-spacing: 1px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  gap: 48px;
  justify-content: center;
}

.hero__stat {
  text-align: center;
}

.hero__stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
}

.hero__stat-label {
  font-size: 12px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Sections ── */

.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section__title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 8px;
}

.section__subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 48px;
}

/* ── Gamemodes Grid ── */

.gamemodes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gm-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 24px;
  transition: all 0.2s;
}

.gm-card:hover {
  border-color: rgba(255, 179, 0, 0.2);
  transform: translateY(-2px);
}

.gm-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--color-primary-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--color-primary);
  font-size: 18px;
}

.gm-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.gm-card__desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.gm-card__tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.gm-card__tag--ranked {
  background: rgba(255, 179, 0, 0.1);
  color: var(--color-primary);
  border-color: rgba(255, 179, 0, 0.2);
}

/* ── Features Grid ── */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.feature {
  text-align: center;
  padding: 32px 24px;
}

.feature__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: var(--color-primary-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 20px;
}

.feature__title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.feature__desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ── Footer ── */

.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.3);
}

.footer__logo span {
  color: var(--color-primary);
  opacity: 0.5;
}

.footer__copy {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  margin-top: 4px;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer__links a:hover {
  color: var(--color-primary);
}

/* ── Mobile ── */

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .hero__stats {
    gap: 24px;
  }

  .hero__stat-num {
    font-size: 24px;
  }

  .gamemodes,
  .features {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
