/* --- Importar fuentes --- */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;700&family=Roboto+Mono:wght@400;700&family=Cormorant+Garamond:wght@400;700&display=swap');

/* --- Variables de color --- */
:root {
    --color-principal: #8c4dff;
    --color-secundario: #e91e63;
    --color-acento: #f0f0f0;
    --color-texto: #fff;
    --color-texto-oscuro: #000;
    --color-blanco: #fff;
    --color-sombra: rgba(0, 0, 0, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.2); /* Opacidad aumentada */
    --glass-borde: rgba(255, 255, 255, 0.2);
    font-size: 16px;
}

/* --- Estilos Generales --- */
body {
    font-family: 'Roboto Mono', monospace;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #280a51, #3d1768);
    color: var(--color-texto);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Fondo de Partículas --- */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* --- Contenedor Principal --- */
.card-container {
    width: 95%;
    max-width: 450px;
    position: relative;
    z-index: 1;
}

/* --- Estilos de la Tarjeta --- */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-borde);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    text-align: center;
    /* Sin transición */
    transition: none;
    border-radius: 0.938rem;
}

.card:hover {
    transform: scale(1.03);
    filter: brightness(0.9);
    box-shadow: 0 12px 48px 0 rgba(31, 38, 135, 0.5);
}

/* --- Contenedor de la Imagen --- */
.card-img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1.25rem;
}

.card-img-top {
    max-width: 60%;
    border: 0.25rem solid var(--color-blanco);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.3);
}

/* --- Títulos y Texto --- */
.card-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.3125rem;
    color: var(--color-blanco);
    text-shadow: 0px 4px 3px rgba(0,0,0,0.4),
                 0px 8px 13px rgba(0,0,0,0.1),
                 0px 18px 23px rgba(0,0,0,0.1);
}

.title {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-blanco);
    margin-bottom: 0.3125rem;
    text-shadow: 0px 4px 3px rgba(0,0,0,0.4),
                 0px 8px 13px rgba(0,0,0,0.1),
                 0px 18px 23px rgba(0,0,0,0.1);
}

.slogan {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--color-blanco);
    margin-bottom: 1rem;
    font-style: italic;
    text-shadow: 0px 4px 3px rgba(0,0,0,0.4),
                 0px 8px 13px rgba(0,0,0,0.1),
                 0px 18px 23px rgba(0,0,0,0.1);
}

.description {
    font-size: 1.05rem;
    color: var(--color-blanco);
    text-shadow: 0px 4px 3px rgba(0,0,0,0.4),
                 0px 8px 13px rgba(0,0,0,0.1),
                 0px 18px 23px rgba(0,0,0,0.1);
}

/* --- Botones Sociales (CTA) --- */
.social-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.btn-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--color-blanco);
    font-size: 1.1rem;
    transition:  transform 0.2s ease, color 0.3s ease, filter 0.3s ease;
    min-width: 8rem;
    padding: 0.7rem 1.4rem;
}

.btn-social i {
    margin-right: 0.5rem;
    font-size: 1.6rem;
}

/* --- Colores Específicos de los Botones --- */
.btn-social.twitch { background-color: #9146ff; }
.btn-social.tiktok { background-color: #000; }
.btn-social.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.btn-social.twitter { background-color: #1da1f2; }
.btn-social.youtube { background-color: #ff0000; }

/* WhatsApp y Discord con sus colores */
.btn-social.whatsapp {
    background-color: #25D366; /* Verde de WhatsApp */
}

.btn-social.discord {
    background-color: #7289DA; /* Azul de Discord */
}

/* --- Efecto Hover y Animación (Delineado) --- */
.btn-social:hover {
     filter: brightness(0.8);
    transform: scale(1.1);
    cursor: pointer;
    color: white;
    outline: 2px solid var(--color-blanco);
    outline-offset: 2px;
}

/* Animación de "latido" (opcional) */
.btn-social {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* --- Animaciones de Entrada --- */
.animate-pop-in {
    opacity: 0;
    transform: translateY(20px);
    animation: pop-in 0.6s forwards;
}

.animate-slide-in {
    opacity: 0;
    transform: translateX(-20px);
    animation: slide-in 0.8s forwards;
    animation-delay: 0.3s;
}

/*Retraso a los botones*/
.social-buttons.btn-social:nth-child(1){animation-delay: 0.2s}
.social-buttons.btn-social:nth-child(2){animation-delay: 0.3s}
.social-buttons.btn-social:nth-child(3){animation-delay: 0.4s}
.social-buttons.btn-social:nth-child(4){animation-delay: 0.5s}
.social-buttons.btn-social:nth-child(5){animation-delay: 0.6s}

@keyframes pop-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1;  transform: translateY(0); }
}

@keyframes slide-in {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 1.25rem 0;
    color: var(--color-blanco);
    width: 100%;
    position: fixed;
    bottom: 0;
    z-index: 1;
}

/* --- Media Query para Evitar Superposición --- */
@media (max-height: 650px) {
    footer {
        position: static;
        margin-top: 2rem;
    }

   .container{
        padding-bottom: 0;
        margin-bottom:0;
    }
}