/* ----------------------------- */
/* PALETA Y ESTILO GENERAL       */
/* ----------------------------- */
:root {
  --bg1: #050005;      /* negro profundo con leve púrpura */
  --bg2: #300028;      /* púrpura suave */
  --bg3: #6a0010;      /* rojo oscuro elegante */
  --bg4: #ffc56a;      /* dorado cálido */
  --accent: #ffb45a;
  --accent2: #ffe3b5;
  --text: #fff8e8;
  --glow: 0 0 12px rgba(255,170,80,0.6);
}
body {
  margin: 0;
  background: linear-gradient(
    135deg,
    #7d141b 0%,     /* rojo oscuro elegante */
    #b72a2f 55%,    /* rojo cálido vibrante */
    #ffb922 100%    /* dorado brillante */
  );
  background-size: 250% 250%;
  animation: ondaSuave 18s ease-in-out infinite;
}

@keyframes ondaSuave {
  0%   { background-position: 50% 0%; }
  50%  { background-position: 50% 100%; }
  100% { background-position: 50% 0%; }
}

@keyframes goldFade {
  0% { filter: brightness(0.6) saturate(0.9); }
  100% { filter: brightness(1.2) saturate(1.1); }
}

/* ----------------------------- */
/* CABECERA Y MENÚ               */
/* ----------------------------- */
header {
  display: flex;
  flex-direction: column; /* logo arriba, nav abajo */
  align-items: center;    /* centra horizontalmente */
  padding: 20px;
  gap: 15px;              /* espacio entre logo y nav */
}

h1 {
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 6px;
  font-size: 2.5rem;
  color: var(--accent2);
  text-shadow: var(--glow);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.nav button {
  background: transparent;
  border: 2px solid var(--accent);
  padding: 10px 20px;
  border-radius: 25px;
  color: var(--accent2);
  cursor: pointer;
  font-size: 1rem;
  transition: 0.2s;
}

.nav button:hover,
.nav button.active {
  background: var(--accent);
  color: #400;
  box-shadow: var(--glow);
}

/* ----------------------------- */
/* SECCIONES                     */
/* ----------------------------- */

section {
  display: none;
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
  animation: fade 0.4s ease;
}

@keyframes fade {
  from {opacity: 0;}
  to {opacity: 1;}
}

.visible { display: block; }

/* ----------------------------- */
/* TARJETAS Y BLOQUES            */
/* ----------------------------- */

.card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 20px;
  border-radius: 20px;
  box-shadow: var(--glow);
  margin-bottom: 25px;
  backdrop-filter: blur(6px);
}

/* Botones */
.btn-link {
  display: block;
  padding: 12px 18px;
  margin: 10px 0;
  background: var(--accent);
  color: #400;
  border-radius: 20px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  box-shadow: var(--glow);
  transition: 0.2s;
}

.btn-link:hover {
  transform: scale(1.05);
}

/* Media */
video, audio {
  width: 100%;
  border-radius: 18px;
  margin-top: 10px;
}
/* --- TRANSICIÓN LIGERA --- */
#portal-transition {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
  z-index: 9999;
}

#portal-transition.active {
  opacity: 1;
}

.logo {
  width: 400px; 
  height: auto;
  image-rendering: auto; /* deja el GIF suave */
  filter: drop-shadow(0 0 15px rgba(255,200,120,0.8));
  margin-bottom: 10px;
}
/* Otros estilos aquí… */

/* === ESTILOS GLOBALES DE TIPOGRAFÍA Y SOMBRA === */
h1, h2, h3, h4, h5, h6,
a, nav a,
.subtitle-text,
.link-text {
  font-family: "Inter Tight", sans-serif;
  font-weight: 900;
  font-style: italic;
  color: #fff;

  text-shadow: 
    0 0 8px rgba(255, 200, 120, 0.8),
    0 0 15px rgba(255, 150, 80, 0.5);
}
/* === ESTILO DEL MENÚ (botones) === */
.nav button {
  font-size: 1.5rem !important; /* ← AJUSTA ESTE VALOR */
  font-family: "Inter Tight", sans-serif !important;
  font-weight: 900 !important;
  font-style: italic !important;
  color: #fff !important;
  background: transparent;
  border: none;
  cursor: pointer;

  text-shadow:
    0 0 8px rgba(255, 200, 120, 0.8),
    0 0 15px rgba(255, 150, 80, 0.5);

  font-size: 1.1rem;
  padding: 10px 20px;
  transition: 0.25s ease;
}

/* Hover */
.nav button:hover {
  text-shadow:
    0 0 12px rgba(255, 220, 160, 1),
    0 0 25px rgba(255, 160, 80, 0.9);
  transform: scale(1.08);
}

/* Botón activo (el seleccionado) */
.nav button.active {
  text-shadow:
    0 0 15px rgba(255, 230, 180, 1),
    0 0 30px rgba(255, 170, 100, 1);
}
.logo:hover {
  filter: drop-shadow(0 0 25px rgba(255,230,150,1));
  transform: scale(1.05);
  transition: all 0.25s ease;
}
/* === ICONOS DE REDES SOCIALES === */
.social-icons {
  display: flex;
  gap: 25px;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.social-icons i {
  font-size: 45px;
  color: #fff;
  text-shadow:
    0 0 8px rgba(255, 200, 120, 0.8),
    0 0 18px rgba(255, 150, 80, 0.7);
  transition: 0.25s ease;
}

.social-icons i:hover {
  transform: scale(1.2);
  text-shadow:
    0 0 15px rgba(255, 230, 150, 1),
    0 0 30px rgba(255, 170, 100, 1);
}
/* Estilo del título "Mis redes" */
#inicio h3 {
    text-align: center;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 900;        /* Black */
    font-style: italic;      /* Italic */
    text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
    font-size: 2rem;         /* Aumenta si lo quieres más grande */
    margin-bottom: 20px;
}
/* ===== FONDO DE CIRCUITO ANIMADO ===== */
.circuit-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circuit-bg svg {
    width: 100%;
    height: 100%;
    display: block;
}
.lista-patro li,
.lista-aportadores li {
  margin: 5px 0;
  padding: 6px 12px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  list-style: none;
  text-shadow: none;
  font-weight: bold;
}
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.galeria img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--glow);
  transition: 0.3s;
}

.galeria img:hover {
  transform: scale(1.05);
}
/* --- TARJETA ESPECIAL SOLO PARA KO-FI --- */
.kofi-card {
  background: #ffffff !important;
  border: 1px solid #ffffffaa !important;
  color: #300 !important;
  box-shadow: 0 0 15px rgba(255,180,80,0.5);
}

.kofi-card h2 {
  color: #400;
  text-shadow: none;
}
.afiliados-aviso {
  margin: 15px 0 25px 0;
  padding: 12px 18px;
  background: rgba(255, 200, 120, 0.15);
  border: 1px solid rgba(255,200,120,0.4);
  border-radius: 15px;
  text-align: center;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--accent2);
  box-shadow: 0 0 12px rgba(255,185,90,0.4);
}
.stream-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--glow);
}

.stream-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}
/* === TARJETAS DE PATROCINADORES === */

.patro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.patro-card {
  display: block;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 22px;
  padding: 12px;
  box-shadow: var(--glow);
  transition: 0.25s ease;
  overflow: hidden;
}

.patro-card:hover {
  transform: scale(1.04);
  box-shadow: 0 0 25px rgba(255,200,120,0.9);
}
.patro-card img {
  width: 100%;
  aspect-ratio: 3/4;     /* Mantiene proporción 3:4 */
  object-fit: cover;     /* Se recorta sin deformar */
  border-radius: 18px;
  display: block;
  background: #111;
}
body, p, a, li, button, input, textarea, select, span, div {
    font-family: "Inter Tight", sans-serif;
    color: var(--text) !important;
}
.donadores-carrusel {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  box-shadow: var(--glow);
  margin-bottom: 35px;
  padding: 25px 20px 35px;           /* padding normal */
  overflow: visible !important;      /* ya no lo corta nadie */
  position: relative;                /* importante para el wrapper */
  backdrop-filter: none !important;  /* ¡¡QUITAMOS EL BLUR DE LA TARJETA!! */
}
.donadores-carrusel h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--accent2);
  text-shadow: var(--glow);
}

/* ======== CARRUSEL CONTENEDOR ======== */
/* ===== CARRUSEL 100 % FUNCIONAL ===== */
.carrusel-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  margin-top: 20px;
}

.carrusel {
  display: flex;
  gap: 28px;
  padding: 10px 0;
  animation: carruselScroll 60s linear infinite;   /* 90 segundos = muy suave con 31 nombres */
}

@keyframes carruselScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-700%); }   /* -100% porque NO duplicamos (pero ahora sí llega) */
}

/* Pausa al pasar el ratón */
.carrusel-wrapper:hover .carrusel {
  animation-play-state: paused;
}

/* ======== CADA SLIDE ======== */
.donador-slide {
  min-width: 160px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 12px;
  text-align: center;
  box-shadow: var(--glow);
  transition: 0.25s ease;
}

.donador-slide:hover {
  transform: scale(1.06);
  box-shadow: 0 0 25px rgba(255,200,120,0.8);
}

/* ======== AVATAR CIRCULAR ======== */
.donador-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: block;
  object-fit: cover;
  background: #111;
  box-shadow: 0 0 15px rgba(255,200,120,0.6);
}

/* ======== NOMBRE ======== */
.donador-name {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: bold;
  margin-top: 5px;
  line-height: 1.2;
  word-wrap: break-word;
}
/* ============================== */
/*   OPTIMIZACIÓN MÓVILES 768px   */
/* ============================== */
@media (max-width: 768px) {

  /* Fondo animado más suave */
  body {
    background-size: 200% 200%;
    animation-duration: 26s;
  }

  /* Logo más pequeño */
  .logo {
    width: 260px;
    margin-top: 5px;
  }

  /* Menú adaptado a dos filas */
  .nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav button {
    font-size: 1.2rem !important;
    padding: 8px 16px;
  }

  /* Secciones más compactas */
  section {
    padding: 25px;
  }

  /* Fanarts grid */
  .galeria {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  /* Stream responsivo */
  .stream-container {
    padding-bottom: 60%;
  }
/* ... tu código existente ... */

  /* Solución 768px: Reducir el tamaño de los íconos de redes */
  .social-icons i {
    font-size: 25px; /* Reducción de 45px a 35px */
    transition: 0.25s ease; /* Mantener animación */
  }

  /* Asegura que el contenedor de los íconos envuelva si es necesario */
  .social-icons {
    flex-wrap: wrap;
    gap: 15px; /* Reducir el espacio entre ellos */
  }

  /* ... tu código existente ... */
}
  /* Cards */
  .card {
    padding: 18px;
    border-radius: 16px;
  }

  /* Carrusel */
  .donador-slide {
    min-width: 150px;
    padding: 10px;
  }

  .donador-avatar {
    width: 70px;
    height: 70px;
  }
}

/* ============================== */
/*   OPTIMIZACIÓN MÓVILES 480px   */
/* ============================== */
@media (max-width: 480px) {
   /* Solución 768px: Reducir el tamaño de los íconos de redes */
  .social-icons i {
    font-size: 20px; /* Reducción de 45px a 35px */
    transition: 0.25s ease; /* Mantener animación */
  }

  /* Asegura que el contenedor de los íconos envuelva si es necesario */
  .social-icons {
    flex-wrap: wrap;
    gap: 15px; /* Reducir el espacio entre ellos */
  }
  /* Fondo aún más suave sin quitar animación */
  body {
    background-size: 240% 240%;
    animation-duration: 32s;
  }

  /* Logo */
  .logo {
    width: 210px;
  }

  /* Menú más compacto */
  .nav button {
    font-size: 1rem !important;
    padding: 6px 14px;
  }

  /* Texto general */
  p, li {
    font-size: 0.95rem;
    line-height: 1.35;
  }

  h2, h3 {
    font-size: 1.4rem;
  }

  /* Carrusel más compacto */
  .donador-slide {
    min-width: 130px;
    padding: 8px;
  }

  .donador-avatar {
    width: 60px;
    height: 60px;
  }

  /* Galería fanarts */
  .galeria {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
  }

  /* Stream */
  .stream-container {
    padding-bottom: 68%;
  }

  /* Menos padding en secciones */
  section {
    padding: 18px;
  }
}
/* ----------------------------- */
/* PIE DE PÁGINA (FOOTER)        */
/* ----------------------------- */

footer {
  margin-top: 50px;
  padding: 30px 20px;
  /* Fondo transparente con un ligero desenfoque para mantener la estética */
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap; /* Permite que los enlaces se apilen en móvil */
  justify-content: center;
  align-items: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.footer-links a {
  /* Usar el mismo estilo dorado/texto que el resto de la página */
  color: var(--accent2) !important; 
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 1px;
  transition: color 0.2s;
  /* Usamos un text-shadow más sutil para el footer */
  text-shadow: 0 0 5px rgba(255, 200, 120, 0.6); 
}

.footer-links a:hover {
  color: var(--accent) !important;
  text-decoration: underline;
}

.copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 15px;
  display: block; /* Para que ocupe su propia línea */
}


/* --- Optimización Móvil (480px) --- */

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column; /* Apila los enlaces verticalmente */
        gap: 10px;
    }
    .footer-links a,
    .copyright {
        font-size: 0.8rem;
    }
    footer {
        padding: 20px 10px;
    }
}
/* ----------------------------- */
/* SECCIÓN DONACIONES (FILOSOFÍA)*/
/* ----------------------------- */

/* Estilo para la tarjeta de filosofía de apoyo */
.support-philosophy-card {
    border: 2px solid var(--accent); 
    box-shadow: var(--glow);
    animation: pulseGlow 4s infinite alternate; 
}
@keyframes pulseGlow {
    0% { box-shadow: 0 0 10px rgba(255, 180, 90, 0.6); }
    100% { box-shadow: 0 0 20px rgba(255, 180, 90, 1.0); }
}

/* ----------------------------- */
/* BOTONES DE APOYO Y GRIDS      */
/* ----------------------------- */

/* Estilos para el botón principal de suscripción */
.main-support-button {
    display: block;
    width: 80%;
    margin: 30px auto 10px;
    padding: 15px 25px;
    text-align: center;
    text-decoration: none;
    font-weight: 900;
    font-style: italic;
    font-size: 1.2rem;
    border-radius: 8px;
    background: var(--accent);
    color: #400; /* Texto oscuro sobre el fondo dorado */
    border: none;
    box-shadow: 0 0 20px rgba(255, 180, 90, 0.9); /* Resplandor intenso */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-support-button:hover {
    transform: scale(1.02);
    background: var(--accent2);
    box-shadow: 0 0 30px rgba(255, 180, 90, 1.0); 
}

/* Diseño de cuadrícula para los beneficios de Sub */
.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
    padding: 10px;
    border: 1px dashed rgba(255, 180, 90, 0.3);
    border-radius: 10px;
}

.beneficios-grid div {
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-left: 3px solid var(--accent);
    border-radius: 5px;
}

.beneficios-grid h3 {
    color: var(--accent);
    margin-top: 0;
    font-size: 1.1rem;
    font-style: italic;
}

/* Estilos para Tablas (Bits) */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  background-color: rgba(0, 0, 0, 0.4); 
  border: 1px solid var(--accent);
  box-shadow: 0 0 5px var(--accent);
}

table thead tr {
    background-color: rgba(255, 180, 90, 0.2); 
}

table th, table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
}

table th {
  color: var(--accent2);
  font-weight: bold;
}

table tr:hover {
  background-color: rgba(255, 180, 90, 0.05);
}

/* BOTÓN STREAMLOOTS */
.streamloots-button {
    display: block;
    width: 70%;
    margin: 25px auto 10px;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 6px;
    background: #5021a8; /* Púrpura */
    color: #fff; 
    border: 2px solid #a07eff;
    box-shadow: 0 0 15px #a07eff; 
    transition: transform 0.3s ease, background 0.3s ease;
}

.streamloots-button:hover {
    transform: translateY(-2px); 
    background: #6c35c4;
    box-shadow: 0 0 25px #a07eff;
}

/* Ajuste Móvil */
@media (max-width: 600px) {
    .main-support-button {
        width: 100%;
        font-size: 1rem;
        padding: 12px 20px;
    }
    .beneficios-grid {
        grid-template-columns: 1fr; 
        gap: 15px;
    }
    .streamloots-button {
        width: 90%;
    }
}
.astra-model-image {
    width: 300px; 
    height: auto;
    border-radius: 12px;
    border: 3px solid var(--accent);
    box-shadow: 0 0 15px var(--accent2);
    
    /* Esta es la clave para que el texto la rodee */
    float: right; 
    /* Deja un margen de 25px a la izquierda para que el texto no se pegue */
    margin: 0 0 15px 25px; 
}

/* Y esto es para que se centre en móviles */
@media (max-width: 768px) {
    .astra-model-image {
        float: none; 
        display: block;
        width: 80%;
        margin: 15px auto 25px auto;
}
/* ¡¡SOLUCIÓN DEFINITIVA!! */
.donadores-carrusel {
  overflow: visible !important;   /* Permite que el carrusel se salga de la tarjeta */
  padding-bottom: 30px;           /* Un poco de espacio extra abajo para que no se corte */
}

.carrusel-wrapper {
  overflow: hidden;               /* Este sí lo mantiene (el que recorta el movimiento) */
  border-radius: 16px;            /* Opcional: para que el fade de bordes quede bonito */
}












































