/* Estilos para la animación de partículas en la sección de inicio */
.particle-animation-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.particle-animation-container canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Efecto glass sutil para móviles */
@media (max-width: 768px) {
    .particle-animation-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(1px);
        -webkit-backdrop-filter: blur(1px);
        z-index: 2;
        pointer-events: none;
    }
}

.particle-animation-container #ui {
    position: absolute;
    top: 15px;
    width: 100%;
    text-align: center;
    z-index: 100;
    pointer-events: none;
}

.particle-animation-container #info {
    font-size: 14px;
    padding: 10px 18px;
    background-color: rgba(25, 30, 50, 0.35);
    border-radius: 10px;
    display: inline-block;
    text-shadow: 0 0 5px rgba(0, 128, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.05);
    color: white;
    font-family: 'Courier New', monospace;
}

.particle-animation-container #loading {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: opacity 0.6s ease-out;
    color: white;
    font-family: 'Courier New', monospace;
}

.particle-animation-container #loading span {
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.particle-animation-container #progress-container {
    width: 60%;
    max-width: 300px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.particle-animation-container #progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00a2ff, #00ffea);
    transition: width 0.3s ease;
    border-radius: 3px;
}

.particle-animation-container #controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
    pointer-events: all;
    background-color: rgba(25, 30, 50, 0.4);
    padding: 15px 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.particle-animation-container button {
    background: rgba(0, 80, 180, 0.7);
    color: white;
    border: 1px solid rgba(0, 180, 255, 0.6);
    border-radius: 6px;
    padding: 8px 15px;
    margin: 0 8px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    transition: all 0.25s ease;
}

.particle-animation-container button:hover {
    background: rgba(0, 110, 220, 0.9);
    border-color: rgba(0, 210, 255, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 150, 255, 0.3);
}

.particle-animation-container #color-picker {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.particle-animation-container .color-option {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: inset 0 0 4px rgba(0,0,0,0.4);
}

.particle-animation-container .color-option:hover {
    transform: scale(1.15);
    border-color: rgba(255, 255, 255, 0.7);
}

.particle-animation-container .color-option.active {
    transform: scale(1.18);
    border-color: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}