* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    
    background-color: #000;
    min-height: 100%;

}

body {

    background-color: #000;

    background-image: url('../img/background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: white;

    min-height: 100dvh;

    position: relative;
}

.container {

    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;

}

.logo img {

    width: 320px;
    max-width: 80vw;
    height: auto;

    margin-bottom: 20px;

    animation: aparecerLogo 0.8s ease-out;

}
.server-info {

    margin-top: 20px;

}

.status {

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    font-size: 24px;
    font-weight: 600;

    animation: aparecerSuave 0.8s ease-out 0.3s;

}

.status-dot {

    width: 12px;
    height: 12px;

    background: #38d66b;
    border-radius: 50%;

    box-shadow: 0 0 12px rgba(56, 214, 107, 0.8);

    animation: pulso 1.8s infinite;

}

.status-dot.offline {
    
    background: #ff3b3b;
    box-shadow: 0 0 12px rgba(255, 59, 59, 0.8);
    animation: pulsoRojo 1.8s infinite;
}

.players {

    font-size: 20px;
    margin-top: 10px;

    animation: aparecerSuave 0.8s ease-out 0.5s both;
    
}

.ip {

    margin-top: 12px;

    color: white;
    background: transparent;
    border: none;

    font-size: 18px;
    font-weight: 500;

    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease;

    animation: aparecerSuave 0.8s ease-out 0.6s both;

}

.ip:hover {

    opacity: 0.8;
    transform: scale(1.03);

}

.ip i {

    margin-right: 8px;

}

.buttons {

    display: flex;
    gap: 20px;
    justify-content: space-evenly;
    margin-top: 40px;
    margin-bottom: 60px;

    animation: aparecerSuave 0.8s ease-out 0.7s both;
}

.btn {

    text-decoration: none;
    color:white;

    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);

    padding: 20px 48px;
    min-width: 190px;

    font-size: 18px;
    font-weight: 600;

    border-radius: 14px;

    backdrop-filter: blur(12px);
    transition: all 0.25s ease;

}

.btn:hover {

    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-5px);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.30),
        0 0 20px rgba(255, 255, 255, 0.15);

}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 0;
}

.btn i {
    
    margin-right: 5px;

}

.footer {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    font-weight: 400;
    z-index: 2;
    white-space: nowrap;
}

@keyframes aparecerLogo {
    from {
        opacity: 0;
        transform: translateY(-25px) scale(0.90);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes aparecerSuave {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes pulso {

    0% {
        box-shadow: 0 0 0 0 rgba(56, 214, 107, .7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(56, 214, 107, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(56, 214, 107, 0);
    }

}

@keyframes pulsoRojo {

    0% {
        box-shadow: 0 0 0 0 rgba(255, 59, 59, .7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 59, 59, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 59, 59, 0);
    }

}

@media (max-width: 768px) {
    body {
        min-height: 100vh;
        overflow: auto;
        padding: 30px 15px;
       }

    .container {
        width: 100%;
        padding: 20px;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 320px;
        min-width: auto;
    }
    .footer {
        position: relative;
        width: 100%;
        margin-top: 40px;
        padding-bottom: 20px;
        text-align: center;
        font-size: 12px;
        white-space: normal;
        overflow: visible;
    }
}