body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Minecraft';
    src: url('fonts/Minecraft.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MinecraftBold';
    src: url('fonts/MinecraftBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Minecrafter';
    src: url('fonts/Minecrafter.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.container-texto {
    position: relative;
    width: 800px;
    height: 50px;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    box-shadow: 0 0 10px black;
    z-index: 1;
    color: white;
    font-family: 'MinecraftBold';
    margin-bottom: 25px;
}

.container-texto h1 {
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.685);
    margin: 0;
}

.container-texto h1 span {
    color: #52B1FF;
    background-image: linear-gradient(45deg, #52B1FF , #8F8FFF 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    text-shadow: none; 
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.685));
}

/* CAJA PRINCIPAL */
.container {
    position: relative;
    width: 800px;
    height: 700px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    box-shadow: 0 0 10px black;
    z-index: 1;
    
    display: flex;
    flex-direction: column; 
}

.container h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 20px;
    
    font-family: Minecraft;
    color: #CCE8FF;
    background-image: linear-gradient(90deg, #ffffff 0%, #e3b9ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none; 
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 1));
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    width: 100vw; 
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
}

@media (orientation: portrait) {
    .video-background iframe {
        width: 177.78vh !important;
        height: 100vh !important;
    }
}

.references {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 0 auto;
    max-width: 600px;
    justify-items: center;
    align-items: center;
    padding-top: 20px;
}

.votos {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 750px;
}

.reference-item {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 10px black;
    width: 82%;
    transition: all 0.5s;
    border: 2px solid transparent;
}

.header-ref {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.reference-item img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease; 
}

.reference-item h3 {
    font-family: Minecrafter, sans-serif;
    color: white;
    font-size: 30px;
    margin: 0;
}

.reference-item p {
    font-family: Inter, sans-serif;
    color: white;
    font-size: 14px;
    margin-top: 0;
}

.references a {
    text-decoration: none;
}

.reference-item:hover {
    transform: scale(1.05);
    border-color: #52B1FF;
    box-shadow: 0 0 15px rgba(82, 177, 255, 0.4);
    border-radius: 10px;
}

.minecraft-p {
    font-family: Minecraft, sans-serif;
    color: white;
    font-size: 15px;
    text-align: center;
    max-width: 600px;
    margin: 50px auto;
}