
/* ================== RESET ================== */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    min-height: 100vh;
}


/* ================== BODY ================== */
body {
    font-family: Arial, sans-serif;
    color: white;

    background-image: url('../assets/img/bg.jpg');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;

    display: flex;
    flex-direction: column;
    min-height: 100vh;
     /* Escalar la web */
    transform: scale(0.80); /* 0.9 = 90% del tamaño original */
    transform-origin: top center; /* punto de referencia para el escalado */
    margin-top: 241px;
}

/* ================== HERO ================== */
.hero {
    width: 100%;
    height: 350px;
    position: relative;
    background: transparent;
}

/* Logo central */
.logo {
    width: 900px;
    position: absolute;
    top: -280px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* Título */
.hero-title {
    position: absolute;
    top: 150px;
    width: 100%;
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    z-index: 2;
}

.hero-title span {
    color: #f5ea00;
}

/* ================== SERVERS ================== */
.servers-container {
    width: 100%;
    max-width: 900px;
    margin: 350px auto 50px auto;
    display: flex;
    justify-content: center;
    gap: 30px;
}

/* Card del server */
.server-card {
    width: 45%;
    text-align: center;
    background: rgb(0 0 0 / 71%);
    padding: 22px;
    border-radius: 15px;
    box-shadow: 0 0 25px #bd090930;
    transition: 0.25s;
    
}

.server-card:hover {
    transform: scale(1.10);
    box-shadow: 0 0 25px #0008ff9a;
}

.server-card h2 {
    text-align: center;
    background: linear-gradient(to right, #d53232, #4a68ff);
    color: black;
    padding: 10px;
    border-radius: 12px;
    font-weight: bold;
    margin-bottom: 15px;
}

.server-card p {
    margin: 8px 0;
}

/* Estado */
.online { color: #00ff80; }
.players { color: #00ffea; font-weight: bold; }

/* ================== BOTONES ================== */
.btn-enter, .btn-discord {
    position: relative;
    display: block;
    text-align: center;
    padding: 12px;
    margin-top: 15px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    overflow: hidden;
    transition: 0.25s;
}

.btn-enter {
    background: linear-gradient(to right, #4f0e91, #7b23d1);
    box-shadow:
        0 0 12px rgba(160,0,255,0.4),
        0 0 25px rgba(200,0,255,0.35);
}

.btn-enter:hover {
    transform: scale(1.07);
    box-shadow:
        0 0 20px rgba(160,0,255,0.7),
        0 0 35px rgba(200,0,255,0.55);
    filter: brightness(1.18);
}

.btn-discord {
    background: linear-gradient(to right, #4c5df5, #7289ff);
    box-shadow:
        0 0 12px rgba(88,101,242,0.35),
        0 0 25px rgba(88,101,242,0.25);
    margin-top: 12px;
}

.btn-discord:hover {
    transform: scale(1.07);
    box-shadow:
        0 0 20px rgba(88,101,242,0.7),
        0 0 35px rgba(88,101,242,0.55);
    filter: brightness(1.18);
}

/* Brillo de botones */
.btn-enter::before, .btn-discord::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
    transform: skewX(-25deg);
    transition: 0.55s;
}

.btn-enter:hover::before,
.btn-discord:hover::before {
    left: 130%;
}

/* ================== FOOTER ================== */
.footer {
    text-align: center;
    padding: 20px;
    color: #bbb;
    font-size: 14px;
    margin-top: auto;
}
