:root {
    --vinotinto: #a00028;
    --amarillo: #fbc02d;
    --azul: #0277bd;
    --verde-buenisima: #2e7d32;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)),
                url('https://images.unsplash.com/photo-1478737270239-2f02b77fc618?w=1920');
    background-size: cover;
    background-attachment: fixed;
    color: #333;
    padding-bottom: 100px;
}

/* --- TICKER --- */
.top-nav { background: #000; color: #fff; padding: 12px 0; position: sticky; top: 0; z-index: 1000; overflow: hidden; display: flex; align-items: center; }
.ticker-text { display: inline-block; white-space: nowrap; padding-left: 100%; animation: marquee-top 45s linear infinite; font-size: 1.3rem; font-weight: 900; }
@keyframes marquee-top { 0% { transform: translateX(0); } 100% { transform: translateX(-200%); } }

/* --- NUEVO BANNER MUNDIALISTA (AJUSTE PANORÁMICO) --- */
.main-banner-new {
    width: 100%;
    height: auto;
    max-height: 480px; /* Altura máxima profesional para el nuevo diseño */
    overflow: hidden;
    line-height: 0;
    background-color: #000;
}

.responsive-banner {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain; /* Asegura que se vea todo el diseño panorámico sin cortes */
}

/* --- BANNER ANTIGUO (Se mantiene por compatibilidad) --- */
.main-banner {
    min-height: 180px;
    background: linear-gradient(rgba(160,0,40,0.85), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1598488035139-bdbb2231ce04?w=1200');
    background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; color: #fff; padding: 15px 20px;
}
.banner-container {
    display: flex; align-items: center; justify-content: space-between; max-width: 1200px; width: 100%;
}
.banner-left { display: flex; align-items: center; gap: 30px; }
.banner-logo img { max-height: 120px; width: auto; }
.banner-text h1 { font-size: 2rem; margin: 0; text-transform: uppercase; line-height: 1.1; }
.banner-text h1 span { color: var(--amarillo); display: block; font-size: 1.4rem; }
.banner-mascotas img { max-height: 140px; width: auto; filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3)); }

/* --- ESTRUCTURA --- */
.main-container { max-width: 1250px; margin: 20px auto; display: flex; gap: 30px; padding: 0 20px; flex-wrap: wrap; }
.left-content { flex: 3; min-width: 300px; }
.sidebar { flex: 1; min-width: 300px; }

.lote-title { font-size: 1.4rem; margin: 40px 0 20px; padding-bottom: 5px; text-transform: uppercase; font-weight: 800; }
.t-vinotinto { color: var(--vinotinto); border-bottom: 4px solid var(--vinotinto); }
.t-buenisima { color: var(--verde-buenisima) !important; border-bottom: 4px solid var(--verde-buenisima); }
.t-aliadas { color: var(--azul); border-bottom: 4px solid var(--azul); }

/* --- SECCIÓN PODCAST --- */
.t-podcast { color: #1DB954; border-bottom: 4px solid #1DB954; }
.podcast-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-bottom: 40px; }
.podcast-item { background: transparent; transition: transform 0.3s; }
.podcast-item:hover { transform: scale(1.02); }

/* --- RADIOS (CENTRADAS) --- */
.radio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
    justify-content: center;
}
.radio-card { padding: 15px 10px; border-radius: 18px; text-align: center; box-shadow: 0 8px 20px rgba(0,0,0,0.4); cursor: pointer; transition: 0.3s; border: 2px solid transparent; }
.radio-card img { width: 90px; height: 90px; border-radius: 50%; background: #fff; object-fit: contain; padding: 5px; margin-bottom: 10px; }
.radio-card h4 { font-size: 0.8rem; margin: 0; color: #fff; text-shadow: 1px 1px 2px rgba(0,0,0,0.8); }
.radio-card.vinotinto { background: radial-gradient(circle at center, #a00028 0%, #200008 100%); }
.radio-card.buenisima { background: radial-gradient(circle at center, var(--verde-buenisima) 0%, #0a1f0c 100%); }
.radio-card.aliadas { background: radial-gradient(circle at center, #0277bd 0%, #001a2d 100%); }

/* --- NOTICIAS --- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 20px; }
.news-item { background: #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.news-img { height: 160px; background-size: cover; background-position: center; }
.news-text { padding: 15px; }

/* --- SIDEBAR --- */
.side-card { background: #fff; padding: 20px; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-left: 6px solid var(--vinotinto); margin-bottom: 20px; }
.ranking-list { list-style: none; padding: 0; }
.ranking-list li { padding: 10px 0; border-bottom: 1px solid #eee; display: flex; align-items: center; font-size: 0.9rem; font-weight: bold; }

/* --- PUBLICIDAD --- */
.ads-sidebar { border-left: none !important; text-align: center; background: #f9f9f9; padding: 10px; }
.ads-sidebar small { color: #aaa; font-size: 0.6rem; text-transform: uppercase; display: block; margin-bottom: 5px; }
.ad-box-side { width: 100%; height: 250px; background: #eee; border: 2px dashed #ccc; display: flex; align-items: center; justify-content: center; color: #999; border-radius: 10px; }
.container-ad-long { max-width: 1250px; margin: 40px auto 20px; padding: 0 20px; }
.ad-long { width: 100%; height: 120px; background: #eee; border: 2px dashed #ccc; border-radius: 15px; display: flex; align-items: center; justify-content: center; color: #999; font-weight: bold; }

/* --- TARJETA APP --- */
.app-card { text-align: center; border-left: 6px solid var(--amarillo) !important; padding: 20px; }
.btn-app { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: #222; color: #fff !important; padding: 10px 15px; border-radius: 10px; text-decoration: none; transition: 0.3s; width: 100%; box-sizing: border-box; margin-bottom: 12px; border: 1px solid #444; }
.btn-app:hover { background: #000; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.btn-app i { font-size: 1.5rem; }
.btn-app span { text-align: left; line-height: 1.1; font-size: 0.7rem; }
.btn-app span small { font-size: 1rem; font-weight: bold; display: block; }
.color-play { color: #34A853; }
.color-ig-btn { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; }

/* --- PLAYER --- */
.player-bar { position: fixed; bottom: 0; left: 0; width: 100%; background: #000; color: #fff; padding: 5px 5%; display: flex; justify-content: space-between; align-items: center; border-top: 3px solid var(--vinotinto); z-index: 2000; height: 70px; box-sizing: border-box; }
.player-info { display: flex; align-items: center; gap: 12px; width: 45%; }
.player-info img { width: 45px; height: 45px; border-radius: 5px; object-fit: contain; }
.playing-waves { display: none; align-items: flex-end; gap: 3px; height: 12px; margin-left: 10px; }
.wave-bar { width: 3px; background: var(--amarillo); height: 100%; animation: wave-bounce 1s infinite ease-in-out; }
@keyframes wave-bounce { 0%, 100% { height: 3px; } 50% { height: 12px; } }
.player-controls { display: flex; align-items: center; gap: 15px; flex: 1; justify-content: flex-end; }
.play-btn { background: var(--vinotinto); border: none; color: #fff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; }
#volume-slider { width: 80px; accent-color: var(--amarillo); }

/* --- FOOTER --- */
.footer-info { background: #f8f8f8; padding: 30px 20px; text-align: center; border-top: 1px solid #ddd; }
.contact-whatsapp a { color: #25d366; text-decoration: none; font-weight: bold; display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 768px) {
    .banner-container { flex-direction: column; text-align: center; gap: 10px; }
    .banner-left { flex-direction: column; gap: 10px; }
    .banner-mascotas { display: none; }
    .player-bar { height: auto; padding: 10px; }
    .player-info { width: 100%; justify-content: center; margin-bottom: 5px; }
    .player-controls { width: 100%; justify-content: center; }
    .ad-long { height: 100px; }
    .podcast-container { grid-template-columns: 1fr; }
    .main-banner-new { max-height: 180px; }
}
