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

/* =========================
   VARIABLES
========================= */
:root {
  --bg-main: #121212;
  --bg-secondary: #1b1b1b;
  --bg-header: #0f0f0f;

  --text-main: #e0e0e0;
  --text-muted: #a0a0a0;

  --neon-orange: #ff8c1a;
  --neon-orange-soft: rgba(255, 140, 26, 0.25);
  --neon-orange-glow: rgba(255, 140, 26, 0.45);
}

/* =========================
   BODY
========================= */
body {
  background: linear-gradient(180deg, #0b0b0b, #121212);
  color: var(--text-main);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

/* =========================
   HEADER BANNER (LOGO)
========================= */
.header-banner {
  position: relative;
  width: 100%;
  padding: 70px 0 45px; /* ⬅ controla altura REAL */
  background:
    radial-gradient(circle at top, rgba(255,140,26,0.08), transparent 60%),
    linear-gradient(180deg, #0a0a0a, #121212);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: 1px solid rgba(255, 140, 26, 0.12);
}

.banner-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* LOGO */
.banner-logo {
  width: 562px;
  height: 156px;
  max-width: 95%;
  object-fit: contain;
}


/* TITULOS HEADER */
.header-banner h1 {
  font-size: 2.4rem;
  color: #ffffff;
  letter-spacing: 1px;
  text-shadow: 0 0 12px rgba(255, 140, 26, 0.35);
}

.header-banner p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* =========================
   MAIN
========================= */
main {
  max-width: 1100px;
  margin: auto;
  padding: 35px 20px;
}

/* =========================
   CARD
========================= */
.card {
  background: var(--bg-secondary);
  padding: 22px 22px 22px 28px;
  margin-bottom: 25px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;

  box-shadow:
    inset 0 0 0 1px rgba(255, 140, 26, 0.08),
    0 12px 30px rgba(0, 0, 0, 0.85);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* =========================
   FIX CENTRADO DESCARGA
========================= */
.card.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card.center .btn {
  margin: 14px auto 0 auto;
}


.card::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 10px;
  width: 3px;
  background: linear-gradient(
    180deg,
    transparent,
    var(--neon-orange),
    transparent
  );
  border-radius: 6px;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 16px var(--neon-orange-soft),
    0 18px 35px rgba(0, 0, 0, 0.9);
}

/* =========================
   TITULOS
========================= */
h2 {
  color: var(--neon-orange);
  text-shadow: 0 0 8px var(--neon-orange-soft);
  margin-bottom: 10px;
}

h3 {
  margin-top: 14px;
  color: #fff;
}

/* =========================
   BOTÓN
========================= */
.btn {
  display: inline-block;
  padding: 14px 34px;
  background: linear-gradient(135deg, #ff9f43, var(--neon-orange));
  color: #111;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;

  box-shadow:
    0 0 14px var(--neon-orange-glow),
    0 0 30px var(--neon-orange-soft);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: scale(1.06);
  box-shadow:
    0 0 22px var(--neon-orange),
    0 0 45px var(--neon-orange-soft);
}

/* =========================
   GALERÍA STEAM
========================= */
.slider {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;

  box-shadow:
    inset 0 0 0 1px rgba(255, 140, 26, 0.12),
    0 18px 40px rgba(0, 0, 0, 0.9);
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.slide.active {
  opacity: 1;
}

.thumbnails {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.thumbnail {
  width: 140px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;

  box-shadow:
    inset 0 0 0 1px rgba(255, 140, 26, 0.2),
    0 6px 18px rgba(0, 0, 0, 0.85);

  transition: all 0.25s ease;
}

.thumbnail:hover,
.thumbnail.active {
  opacity: 1;
  transform: scale(1.05);
  box-shadow:
    0 0 14px var(--neon-orange-soft),
    0 10px 25px rgba(0, 0, 0, 0.9);
}

/* =========================
   TEXTO / LISTAS
========================= */
p {
  color: var(--text-muted);
}

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

/* =========================
   FOOTER
========================= */
footer {
  background: var(--bg-header);
  padding: 22px;
  text-align: center;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 140, 26, 0.08);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .header-banner {
    min-height: 420px;
  }

  .banner-logo {
    max-width: 380px;
  }

  .header-banner h1 {
    font-size: 2rem;
  }

  .slider {
    height: 300px;
  }

  .thumbnail {
    width: 100px;
    height: 60px;
  }
}


/* =========================
   DOWNLOAD CARD PRO
========================= */

.download-status {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 6px;
  font-size: 0.75rem;
}

.status {
  padding: 3px 10px;
  border-radius: 14px;
  background: rgba(255, 140, 26, 0.12);
  color: var(--neon-orange);
  font-weight: 600;
}

.download-tip {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #ffb36a;
}

.download-stats {
  margin-top: 4px;
  font-size: 0.75rem;
  opacity: 0.8;
}

/* =========================
   ANIMACIONES SUAVES
========================= */

.animate {
  animation: cardFadeUp 0.8s ease forwards;
}

@keyframes cardFadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Texto con fade escalonado */
.fade-text {
  animation: fadeText 0.9s ease forwards;
}

@keyframes fadeText {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Botón respirando */
.pulse {
  animation: pulseGlow 2.5s infinite ease-in-out;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 14px var(--neon-orange-glow);
  }
  50% {
    box-shadow:
      0 0 22px var(--neon-orange),
      0 0 40px var(--neon-orange-soft);
  }
  100% {
    box-shadow: 0 0 14px var(--neon-orange-glow);
  }
}

/* Download card más compacta */
.download-card h2 {
  margin-bottom: 4px;
}

.download-subtitle {
  font-size: 0.85rem;
  margin-bottom: 6px;
}

/* Estados */
.download-status {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 0.7rem;
}

.status {
  padding: 3px 9px;
  border-radius: 12px;
  background: rgba(255, 140, 26, 0.12);
  color: var(--neon-orange);
  font-weight: 600;
}

/* Info */
.download-info {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 0.75rem;
  margin-top: 6px;
  flex-wrap: wrap;
}

/* Stats */
.download-stats {
  margin-top: 4px;
  font-size: 0.7rem;
  opacity: 0.8;
}


/* Animación desde la izquierda */
.animate-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s ease;
}

.animate-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Animación desde la derecha */
.animate-right {
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.6s ease;
}

.animate-right.visible {
  opacity: 1;
  transform: translateX(0);
}



/* =========================
   SOPORTE
========================= */

.support-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px; /* separación entre los botones */
}

.support-button {
  background-color: var(--neon-orange);
  color: #111;
  border: none;
  padding: 14px 24px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  text-shadow: 0 0 6px rgba(0,0,0,0.4);
  box-shadow:
    0 0 12px var(--neon-orange-glow),
    0 0 28px var(--neon-orange-soft);
  transition: 0.3s ease, transform 0.3s ease;
}

.support-button:hover {
  background-color: #ff9c3a;
  transform: scale(1.05);
}

.support-button.pulse {
  animation: pulseGlow 2.5s infinite ease-in-out;
}

/* NUEVO BOTÓN DISCORD FLOTANTE */
.discord-btn {
  background-color: #5865F2; /* color oficial Discord */
  color: #fff;
  border: 1px solid #5865F2;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 0 12px rgba(88,101,242,0.6);
  transition: 0.3s ease, transform 0.3s ease;
}

.discord-btn:hover {
  background-color: #4752C4;
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(88,101,242,0.8);
}

/* =========================
   PANEL SOPORTE
========================= */

.support-panel {
  position: absolute;
  bottom: 60px;
  right: 0;
  width: 260px;
  background: var(--bg-secondary);
  border: 1px solid rgba(255,140,26,0.3);
  border-radius: 16px;
  padding: 16px 20px;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.45);

  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.support-panel.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.support-panel h3 {
  margin-top: 0;
  font-size: 16px;
  color: var(--neon-orange);
}

/* =========================
   BOTONES SOPORTE MODERNOS
========================= */

.support-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 8px 0;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  color: #fff;
  transition: 0.3s ease, transform 0.2s ease;
  box-shadow: 0 0 10px rgba(0,0,0,0.35);
}

/* Botón Discord dentro del panel */
.support-link.discord {
  background-color: #5865F2; /* color oficial de Discord */
  border: 1px solid #5865F2;
}

.support-link.discord:hover {
  background-color: #4752C4;
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(88,101,242,0.7);
}

/* Botón Ticket dentro del panel */
.support-link.ticket {
  background-color: #FF8C1A; /* color de tu neon naranja */
  border: 1px solid #FF8C1A;
}

.support-link.ticket:hover {
  background-color: #FF9C3A;
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(255,140,26,0.7);
}

.support-link:hover {
  color: var(--neon-orange);
  border-color: var(--neon-orange);
}

.support-note {
  font-size: 12px;
  color: #ccc;
  display: block;
  margin-top: 8px;
}

/* Asegura que el soporte no bloquee scroll en móviles */
@media (max-width: 768px) {
  .support-widget {
    bottom: 15px;
    right: 15px;
  }

  .support-panel {
    width: 220px;
  }
}



/* =========================
   REQUISITOS DEL SISTEMA
========================= */

.requirements-card {
  padding: 26px;
}

.section-title {
  text-align: center;
  margin-bottom: 22px;
  font-size: 1.4rem;
}

.requirements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Caja de requisitos */
.req-box {
  background: linear-gradient(180deg, #141414, #101010);
  border: 1px solid rgba(255, 140, 26, 0.12);
  border-radius: 14px;
  padding: 20px;
}

.req-box h3 {
  margin-bottom: 14px;
  font-size: 1.1rem;
  color: #ff8c1a;
}

.req-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.req-box li {
  padding: 6px 0;
  font-size: 0.95rem;
  color: #d0d0d0;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
}

.req-box li:last-child {
  border-bottom: none;
}

/* Recomendados destacados */
.req-box.highlight {
  background:
    radial-gradient(circle at top, rgba(255,140,26,0.08), transparent 60%),
    linear-gradient(180deg, #161616, #111);
  border-color: rgba(255,140,26,0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .requirements-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   CRÉDITOS & COMUNIDAD (DECORADO)
========================= */
.credits-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  background: linear-gradient(180deg, #121212, #0a0a0a);
  border: 1px solid rgba(255,140,26,0.12);
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(255,140,26,0.1);
}

.credits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

/* Caja de créditos */
.credit-box {
  background: linear-gradient(180deg, #141414, #101010);
  border: 1px solid rgba(255,140,26,0.12);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credit-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(255,140,26,0.3);
}

.credit-box h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
  color: #ff8c1a;
}

.credit-box p {
  font-size: 0.95rem;
  color: #d0d0d0;
  margin-bottom: 12px;
}

.credit-box a.credit-link {
  display: inline-block;
  font-size: 0.95rem;
  color: #ff8c1a;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,140,26,0.4);
  transition: 0.2s ease;
}

.credit-box a.credit-link:hover {
  color: #fff;
  border-color: #fff;
}

/* Destacado / Web */
.credit-box.highlight {
  background:
    radial-gradient(circle at top, rgba(255,140,26,0.08), transparent 60%),
    linear-gradient(180deg, #161616, #111);
  border-color: rgba(255,140,26,0.3);
}

/* Botón Web / Foro */
.community-cta {
  text-align: center;
  position: relative;
  z-index: 2;
}

.community-btn {
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.community-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255,140,26,0.4);
}

/* Partículas animadas */
.particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .credits-grid {
    grid-template-columns: 1fr;
  }
}

/* Partículas de fondo para toda la página */
#particles-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* No bloquea clicks */
  z-index: 0; /* Fondo detrás de todo */
}


.credit-box {
  display: flex;
  flex-direction: column;
  align-items: center; /* centrado horizontal */
  justify-content: center; /* centrado vertical si hay espacio */
  text-align: center;
  background: linear-gradient(180deg, #141414, #101010);
  border: 1px solid rgba(255,140,26,0.12);
  border-radius: 14px;
  padding: 25px;
  position: relative;
  z-index: 1;
}

.credit-box.highlight {
  background: radial-gradient(circle at top, rgba(255,140,26,0.08), transparent 60%), linear-gradient(180deg, #161616, #111);
  border-color: rgba(255,140,26,0.3);
}

/* Cabecera con avatar centrado */
.credit-header {
  display: flex;
  flex-direction: column; /* avatar arriba, texto debajo */
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.credit-avatar {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  border: 2px solid #ff8c1a;
  object-fit: cover;
}

/* =========================
   BOTONES DE CONTACTO CRÉDITOS
========================= */
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  justify-content: center;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 8px rgba(0,0,0,0.35);
}

.contact-btn:hover {
  transform: scale(1.05);
}

/* Icono dentro del botón */
.contact-btn .btn-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: invert(1); /* para que se vea blanco si el logo es negro */
}

/* Colores específicos */
.contact-btn.discord {
  background-color: #5865F2;
  border: 1px solid #5865F2;
  box-shadow: 0 0 12px rgba(88,101,242,0.7);
}

.contact-btn.discord:hover {
  background-color: #4752C4;
}

.contact-btn.steam {
  background-color: #1B2838;
  border: 1px solid #1B2838;
  box-shadow: 0 0 12px rgba(27,40,56,0.7);
}

.contact-btn.steam:hover {
  background-color: #0D1B2A;
}

.contact-btn.github {
  background-color: #24292F;
  border: 1px solid #24292F;
  box-shadow: 0 0 12px rgba(36,41,47,0.7);
}

.contact-btn.github:hover {
  background-color: #0D1117;
}

.contact-btn.goldclient {
  background-color: #FF8C1A;
  border: 1px solid #FF8C1A;
  box-shadow: 0 0 12px rgba(255,140,26,0.7);
}

.contact-btn.goldclient:hover {
  background-color: #FF9C3A;
}

/* Botón principal GoldClient */
.community-cta .goldclient-main {
  margin-left: 10px;
}

.contact-btn.youtube {
  background-color: #FF0000;
  border: 1px solid #FF0000;
  box-shadow: 0 0 12px rgba(255,0,0,0.7);
}

.contact-btn.youtube:hover {
  background-color: #CC0000;
}

.contact-btn.gamebanana {
  background-color: #FFD700; /* amarillo dorado */
  color: #111;
  border: 1px solid #FFD700;
  box-shadow: 0 0 12px rgba(255,215,0,0.7);
}

.contact-btn.gamebanana:hover {
  background-color: #FFC700;
}

/* ================= FOOTER BOTONES ================= */
.footer-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-btn img.btn-icon {
  width: 18px;
  height: 18px;
  filter: invert(1); /* Iconos blancos */
}

/* Colores por red */
.social-btn.discord { background-color: #5865F2; box-shadow: 0 0 8px #5865F2; }
.social-btn.discord:hover { background-color: #4752c4; transform: scale(1.05); }

.social-btn.steam { background-color: #00adee; box-shadow: 0 0 8px #00adee; }
.social-btn.steam:hover { background-color: #008fc5; transform: scale(1.05); }

.social-btn.facebook { background-color: #1877F2; box-shadow: 0 0 8px #1877F2; }
.social-btn.facebook:hover { background-color: #0f60c0; transform: scale(1.05); }

.social-btn.youtube { background-color: #FF0000; box-shadow: 0 0 8px #FF0000; }
.social-btn.youtube:hover { background-color: #CC0000; transform: scale(1.05); }

/* ================= SOPORTE FLOTANTE ICONOS ================= */
.support-link img.btn-icon {
  width: 16px;
  height: 16px;
  filter: invert(1);
  vertical-align: middle;
  margin-right: 6px;
}

/* Hover para soporte panel */
.support-link.discord:hover { color: #5865F2; text-decoration: underline; }
.support-link.ticket:hover { color: #FF8C1A; text-decoration: underline; }

.social-btn.instagram { 
  background: linear-gradient(45deg,#feda75,#d62976,#962fbf,#4f5bd5); 
  box-shadow: 0 0 8px #d62976; 
}
.social-btn.instagram:hover { 
  background: linear-gradient(45deg,#feda75,#c13584,#833ab4,#4f5bd5); 
  transform: scale(1.05); 
}

.social-btn.twitter { 
  background-color: #000;   /* fondo negro */
  box-shadow: 0 0 8px #000; 
}
.social-btn.twitter:hover { 
  background-color: #222;   /* un hover sutil gris oscuro */
  transform: scale(1.05); 
}



/* Glow para títulos de requisitos */
.requirements-card .section-title {
  color: var(--neon-orange);
  text-shadow: 
    0 0 8px var(--neon-orange-soft),
    0 0 20px var(--neon-orange-glow);
}

.requirements-card .req-box h3 {
  color: var(--neon-orange);
  text-shadow: 
    0 0 6px var(--neon-orange-soft),
    0 0 14px var(--neon-orange-glow);
}

.download-status {
  display: flex;
  justify-content: center;
  gap: 10px; /* Reduce la separación entre los estados */
  margin: 10px 0;
}

.download-status .status {
  display: flex;
  align-items: center;
  gap: 4px; /* Espacio entre el icono y el texto */
  font-size: 0.85rem;
  font-weight: 500;
}
