/* =========================================
   LSVAGOSTEAM PERFORMANCE EDITION v1.3
   Negro + Amarillo Gold + Glow (PC & Móvil)
   ========================================= */

:root {
    --bg: #0e0e0e;
    --card: #1a1a1a;
    --yellow: #ffd400; /* Amarillo Vagos Principal */
    --yellow-glow: rgba(255, 212, 0, 0.4); 
    --yellow-soft: #ffea70;
    --text: #ffffff;
    --muted: #bdbdbd;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

/* ===== CABECERA (LOGO + BARRA) ===== */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 10px;
    background: linear-gradient(180deg, #151515 0%, #0e0e0e 100%);
    border-bottom: 1px solid #222;
}

.logo-vagos {
    max-width: 120px;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 8px var(--yellow-glow));
}

h1 {
    text-align: center;
    color: var(--yellow);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 15px var(--yellow-glow);
}

/* ===== NAVEGACIÓN ===== */
.nav-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.nav-btn {
    background: transparent;
    color: var(--yellow);
    border: 1px solid var(--yellow);
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    text-transform: uppercase;
}

.nav-btn:hover, .nav-btn.active {
    background: var(--yellow);
    color: #000;
    box-shadow: 0 0 15px var(--yellow-glow);
}

/* ===== GALERIA & TARJETAS ===== */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px 40px;
}

.avatar {
    background: var(--card);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #222;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.avatar:hover {
    transform: translateY(-5px);
    border-color: var(--yellow);
    box-shadow: 0 0 20px var(--yellow-glow);
}

.avatar img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    border-radius: 8px;
    background: #000;
    border: 1px solid #333;
    margin-bottom: 10px;
}

.avatar p {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 12px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ===== BOTONES DE ACCIÓN (DENTRO DE CARD) ===== */
.card-buttons {
    display: flex;
    gap: 6px;
    width: 100%;
}

.copy-btn, .wa-btn-yellow {
    flex: 1;
    border-radius: 6px;
    padding: 10px 2px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    font-family: inherit;
    transition: 0.2s;
}

.copy-btn {
    background: var(--yellow);
    color: #000;
    border: none;
}

.copy-btn:hover {
    background: #fff;
}

.wa-btn-yellow {
    background: transparent;
    color: var(--yellow);
    border: 1px solid var(--yellow);
}

.wa-btn-yellow:hover {
    background: var(--yellow);
    color: #000;
}

/* ===== FOOTER LEGAL ===== */
.footer-legal {
    background: #0a0a0a;
    padding: 50px 20px;
    border-top: 1px solid #222;
    text-align: center;
}

.copyright {
    color: var(--yellow);
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.disclaimer {
    font-size: 11px;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =========================================
   📱 MÓVIL OPTIMIZADO
   ========================================= */
@media (max-width: 600px) {
    h1 { font-size: 20px; }
    
    .nav-btn {
        padding: 8px 12px;
        font-size: 11px;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en móvil para que se lean bien los nombres */
        gap: 10px;
        padding: 0 10px;
    }

    .avatar {
        padding: 10px;
        min-height: auto;
    }

    .avatar img {
        width: 80px;
        height: 80px;
    }

    .avatar p {
        font-size: 10px;
        -webkit-line-clamp: 1;
    }

    .copy-btn, .wa-btn-yellow {
        padding: 8px 2px;
        font-size: 9px;
    }
}

/* Pantallas súper pequeñas */
@media (max-width: 380px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}