:root {
  --brand-gold: #ffc400;
  --ink: #fff;
  --muted: #a7aab3;
  --bg-0: #0a0a0b;
  --ok: #94e29b;
  --bad: #ff9b9b;
  
  --display: "Russo One", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  
  --mx: 0;
  --my: 0;
  --tilt: 6px;
}

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

html, body { height: 100%; margin: 0; }

body {
  background: var(--bg-0);
  color: var(--ink);
  font-family: var(--body);
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
}

/* === HERO SECTION === */
.hero {
  position: relative;
  height: 100svh;
  display: grid;
  place-items: center;
  isolation: isolate;
  width: 100%;
}

.bg-image {
  position: fixed;
  inset: -2%;
  width: 104%;
  height: 104%;
  object-fit: cover;
  z-index: -2;
  filter: blur(4px);
  transform: translate3d(calc(var(--mx) * var(--tilt)), calc(var(--my) * var(--tilt)), 0) scale(1.05);
  transition: transform 0.1s linear;
  will-change: transform;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at bottom, #111117 0%, #111117 40%, #1c1829 100%);
  opacity: 0.86;
}

/* === CONTENT === */
.hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: min(1080px, 92vw);
  transform: translateY(30px);
  opacity: 0;
  animation: riseIn 0.8s ease forwards 0.2s;
  z-index: 10;
}

@keyframes riseIn {
  to { transform: translateY(-20px); opacity: 1; }
}

.brand-logo {
  width: 56px;
  height: 56px;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.1); opacity: 1; }
}

.title {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 4rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1;
}

.eslogan {
  margin: 0;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.eslogan strong { font-weight: 700; color: #fff; }

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

/* === BUTTONS === */
.btn-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  font-weight: 700;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0f0f12;
  color: #fff;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  text-transform: uppercase;
}

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

.btn--primary:hover {
  background: transparent;
  color: var(--brand-gold);
  box-shadow: 0 0 15px rgba(255, 196, 0, 0.2);
}

.btn:not(.btn--primary):hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* === SERVER STATUS === */
.server-status {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--muted);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.status-dot.online {
  background-color: var(--ok);
  box-shadow: 0 0 8px var(--ok);
}

.status-dot.offline {
  background-color: var(--bad);
  box-shadow: none;
}

/* === SOCIAL LINKS === */
.social-links {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  
  
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding-top: 30px;
  
  z-index: 50; /* Por encima de todo */
  

  opacity: 0;
  transform: translateY(-20px);
  animation: slideDownFade 0.8s ease forwards 0.2s;
}

/* Animación específica para la barra superior */
@keyframes slideDownFade {
  to { transform: translateY(0); opacity: 1; }
}

.social-links a {
  color: var(--muted);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  opacity: 0.7;
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-links a:hover {
  color: white;
  transform: scale(1.1);
  opacity: 1;
}

/* === FOOTER === */
.legal {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  color: #7a7a7a;
  padding: 0 20px;
  line-height: 1.5;
  pointer-events: none;
}