/* ===== TSAPULGA - Estilos compartidos ===== */

:root {
    --rojo: #c8102e;
    --rojo-glow: rgba(200, 16, 46, 0.5);
    --negro: #0a0000;
    --negro2: #2e0404;
    --gris: #aaa;
    --card-bg: rgba(15, 15, 15, 0.85);
    --borde: #333;
}

* { box-sizing: border-box; }

body, html {
    margin: 0; padding: 0; min-height: 100%;
    font-family: 'Montserrat', sans-serif;
    background: radial-gradient(circle at center, var(--negro2) 0%, var(--negro) 100%);
    background-attachment: fixed;
    color: #fff;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

/* ===== NAVBAR ===== */
.navbar {
    position: sticky; top: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 6%;
    background: rgba(10, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 2px solid rgba(200, 16, 46, 0.3);
}

.logo {
    display: flex; align-items: center; gap: 10px;
    font-weight: 900; font-size: 1.6rem; letter-spacing: 1px;
    text-shadow: 0 0 15px var(--rojo-glow);
}
.logo span { color: var(--rojo); }
.logo img { width: 36px; height: 36px; border-radius: 50%; display: block; }

.nav-links { display: flex; gap: 32px; }
.nav-links a {
    font-weight: bold; text-transform: uppercase; font-size: 0.95rem; letter-spacing: 0.5px;
    padding: 6px 2px; border-bottom: 3px solid transparent; transition: color .2s, border-color .2s;
}
.nav-links a:hover { color: var(--rojo); }
.nav-links a.activo { color: var(--rojo); border-color: var(--rojo); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: #fff; border-radius: 2px; }

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; gap: 0;
        background: rgba(10, 0, 0, 0.97);
        border-bottom: 2px solid rgba(200, 16, 46, 0.3);
        max-height: 0; overflow: hidden; transition: max-height .3s ease;
    }
    .nav-links.abierto { max-height: 400px; }
    .nav-links a { padding: 16px 6%; border-bottom: 1px solid rgba(255,255,255,0.05); }
}

/* ===== HERO ===== */
.hero {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 100px 6% 70px;
}
.hero-titulo {
    font-size: clamp(2.6rem, 6vw, 4.5rem); font-weight: 900; text-transform: uppercase;
    text-shadow: 0 5px 25px var(--rojo-glow); margin: 0 0 14px; line-height: 1.05;
}
.hero-titulo span { color: var(--rojo); }
.hero-titulo.marca { text-transform: none; }
.hero-subtitulo { font-size: 1.15rem; color: var(--gris); letter-spacing: 2px; text-transform: uppercase; max-width: 700px; margin: 0 0 30px; }
.hero-texto { max-width: 640px; color: #ddd; line-height: 1.6; font-size: 1.05rem; }
.hero-mascota {
    width: 220px; margin: 10px 0 30px; border: 4px solid var(--rojo); border-radius: 16px;
    overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.7);
}
.hero-mascota img { width: 100%; display: block; }

/* ===== SOBRE MI ===== */
.sobre-mi-grid { display: flex; gap: 50px; align-items: center; justify-content: center; flex-wrap: wrap; max-width: 1000px; margin: 0 auto; }
.sobre-mi-img {
    width: 260px; flex-shrink: 0; border: 4px solid var(--rojo); border-radius: 16px;
    overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.7);
}
.sobre-mi-img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; display: block; }
.sobre-mi-texto { max-width: 480px; color: #ddd; line-height: 1.7; font-size: 1.05rem; }
.sobre-mi-texto p { margin: 0 0 16px; }
.sobre-mi-texto p:last-child { margin-bottom: 0; }

/* ===== EN VIVO ===== */
.en-vivo-grid { display: flex; gap: 40px; align-items: stretch; justify-content: center; flex-wrap: wrap; max-width: 1000px; margin: 0 auto; }
.en-vivo-player {
    flex: 1 1 480px; min-width: 280px; max-width: 600px; border: 4px solid var(--rojo); border-radius: 16px;
    overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.7);
}
.en-vivo-player iframe { width: 100%; height: 340px; display: block; border: 0; }
.en-vivo-horario {
    flex: 1 1 260px; max-width: 320px; background: var(--card-bg); border: 2px solid var(--borde);
    border-left: 6px solid var(--rojo); border-radius: 10px; padding: 26px; box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

/* ===== CINE (galeria) ===== */
.cine-card { cursor: pointer; padding: 16px; gap: 10px; }
.cine-thumb {
    position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000;
    border-radius: 6px; overflow: hidden; border: 1px solid var(--rojo);
}
.cine-thumb-video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s ease; }
.cine-thumb-video.visible { opacity: 1; }
.cine-play {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.8);
    background: rgba(0,0,0,0.15); transition: background .2s ease;
}
.cine-card:hover .cine-play { background: rgba(200,16,46,0.35); }

.cine-modal {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 200;
    align-items: center; justify-content: center; padding: 20px;
}
.cine-modal.abierto { display: flex; }
.cine-modal-contenido { position: relative; width: 100%; max-width: 1100px; }
.cine-modal-contenido video { width: 100%; max-height: 80vh; background: #000; border-radius: 8px; display: block; }
.cine-modal-contenido iframe { width: 100%; aspect-ratio: 16 / 9; max-height: 80vh; background: #000; border-radius: 8px; display: block; border: none; }
.cine-modal-titulo { color: #fff; font-weight: bold; text-align: center; margin-top: 12px; text-transform: uppercase; letter-spacing: .5px; }
.cine-cerrar {
    position: absolute; top: -44px; right: 0; background: none; border: none; color: #fff;
    font-size: 1.8rem; cursor: pointer; line-height: 1;
}
.cine-cerrar:hover { color: var(--rojo); }

/* ===== SECCIONES / TITULOS ===== */
.seccion { padding: 20px 6% 90px; max-width: 1200px; margin: 0 auto; }
.seccion-titulo {
    font-size: 2rem; font-weight: 900; text-transform: uppercase; letter-spacing: 1px;
    text-align: center; margin-bottom: 8px; text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}
.seccion-titulo span { color: var(--rojo); }
.seccion-subtitulo { text-align: center; color: var(--gris); margin-bottom: 45px; font-size: 1rem; }

/* ===== CARDS / GRID ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }

.card {
    background: var(--card-bg); border: 2px solid var(--borde); border-left: 6px solid var(--rojo);
    border-radius: 10px; padding: 28px 24px; box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; gap: 10px;
    min-width: 0;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(200,16,46,0.25); }
.card-titulo { font-size: 1.3rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.5px; overflow-wrap: anywhere; word-break: break-word; }
.card-texto { color: #bbb; line-height: 1.5; font-size: 0.95rem; flex-grow: 1; overflow-wrap: anywhere; word-break: break-word; }

/* ===== BOTONES ===== */
.btn {
    display: inline-block; background: var(--rojo); color: #fff; font-weight: bold;
    text-transform: uppercase; letter-spacing: 0.5px; padding: 12px 26px; border-radius: 8px;
    border: 1px solid #ff4d4d; box-shadow: 0 0 15px rgba(200,16,46,0.4);
    transition: transform .15s ease, box-shadow .15s ease; text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 25px rgba(200,16,46,0.7); }
.btn-outline { background: transparent; border: 2px solid var(--rojo); box-shadow: none; }
.btn-outline:hover { background: rgba(200,16,46,0.15); }

/* ===== BADGE ===== */
.badge {
    display: inline-block; font-size: 0.75rem; font-weight: 900; text-transform: uppercase;
    letter-spacing: 1px; padding: 4px 12px; border-radius: 20px; background: var(--rojo); color: #fff;
}
.badge-outline { background: transparent; border: 1px solid var(--rojo); color: var(--rojo); }

/* ===== FOOTER ===== */
footer {
    padding: 50px 6% 30px; text-align: center;
    border-top: 2px solid rgba(200, 16, 46, 0.3); margin-top: 40px;
}
.footer-redes { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.icono-red {
    width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.05); border: 2px solid var(--borde); font-weight: 900; font-size: 0.8rem;
    transition: border-color .2s, color .2s, transform .2s;
}
.icono-red:hover { border-color: var(--rojo); color: var(--rojo); transform: translateY(-3px); }
.footer-copy { color: #666; font-size: 0.85rem; }

/* ===== SERVIDOR ===== */
.server-logo {
    width: 160px; margin: 0 auto 20px; border-radius: 16px; overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.7);
}
.server-logo img { width: 100%; display: block; }
.server-estado {
    text-align: center; max-width: 640px; margin: 0 auto 10px; padding: 40px 30px;
    border: 3px solid var(--rojo); border-radius: 16px; background: var(--card-bg);
    box-shadow: 0 8px 30px rgba(200,16,46,0.25);
}
.server-nombre { font-size: 1.6rem; font-weight: 900; text-transform: uppercase; margin: 14px 0 16px; }
.server-desc { color: #ccc; line-height: 1.6; margin: 0 0 26px; }
.ip-box {
    display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
    background: rgba(0,0,0,0.4); border: 2px dashed rgba(200,16,46,0.5); border-radius: 10px;
    padding: 16px 20px; margin-bottom: 22px;
}
#server-ip { font-family: monospace; font-size: 1.15rem; font-weight: bold; letter-spacing: 0.5px; }
.server-datos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; color: #ddd; font-size: 0.95rem; }

/* ===== PRÓXIMAMENTE ===== */
.proximamente-box {
    text-align: center; padding: 50px 30px; border: 3px dashed rgba(200,16,46,0.5); border-radius: 16px;
    max-width: 600px; margin: 0 auto 40px;
}
.proximamente-box .badge { margin-bottom: 18px; font-size: 0.85rem; padding: 6px 18px; }
.proximamente-box p { color: #ccc; line-height: 1.6; }
