/* CONFIGURACIÓN GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    font-family: 'Outfit', sans-serif;
    color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
}

/* FONDOS */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

#bgVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.viewport {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* AJUSTE: Reducido de 2vh a 0.5vh para subir el logo al límite superior */
    padding-top: 0.5vh;
    padding-bottom: 20px;
}

/* HEADER Y LOGO CON AURA ÉPICA (GUARDADO) */
.header {
    text-align: center;
    margin-bottom: 10px;
}

/* Reducido ligeramente para compactar */
.logo {
    width: 280px;
    margin-bottom: 8px;
    position: relative;
    z-index: 5;
    filter: drop-shadow(0 0 15px rgba(255, 170, 0, 0.8)) drop-shadow(0 0 30px rgba(255, 100, 0, 0.5));
    animation: aura-glow 3s infinite alternate ease-in-out;
}

@keyframes aura-glow {
    0% {
        filter: drop-shadow(0 0 15px rgba(255, 107, 0, 0.7));
        transform: scale(1);
    }

    100% {
        filter: drop-shadow(0 0 40px rgba(204, 85, 0, 0.7));
        transform: scale(1.02);
    }
}

.tagline {
    font-size: 11px;
    letter-spacing: 3px;
    opacity: 0.7;
    text-transform: uppercase;
}

.main-title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    margin: 8px 0;
}

.subtitle {
    font-size: 13px;
    opacity: 0.5;
    font-style: italic;
}

/* CONTENEDOR DE CAJONES - ANCHO MAESTRO */
.container {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 98%;
    max-width: 1550px;
    /* AJUSTE: Reducido de 15px a 5px para que los cajones sigan al título de cerca */
    margin-top: 5px;
}

.card {
    flex: 1;
    max-width: 460px;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px 30px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

/* --- EFECTO ZOOM CONTROLADO --- */
.card:hover {
    transform: translateY(-12px) scale(1.03);
    z-index: 10;
    background: rgba(15, 15, 25, 0.95);
}

.card.classic:hover,
.card.extreme:hover {
    box-shadow: 0 0 40px rgba(255, 107, 0, 0.35);
}

/* IDENTIDAD VISUAL POR SERVIDOR */
.classic {
    border-top: 4px solid #ff6b00;
}

.extreme {
    border-top: 4px solid #ff6b00;
}

.header-card {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.icon {
    font-size: 20px;
}

/* TAMAÑOS DE TEXTO (CONFIGURACIÓN MAESTRA) */
.title-server {
    font-size: 1.2rem !important;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.classic .title-server,
.extreme .title-server {
    color: #ff6b00;
    text-shadow: 0 0 8px rgba(255, 107, 0, 0.4);
}

.description {
    font-size: 12px;
    opacity: 0.8;
    line-height: 1.4;
    margin-bottom: 15px;
    height: 40px;
}

/* ESTADÍSTICAS */
.grid-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.04);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-item span {
    display: block;
    font-size: 9px;
    opacity: 0.6;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.stat-item strong {
    font-size: 16px !important;
}

.classic .stat-item strong,
.extreme .stat-item strong {
    color: #ff6b00;
}

/* ONLINE STATUS */
.online-tag {
    background: rgba(0, 255, 100, 0.05);
    padding: 6px;
    border-radius: 6px;
    font-size: 12px;
    text-align: center;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 255, 100, 0.1);
}

.green {
    color: #00ff64;
    font-weight: bold;
}

/* LISTA DE CARACTERÍSTICAS */
.feature-list {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.feature-list ul {
    list-style: none;
}

.feature-list li {
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 5px;
}

/* BOTONES */
.btn-play {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    font-size: 13px;
    transition: 0.3s;
    letter-spacing: 1px;
}

.premium-btn {
    background: linear-gradient(135deg, #ff6b00, #cc5500);
    color: #fff;
    border: 1px solid #ff6b00;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.4);
}

.premium-btn:hover {
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.7);
    color: #fff;
}

/* BADGES */
.badge {
    position: absolute;
    top: -10px;
    right: 15px;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 9px;
    font-weight: bold;
}

.premium-orange {
    background: #ff6b00;
    color: #fff;
    box-shadow: 0 0 8px rgba(255, 107, 0, 0.6);
}

/* TEXTO LEGAL */
.legal {
    margin-top: auto;
    padding: 20px 0;
    font-size: 12px;
    opacity: 0.4;
    letter-spacing: 0.5px;
    text-align: center;
}

/* RESPONSIVO */
@media (max-width: 1200px) {
    .container {
        width: 95%;
        gap: 15px;
    }

    .card {
        padding: 20px;
    }

    .title-server {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 768px) {

    body,
    .viewport {
        height: auto;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .viewport {
        padding-top: 20px;
        padding-bottom: 20px;
        justify-content: flex-start;
    }

    .logo {
        width: 140px;
    }

    .main-title {
        font-size: 1.4rem;
        padding: 0 10px;
    }

    .container {
        flex-direction: column;
        width: 90%;
        margin-top: 20px;
        align-items: center;
    }

    .card {
        width: 100%;
        max-width: 400px;
        margin-bottom: 15px;
    }

    /* Desactivar efectos hover exagerados en tactil */
    .card:hover {
        transform: scale(1.01);
        transform: translateY(-5px);
    }

    .legal {
        position: relative;
        bottom: auto;
        margin-top: 20px;
        padding: 20px;
    }
}