/* ================================================
   ESTILOS BASE Y VARIABLES - TEMA ROJO CÁLIDO
   ================================================ */
:root {
    --bg-gradient: linear-gradient(180deg, #1a0505 0%, #0a0000 100%);
    --color-primary: #cc0000;       /* Rojo más intenso */
    --color-primary-glow: rgba(204, 0, 0, 0.6);
    --color-secondary: #ff3333;     /* Rojo más brillante */
    --color-dark-card: #1c0a0a;
    --text-main: #ffffff;
    --text-muted: #d4b8b8;
    --profile-border: linear-gradient(135deg, #ff3333, #cc0000);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-gradient);
    background-size: 200% 200%;
    animation: gradientShift 15s ease-in-out infinite alternate;
    color: var(--text-main);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

@keyframes gradientShift {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

/* ================================================
   SPOTLIGHT GLOBAL - LUZ MÁS ROJA
   ================================================ */
.spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(
        circle 500px at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(204, 0, 0, 0.25) 0%,
        rgba(180, 0, 0, 0.12) 40%,
        rgba(120, 0, 0, 0.05) 70%,
        transparent 100%
    );
    transition: background 0.15s ease-out;
    mix-blend-mode: screen;
}

/* ================================================
   CANVAS DE PARTÍCULAS (fondo)
   ================================================ */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ================================================
   CONTENIDO PRINCIPAL
   ================================================ */
main {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;           /* Quitamos el margin-top de 20px */
    padding: 20px 20px 40px;  /* Solo padding lateral e inferior */
    box-sizing: border-box;
}

/* ================================================
   GRID DE PERFILES
   ================================================ */
.creadoras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

/* ================================================
   CARD INDIVIDUAL
   ================================================ */
.card {
    background: var(--color-dark-card);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(204, 0, 0, 0.3);
    perspective: 1200px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease,
                background-color 0.4s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 18px 12px;
    box-sizing: border-box;
}

/* Destello láser (rojo) */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 50, 50, 0.1) 20%,
        rgba(255, 80, 80, 0.3) 50%,
        rgba(255, 50, 50, 0.1) 80%,
        transparent
    );
    transform: skewX(-25deg);
    pointer-events: none;
    transition: none;
}

/* Brillo local que sigue al mouse (más rojo) */
.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(
        circle 180px at var(--mouse-x-card, 50%) var(--mouse-y-card, 50%),
        rgba(204, 0, 0, 0.25) 0%,
        rgba(180, 0, 0, 0.12) 40%,
        transparent 80%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}
.card:hover .card-glow {
    opacity: 1;
}

/* ================================================
   WRAPPER DE LA IMAGEN (efecto pulso)
   ================================================ */
.perfil-img-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    max-width: 100px;
    max-height: 100px;
    flex-shrink: 0;
    margin: 6px auto 18px auto;
    border-radius: 50%;
    padding: 4px;

    transform-style: preserve-3d;
    transition: box-shadow 0.4s ease;
    z-index: 1;
}

/* Imagen de perfil */
.perfil-img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block;
    box-sizing: border-box;
    backface-visibility: hidden;
    transition: transform 0.3s ease;
}

/* ================================================
   CONTENIDO DE LA CARD
   ================================================ */
.card-content {
    padding: 4px 2px 0 2px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    z-index: 1;
}
.card-content h3 {
    color: #ffffff;
    font-size: 1rem;
    margin: 0 0 4px 0;
    font-weight: 700;
    line-height: 1.2;
    transition: color 0.3s ease;
}
.titulo {
    color: #ff5555;
    font-size: 0.75rem;
    margin: 0 0 4px 0;
    font-weight: 500;
}
.descripcion {
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.3;
    margin-bottom: 10px;
}
.btn-acceder {
    display: inline-block;
    background: linear-gradient(90deg, #cc0000, #ff3333);
    color: white;
    padding: 6px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 3px 15px rgba(204, 0, 0, 0.5);
    margin-top: auto;
    align-self: center;
}

/* ================================================
   KEYFRAMES DE ANIMACIONES (rojo neón)
   ================================================ */
@keyframes pulsoContinuo {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

@keyframes neonPulse {
    0% { box-shadow: 0 0 15px rgba(204, 0, 0, 0.4), 0 0 30px rgba(204, 0, 0, 0.2); }
    50% { box-shadow: 0 0 30px rgba(255, 50, 50, 0.8), 0 0 60px rgba(204, 0, 0, 0.5); }
    100% { box-shadow: 0 0 15px rgba(204, 0, 0, 0.4), 0 0 30px rgba(204, 0, 0, 0.2); }
}

/* ================================================
   HOVER (escritorio)
   ================================================ */
@media (hover: hover) {
    .card:hover {
        transform: translateY(-4px);
        background-color: #2c0f0f;
        box-shadow: 0 14px 35px rgba(204, 0, 0, 0.6), 0 0 50px rgba(204, 0, 0, 0.3);
        border-color: #cc0000;
        border-width: 2px;
    }
    .card:hover::before {
        left: 150%;
        transition: left 0.75s ease-in-out;
    }
    .card:hover .perfil-img-wrapper {
        animation: pulsoContinuo 2s ease-in-out infinite,
                   neonPulse 1.5s infinite alternate ease-in-out;
    }
    .card:hover .btn-acceder {
        filter: brightness(1.15);
        box-shadow: 0 0 30px rgba(204, 0, 0, 0.9);
        transform: scale(1.05);
    }
    .card:hover .card-content h3 {
        color: #ff5555;
    }
}

/* Toque en móviles */
.card:active .perfil-img-wrapper {
    animation: pulsoContinuo 0.7s ease-in-out forwards,
               neonPulse 1.5s infinite alternate ease-in-out;
}
.card:active .card-content h3 {
    color: #ff5555;
}

/* ================================================
   SECCIÓN DE ANUNCIO (rojo intenso)
   ================================================ */
.roster-announce {
    margin-top: 50px;
    padding: 30px 20px 20px;
    text-align: center;
    border-top: 2px solid rgba(204, 0, 0, 0.4);
    background: linear-gradient(180deg, rgba(28, 10, 10, 0.9) 0%, #0a0000 100%);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 35px rgba(204, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}
.roster-announce::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #cc0000, #ff3333, #cc0000, transparent);
    filter: blur(2px);
    opacity: 0.8;
    animation: borderGlow 3s ease-in-out infinite;
}
@keyframes borderGlow {
    0% { opacity: 0.5; transform: scaleX(0.9); }
    50% { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0.5; transform: scaleX(0.9); }
}
.roster-announce .tagline {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 6px;
}
.roster-announce .tagline strong {
    background: linear-gradient(90deg, #cc0000, #ff5555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}
.roster-announce .sub-text {
    font-size: 0.9rem;
    color: #d4b8b8;
    margin-bottom: 18px;
    letter-spacing: 1px;
}
.roster-announce .divider {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #cc0000, #ff3333);
    margin: 0 auto 18px;
    border-radius: 2px;
}
.roster-announce .copyright {
    font-size: 0.7rem;
    color: #9a7a7a;
    letter-spacing: 1px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 14px;
    margin-top: 6px;
}
.roster-announce .copyright span {
    color: #cc0000;
    font-weight: 600;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (min-width: 1024px) {
    .perfil-img-wrapper {
        width: 70px;
        height: 70px;
        max-width: 70px;
        max-height: 70px;
        margin: 8px auto 20px auto;
    }
    .card-content h3 {
        font-size: 0.95rem;
    }
    .titulo, .descripcion {
        font-size: 0.7rem;
    }
    .btn-acceder {
        font-size: 0.6rem;
        padding: 4px 14px;
    }
    .creadoras-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 14px;
    }
    .card {
        padding: 16px 10px;
    }
}

@media (max-width: 480px) {
    .perfil-img-wrapper {
        width: 60px;
        height: 60px;
        max-width: 60px;
        max-height: 60px;
        margin: 4px auto 14px auto;
    }
    .card-content h3 {
        font-size: 0.85rem;
    }
    .titulo, .descripcion {
        font-size: 0.65rem;
    }
    .btn-acceder {
        font-size: 0.55rem;
        padding: 4px 12px;
    }
    .creadoras-grid {
        gap: 10px;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    .card {
        padding: 12px 6px;
    }
}




