/* ===================================================
   Radio Club de Chile - Estilos Globales
   =================================================== */

/* Glass Effect Styles */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Gradient Text */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #0284c7, #0ea5e9);
}

/* Audio Player Styling (for historia.html) */
audio {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* ===================================================
   Tema Navideño Veraniego (Sin nieve)
   =================================================== */

/* Guirnalda de Luces Superior */
.christmas-lights {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 9999;
    pointer-events: none;
    overflow: hidden;
}

.lights-wire {
    position: absolute;
    top: 15px;
    left: -50px;
    right: -50px;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(184, 134, 11, 0.3) 20%,
            rgba(184, 134, 11, 0.3) 80%,
            transparent 100%);
}

.light {
    position: absolute;
    width: 12px;
    height: 16px;
    border-radius: 0 0 50% 50%;
    top: 8px;
    animation: twinkle 3s infinite;
}

.light::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #8B7355;
    border-radius: 50%;
}

.light::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid currentColor;
    opacity: 0.3;
    filter: blur(4px);
}

.light:nth-child(1) {
    left: 5%;
    background: #FFD700;
    animation-delay: 0s;
}

.light:nth-child(2) {
    left: 12%;
    background: #DC143C;
    animation-delay: 0.5s;
}

.light:nth-child(3) {
    left: 19%;
    background: #228B22;
    animation-delay: 1s;
}

.light:nth-child(4) {
    left: 26%;
    background: #FF6347;
    animation-delay: 1.5s;
}

.light:nth-child(5) {
    left: 33%;
    background: #FFD700;
    animation-delay: 0.3s;
}

.light:nth-child(6) {
    left: 40%;
    background: #32CD32;
    animation-delay: 0.8s;
}

.light:nth-child(7) {
    left: 47%;
    background: #DC143C;
    animation-delay: 1.3s;
}

.light:nth-child(8) {
    left: 54%;
    background: #FFD700;
    animation-delay: 0.6s;
}

.light:nth-child(9) {
    left: 61%;
    background: #228B22;
    animation-delay: 1.1s;
}

.light:nth-child(10) {
    left: 68%;
    background: #FF6347;
    animation-delay: 1.6s;
}

.light:nth-child(11) {
    left: 75%;
    background: #32CD32;
    animation-delay: 0.4s;
}

.light:nth-child(12) {
    left: 82%;
    background: #DC143C;
    animation-delay: 0.9s;
}

.light:nth-child(13) {
    left: 89%;
    background: #FFD700;
    animation-delay: 1.4s;
}

.light:nth-child(14) {
    left: 96%;
    background: #228B22;
    animation-delay: 0.2s;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 1;
        filter: brightness(1) drop-shadow(0 0 4px currentColor);
    }

    50% {
        opacity: 0.4;
        filter: brightness(0.6) drop-shadow(0 0 2px currentColor);
    }
}

/* Decoraciones Flotantes Navideñas Veraniegas */
.floating-decorations {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.decoration {
    position: absolute;
    font-size: 24px;
    opacity: 0.6;
    animation: float 15s infinite ease-in-out;
}

.decoration:nth-child(1) {
    left: 10%;
    animation-duration: 12s;
    animation-delay: 0s;
}

.decoration:nth-child(2) {
    left: 25%;
    animation-duration: 18s;
    animation-delay: 2s;
}

.decoration:nth-child(3) {
    left: 45%;
    animation-duration: 15s;
    animation-delay: 4s;
}

.decoration:nth-child(4) {
    left: 65%;
    animation-duration: 20s;
    animation-delay: 1s;
}

.decoration:nth-child(5) {
    left: 80%;
    animation-duration: 16s;
    animation-delay: 3s;
}

.decoration:nth-child(6) {
    left: 90%;
    animation-duration: 14s;
    animation-delay: 5s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Partículas de Brillo*/
.sparkles {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #FFD700;
    border-radius: 50%;
    animation: sparkle-animation 3s infinite;
    box-shadow: 0 0 6px #FFD700;
}

.sparkle:nth-child(odd) {
    background: #FFA500;
    box-shadow: 0 0 6px #FFA500;
}

.sparkle:nth-child(3n) {
    background: #FF6347;
    box-shadow: 0 0 6px #FF6347;
}

@keyframes sparkle-animation {

    0%,
    100% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Ajuste del fondo para tema navideño veraniego */
.festive-bg {
    background: linear-gradient(135deg,
            #FFF8DC 0%,
            #FFE4B5 25%,
            #FFDEAD 50%,
            #FFE4B5 75%,
            #FFF8DC 100%);
}

/* Acento dorado festivo para el header */
.festive-header-glow {
    box-shadow:
        0 4px 20px rgba(255, 215, 0, 0.1),
        0 0 40px rgba(255, 140, 0, 0.05);
}