:root {
  --bg: #0b0d10;
  --bg-alt: #12151a;
  --panel: #171b21;
  --border: #262b33;
  --text: #e7e9ec;
  --text-muted: #9aa1ab;
  --accent: #ff3b30;
  --accent-strong: #ff5a4d;
  --discord: #5865f2;
  --discord-hover: #4752c4;
  --font-display: "Oswald", "Segoe UI", sans-serif;
  --font-body: "Rajdhani", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  position: relative;
  overflow-x: hidden;
}

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

/* Fondo decorativo tipo rejilla táctica */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 59, 48, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 59, 48, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(11, 13, 16, 0.85);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 4px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.brand-accent {
  color: var(--accent);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 14px;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.social-link {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.social-link:hover {
  color: var(--text);
}

.x-icon {
  width: 18px;
  height: 18px;
}

.footer-inner .social-link {
  color: var(--text-muted);
}

/* Hero */
.hero {
  position: relative;
  z-index: 0;
  padding: 160px 0 140px;
  text-align: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  z-index: -1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 13, 16, 0.75) 0%,
    rgba(11, 13, 16, 0.82) 45%,
    rgba(11, 13, 16, 0.9) 80%,
    var(--bg) 100%
  );
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 16px;
  margin-bottom: 8px;
  box-shadow: 0 0 40px rgba(255, 59, 48, 0.25);
}

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  font-size: 14px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 96px);
  font-weight: 600;
  letter-spacing: 4px;
  line-height: 1;
}

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

.hero-subtitle {
  max-width: 560px;
  color: var(--text-muted);
  font-size: 20px;
  margin-bottom: 12px;
}

/* Botón de Discord */
.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--discord);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 0 rgba(88, 101, 242, 0);
}

.btn-discord:hover {
  background: var(--discord-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.35);
}

.btn-discord:active {
  transform: translateY(0);
}

.discord-icon {
  width: 22px;
  height: 22px;
}

.btn-discord-secondary {
  margin-top: 8px;
}

/* Sobre nosotros */
.about {
  padding: 80px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about h2,
.cta h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 32px;
  text-align: center;
  margin-bottom: 40px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.about-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 28px;
}

.about-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-size: 18px;
}

.about-card p {
  color: var(--text-muted);
}

/* CTA final */
.cta {
  padding: 100px 0;
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta p {
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-disclaimer {
  margin-top: 16px;
}

.footer-disclaimer p {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
  opacity: 0.7;
}

@media (max-width: 640px) {
  .nav {
    display: none;
  }

  .hero {
    padding: 90px 0 70px;
  }
}
