:root {
    --fondo-url: url("assets/bg.png");
    --logo-url: url("assets/logoecl.png");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.9)), var(--fondo-url) no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #f0e6d2;
    font-family: 'Gloock', serif;
    overflow: hidden;
}

.notification {
    position: absolute;
    top: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px #000;
    font-size: 1.2em;
    animation: fadeInOut 8s infinite;
}

.oculto {
  display: none;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    10% {
        opacity: 1;
        transform: translateY(0);
    }

    90% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

h1 {
    font-size: 3em;
    text-shadow: 0 0 10px #fff4c4;
    margin-bottom: 0.5em;
}

p {
    font-size: 1.3em;
    margin-bottom: 2em;
    color: #d6c8a0;
    text-shadow: 0 0 5px #000;
}

.loading-bar {
    position: relative;
    width: 400px;
    height: 20px;
    border: 2px solid #f0e6d2;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 5vh;
    background-color: rgba(0, 0, 0, 0.4);
}

.loading-fill {
    position: absolute;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ffcc00, #f2e88b);
    animation: fillBar 10s linear infinite;
}

@keyframes fillBar {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

.logo {
    width: 120px;
    margin-bottom: 1.5em;
    filter: drop-shadow(0 0 5px #fff);
    background-image: var(--logo-url);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 120px;
    width: 120px;
}

.player {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    padding: 15px;
    width: 240px;
    color: #fff;
    font-family: sans-serif;
    box-shadow: 0 0 10px #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ffcc00;
    animation: pulse 4s infinite;
}

.image-container {
    width: 200px;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0 0 8px #000;
}

.image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
}

.controls button {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.controls button:hover {
    transform: scale(1.2);
}

.controls svg {
    width: 24px;
    height: 24px;
    stroke: #ffcc00;
    stroke-width: 2;
    fill: none;
}

.volume {
    width: 100%;
    margin-top: 10px;
}

.volume input[type="range"] {
    width: 100%;
    height: 5px;
    background: #777;
    border-radius: 5px;
    appearance: none;
    outline: none;
}

.volume input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    background: #ffcc00;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.staff {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.75);
    border-radius: 20px;
    padding: 20px;
    width: 280px;
    color: #fff;
    font-family: sans-serif;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    border: 1px solid #ffcc00;
    animation: pulse 4s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 20px #ffcc00;
    }

    50% {
        box-shadow: 0 0 10px #000;
    }
}

.staff h3 {
    margin-bottom: 10px;
    text-align: center;
}

.staff-member {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    border-radius: 10px;
    box-shadow: inset 0 0 5px #000;
}

.staff-member img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 5px #000;
}