@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');

body {
    background: linear-gradient(to bottom, #7a0140, #2a023d) fixed no-repeat !important;
    font-family: 'Special Elite';
    color: aliceblue;
    font-size: 20px;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    min-height: 100vh;
}

html {
    overscroll-behavior: none;
}

.navbar {
    color: white;
    display: flex !important;
    text-align: center !important;
    align-items: center !important;
    width: 100% !important;
    position: fixed !important; /* Fija la navbar en la parte superior */
    top: 0;
    left: 0;
    z-index: 1000; /* Asegura que esté sobre otros elementos */
    background: rgba(39, 0, 36, 0.863); /* Transparente inicialmente */
}

.navbar-toggler-icon {
    filter: invert(100%); /* Invierte los colores, útil para cambiar de negro a blanco */
}


.nav-link {
    color: white !important;
}

.nav-link:hover {
    color: #d1a3ff !important;
}

.rounded-circle {
    border: 3px solid white;
    size: 200px;
}

.hero-section {
    text-align: center;
    padding: 120px 0px 0px 0px;
}

.link {
    color: white !important;
}

.link:hover {
    color: #d1a3ff !important;
}

.footer {
    color: white;
    padding: 20px 0; /* Espaciado */
    bottom: 0;
    width: 100%;
    text-align: center !important;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-links li {
    display: inline;
    margin: 0 15px; /* Espaciado entre los íconos */
}

.social-icon {
    color: white;
    text-decoration: none;
    font-size: 40px;
}

.social-icon:hover {
    color: #d1a3ff; /* Color cuando se pasa el ratón */
}

.popup {
    visibility: hidden;
    min-width: 150px;
    margin-left: -125px;
    margin-top: -125px;
    background-color: #0e0116cc;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 15px;
    opacity: 0;
    transition: opacity 0.5s, visibility 0.5s;
    border-radius: 12px;
}

.popup.show {
    visibility: visible;
    opacity: 1;
}

/* Estilos para el botón de cerrar */
.close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 22px;
    cursor: pointer;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ad-column {
    padding: 15px;
    position: sticky;
    top: 20px;
    height: 100vh;
}

@media (max-width: 767.98px) {
    .ad-column {
        display: none !important;
    }
}

/* Estilos existentes del popup (los mantengo por si acaso) */
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    z-index: 1000;
    display: none;
}

.popup.show {
    display: block;
    animation: fadeInOut 3s ease-in-out;
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}

#preloader {
    background-color: #17051f; 
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease;
}

.spinner {
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid #d1a3ff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
