/* =========================
   LA TÓXICA FM - STYLES
   PWA CLEAN VERSION
========================= */

/* =========================
   RESET
========================= */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   VARIABLES
========================= */

:root {
    --toxic-orange: #ff7300;
    --toxic-orange-dark: #ff4d00;

    --bg: #ffffff;
    --text: #111111;

    --radius: 24px;

    --header-h: 70px;
    --player-h: 80px;

    --max-w: 1200px;
}

/* =========================
   BASE
========================= */

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}



body {
    background: #000000;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}


img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================
   APP WRAPPER
========================= */

#app {
    width: 100%;
    max-width: var(--max-w);
    margin: auto;
    min-height: 100vh;
}

/* =========================
   HEADER FULL WIDTH FIX
========================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100vw;
    margin-left: calc(50% - 50vw);

    height: var(--header-h);

    display: flex;
    align-items: center;

    padding: 0 15px;

    background: linear-gradient(
        180deg,
        #ff7300 0%,
        #000000 100%
    );

    box-sizing: border-box;
}

/* =========================
   BOTÓN HAMBURGUESA
========================= */

.menu-btn {
    width: 44px;
    height: 44px;

    border: none;
    background: #ff7300;
    color: #000;

    border-radius: 12px;

    font-size: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}

/* =========================
   LIVE BADGE
========================= */
.live-pill {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    background: #ff7300;
    color: #000;

    font-weight: 800;
    font-size: 0.75rem;

    padding: 5px 10px;
    border-radius: 6px;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    animation: liveBlink 1.2s infinite;
}

/* punto rojo */
.live-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    background: red;
    border-radius: 50%;
    display: inline-block;
}

/* =========================
   INFO BOX (CLIMA / HORA / CIUDAD)
========================= */

#infoBox {
    margin-left: auto;

    color: #fff;
    font-size: 0.75rem;

    white-space: nowrap;
}

/* =========================
   ANIMACIÓN LIVE
========================= */

@keyframes liveBlink {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

/* =========================
   MENU BUTTON
========================= */



.menu-btn {
    position: absolute;
    left: 15px;

    width: 44px;
    height: 44px;

    border: none;

    background: #ff7300; /* naranja */
    color: #000;

    border-radius: 12px;

    font-size: 22px;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.2s ease;
}

.menu-btn:active {
    transform: scale(0.95);
    background: #ff4d00;
}








/* =========================
   HEADER LOGO
========================= */

.header-logo {
    width: 150px;
    max-width: 45vw;
}










/* =========================
   LIVE BUTTON HEADER
========================= */

.live-pill {
    background: #ff7300;
    color: #000;

    font-weight: 900;
    font-size: 0.75rem;

    padding: 6px 10px;
    border-radius: 6px;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    animation: liveBlink 1.2s infinite;
    box-shadow: 0 0 10px rgba(255, 115, 0, 0.4);
}

/* punto rojo/indicador */
.live-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    background: red;
    border-radius: 50%;
    display: inline-block;
}

/* parpadeo */
@keyframes liveBlink {
    0%   { opacity: 1; transform: scale(1); }
    50%  { opacity: 0.6; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}



.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100vw;
    margin-left: calc(50% - 50vw);
    height: var(--header-h);

    display: flex;
    align-items: center;

    padding: 0 15px;

    background: rgba(10,10,10,0.92);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255,115,0,0.15);
}

/* =========================
   BOTÓN HAMBURGUESA
========================= */

.menu-btn {
    width: 44px;
    height: 44px;

    border: none;

    background: transparent;
    color: #ff7300;

    border-radius: 10px;

    font-size: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: 0.2s ease;
}

.menu-btn:hover {
    background: rgba(255,115,0,0.08);
}

.menu-btn:active {
    transform: scale(0.95);
}

/* =========================
   LIVE PILL (CLEAN)
========================= */

.live-pill {
    margin: 0 auto;

    background: rgba(255,115,0,0.15);
    color: #ff7300;

    font-weight: 800;
    font-size: 0.75rem;

    padding: 5px 10px;
    border-radius: 6px;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    border: 1px solid rgba(255,115,0,0.3);
}

/* punto en vivo */
.live-pill::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #ff7300;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255,115,0,0.6);
}

/* =========================
   INFO BOX
========================= */

#infoBox {
    margin-left: auto;

    color: rgba(255,255,255,0.85);
    font-size: 0.75rem;

    white-space: nowrap;
}
































/* =========================
   MAIN
========================= */

.main-content {
    width: 100%;
    padding: 20px 0 110px;
}

/* =========================
   SECTIONS
========================= */

.section {
    width: 92%;
    margin: 20px auto;
}

.section-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 700;
}

/* =========================
   HERO / TOXINOTAS SLIDER
========================= */

.hero-slider {

    width: 92%;
    margin: 20px auto;
    border-radius: 20px;
    overflow: hidden;
    height: 520px;
    position: relative;

display: block;
}

/* CONTENEDOR SLIDER */


.toxinotas-slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
    will-change: transform;
}





/* CADA NOTA */





.toxinota-slide {
    min-width: 100%;
    flex: 0 0 100%;
    height: 100%;
    position: relative;
}



/* IMAGEN */
.toxinota-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================
   OVERLAY TOXINOTAS
========================= */

.toxinota-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    padding: 16px;

    max-height: 60%;
    overflow: hidden;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.95),
        rgba(0,0,0,0.6),
        transparent
    );

    color: #fff;
}

.toxinota-overlay h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
}

.toxinota-overlay p {
    font-size: 0.9rem;
    line-height: 1.3;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;

    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}

/* =========================
   PROGRAMAS
========================= */

.program-slider {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 5;
    background: #f5f5f5;
}

.program-slide {
    width: 100%;
    height: 100%;
}

.program-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* =========================
   BANNERS
========================= */

.promo-banner {
    border-radius: 20px;
    overflow: hidden;
}

.promo-banner img {
    width: 100%;
    height: auto;
}

/* =========================
   SIDE MENU
========================= */

.side-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    transition: left 0.3s ease;
}

.side-menu.open {
    left: 0;
}

.menu-content {
    padding-top: 90px;
}

.menu-item {
    padding: 16px 25px;
    border-bottom: 1px solid #ececec;
    cursor: pointer;
}

/* =========================
   OVERLAY MENU
========================= */

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 1500;
}

.overlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* =========================
   PLAYER BAR
========================= */

.player-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--player-h);
    background: linear-gradient(180deg, var(--toxic-orange), var(--toxic-orange-dark));
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    z-index: 3000;
}

.player-logo {
    width: 70px;
}

.player-info {
    flex: 1;
    padding: 0 15px;
}

.live-badge {
    display: inline-block;
    background: #fff;
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 20px;
}

.live-text {
    display: block;
    margin-top: 4px;
    color: #fff;
    font-size: 0.75rem;
}

.play-btn {
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    font-size: 20px;
}

/* =========================
   RESPONSIVE
========================= */

@media (min-width: 768px) {
    .header-logo {
        width: 180px;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-slider {
        max-width: 1000px;
    }

    .section {
        max-width: 1000px;
    }
}

/* =========================
   MOBILE FIX
========================= */

@media (max-width: 768px) {
    .hero-slider {
        height: 360px;
    }
}


.menu-btn {
    position: absolute;
    left: 15px;

    width: 44px;
    height: 44px;

    border: none !important;

    background: #ff7300 !important;
    color: #000 !important;

    border-radius: 12px;

    font-size: 22px;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.2s ease;

    transform: translateY(-15px);
}






@keyframes liveBlink {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}