@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* RADIOGUA.COM EXACT REPLICA */

* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

body {
font-family: 'Montserrat', sans-serif;
background: linear-gradient(135deg,
  rgba(139,195,74,0.72) 0%,
  rgba(124,179,66,0.72) 50%,
  rgba(102,187,106,0.72) 100%
), url('https://manzanaradio.com.mx/img/hermosillo-bg.jpeg') center/cover fixed;
min-height: 100vh;
color: #333;
display: flex;
flex-direction: column;
}

.site-header {
background: #ffffff;
padding: 12px 20px;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 2px 10px rgba(0,0,0,0.08);
position: sticky;
top: 10px;
z-index: 1001;
width: min(1180px, calc(100% - 32px));
margin: 12px auto 0;
border-radius: 14px;
}

.site-header-logo {
height: 56px;
width: auto;
display: block;
}

.site-header-right {
font-size: 14px;
font-weight: 600;
color: #4e5b47;
text-transform: capitalize;
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 6px;
min-width: 0;
}

#current-date {
display: block;
text-align: right;
width: 100%;
}

.header-actions {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
justify-content: flex-end;
min-width: 0;
}

.header-btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 8px 12px;
border-radius: 999px;
text-decoration: none;
font-size: 12px;
font-weight: 700;
line-height: 1;
border: 1px solid #8bc34a;
background: #f4faef;
color: #2f5f21;
transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
max-width: 100%;
}

.header-btn:hover {
background: #8bc34a;
color: #ffffff;
transform: translateY(-1px);
}

.header-btn-whatsapp {
background: #25d366;
border-color: #25d366;
color: #ffffff;
}

.header-btn-whatsapp:hover {
background: #1cb959;
border-color: #1cb959;
color: #ffffff;
}

/* SIDEBAR NAVIGATION */
.sidebar {
position: fixed;
left: 0;
top: 0;
width: 280px;
height: 100vh;
background: rgba(139, 195, 74, 0.95);
backdrop-filter: blur(10px);
z-index: 1000;
box-shadow: 4px 0 20px rgba(0,0,0,0.1);
}

.logo-container {
padding: 30px 20px;
text-align: center;
border-bottom: 1px solid rgba(255,255,255,0.2);
}

.sidebar-logo {
height: 60px;
}

.sidebar-nav {
padding: 20px 0;
}

.nav-item {
display: flex;
align-items: center;
gap: 15px;
padding: 18px 20px;
color: white;
text-decoration: none;
transition: all 0.3s;
margin: 2px 10px;
border-radius: 12px;
font-weight: 600;
font-size: 14px;
}

.nav-item:hover {
background: rgba(255,255,255,0.1);
transform: translateX(5px);
}

.nav-item.active {
background: rgba(255,255,255,0.2);
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.nav-icon {
font-size: 18px;
width: 20px;
}

/* MAIN CONTENT */
.main-content {
min-height: 100vh;
background: #f8f9fa;
flex: 1;
display: flex;
flex-direction: column;
width: min(1180px, calc(100% - 32px));
margin: 12px auto 0;
border-radius: 16px;
overflow: hidden;
}

/* TOP BAR */
.top-bar {
background: white;
padding: 12px 30px;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* BANNER AND PLAYER CONTAINER */
.banner-player-container {
display: flex;
gap: 20px;
margin: 20px;
align-items: flex-start;
}

/* MAIN BANNER */
.main-banner {
background: linear-gradient(135deg, 
  rgba(255,193,7,0.9) 0%, 
  rgba(255,152,0,0.9) 50%, 
  rgba(244,81,30,0.9) 100%
), 
url('https://manzanaradio.com.mx/img/hermosillo-bg.jpeg') center/cover;
height: 300px;
border-radius: 20px;
position: relative;
overflow: hidden;
box-shadow: 0 10px 40px rgba(0,0,0,0.2);
flex: 1;
}

.banner-bg-layer {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-size: cover;
background-position: center;
transition: opacity 1s ease-in-out;
z-index: 1;
}

.banner-bg-layer.hidden {
opacity: 0;
}

.banner-bg-layer.visible {
opacity: 1;
}

.top-notifications {
display: flex;
gap: 20px;
align-items: center;
}

.notification-badge {
background: #8bc34a;
color: white;
padding: 6px 15px;
border-radius: 20px;
font-size: 12px;
font-weight: 600;
}

.follow-text {
color: #666;
font-weight: 600;
}

.top-actions {
display: flex;
gap: 15px;
align-items: center;
}

.promo-text {
color: #666;
font-size: 14px;
}

.theme-toggle {
background: #f1f3f4;
border: none;
border-radius: 50%;
width: 35px;
height: 35px;
cursor: pointer;
font-size: 16px;
}

.banner-content {
position: absolute;
left: 50px;
top: 50%;
transform: translateY(-50%);
color: white;
z-index: 10;
}

.banner-content h1 {
font-size: 48px;
font-weight: 900;
line-height: 1.1;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
margin: 0;
}

.banner-highlight {
color: #ffeb3b;
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-logo {
position: absolute;
right: 80px;
top: 50%;
transform: translateY(-50%);
z-index: 10;
}

.banner-logo img {
height: 120px;
filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* PLAYER CARD */
.player-card {
width: 320px;
height: 300px;
background: rgba(255,255,255,0.95);
border-radius: 20px;
padding: 20px;
box-shadow: 0 10px 40px rgba(0,0,0,0.15);
backdrop-filter: blur(10px);
flex-shrink: 0;
display: flex;
flex-direction: column;
justify-content: space-between;
}

.player-header {
margin-bottom: 15px;
}

.live-badge {
background: #8bc34a;
color: white;
padding: 4px 12px;
border-radius: 15px;
font-size: 11px;
font-weight: 600;
}

.player-host {
display: flex;
gap: 15px;
margin-bottom: 15px;
}

#host-photo {
width: 80px;
height: 80px;
border-radius: 15px;
object-fit: cover;
}

.host-info {
flex: 1;
}

#host-name {
font-size: 16px;
font-weight: 700;
color: #333;
margin-bottom: 5px;
}

#current-show {
font-size: 14px;
color: #666;
}

.player-info {
text-align: center;
margin-bottom: 15px;
}

.station-name {
font-size: 18px;
font-weight: 700;
color: #8bc34a;
margin-bottom: 5px;
}

.live-indicator {
background: #27ae60;
color: white;
padding: 4px 12px;
border-radius: 15px;
font-size: 11px;
display: inline-block;
}

.player-play-btn {
width: 100%;
background: #8bc34a;
border: none;
border-radius: 50px;
padding: 15px;
color: white;
font-size: 18px;
cursor: pointer;
transition: transform 0.2s;
}

.player-play-btn:hover {
transform: scale(1.05);
}

/* FLOATING MINI PLAYER */
.floating-player {
position: fixed;
bottom: 92px;
left: 50%;
transform: translateX(-50%);
width: 90%;
max-width: 1280px;
background: linear-gradient(90deg, rgba(139, 195, 74, 0.88), rgba(124, 179, 66, 0.88));
border-radius: 14px;
padding: 18px 20px;
box-shadow: 0 8px 32px rgba(0,0,0,0.3);
backdrop-filter: blur(10px);
z-index: 1000;
display: none;
transition: all 0.3s ease;
}

.floating-player.show {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
}

.floating-player::before {
content: "";
position: absolute;
left: 24px;
right: 24px;
top: 0;
height: 6px;
background: rgba(255,255,255,0.35);
border-radius: 0 0 999px 999px;
}

.floating-left {
display: flex;
align-items: center;
gap: 16px;
min-width: 0;
flex: 1;
}

.floating-player img {
width: 60px;
height: 60px;
border-radius: 50%;
border: 4px solid rgba(255,255,255,0.85);
object-fit: cover;
flex-shrink: 0;
}

.floating-player-info {
min-width: 0;
color: white;
}

.floating-meta-top {
margin-bottom: 4px;
}

.floating-live-badge {
display: inline-flex;
align-items: center;
gap: 4px;
background: rgba(255,255,255,0.9);
color: #2e7d32;
padding: 2px 10px;
border-radius: 999px;
font-size: 12px;
font-weight: 700;
}

.floating-song {
font-weight: 800;
font-size: 22px;
line-height: 1.15;
margin-bottom: 2px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.floating-artist {
font-size: 14px;
font-weight: 500;
opacity: 0.95;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.floating-controls {
display: flex;
gap: 18px;
align-items: center;
flex-shrink: 0;
}

.floating-play-btn {
background: rgba(255,255,255,0.22);
border: none;
border-radius: 50%;
width: 56px;
height: 56px;
color: white;
font-size: 24px;
cursor: pointer;
transition: background 0.3s;
}

.floating-play-btn:hover {
background: rgba(255,255,255,0.3);
}

.floating-volume-btn {
background: transparent;
border: none;
color: white;
font-size: 30px;
line-height: 1;
cursor: pointer;
padding: 0;
}

.floating-volume {
width: 1px;
opacity: 0;
position: absolute;
pointer-events: none;
height: 4px;
appearance: none;
-webkit-appearance: none;
background: rgba(255,255,255,0.3);
border-radius: 2px;
outline: none;
}

.floating-volume::-webkit-slider-thumb {
-webkit-appearance: none;
width: 12px;
height: 12px;
background: white;
border-radius: 50%;
cursor: pointer;
}

/* ADMIN ACCESS */
.admin-access {
position: fixed;
bottom: 20px;
left: 20px;
z-index: 999;
}

.admin-link {
display: block;
width: 50px;
height: 50px;
background: rgba(44, 62, 80, 0.9);
color: white;
text-decoration: none;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
transition: all 0.3s ease;
backdrop-filter: blur(10px);
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.admin-link:hover {
background: rgba(44, 62, 80, 1);
transform: scale(1.1);
}

/* PROGRAMMING SECTION */
.programming-section {
margin: 40px 20px;
background: white;
border-radius: 20px;
overflow: hidden;
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.section-title {
padding: 30px 40px 20px 40px;
font-size: 24px;
font-weight: 700;
color: #333;
border-bottom: 1px solid #eee;
margin: 0;
}

/* DAYS TABS */
.days-tabs {
display: flex;
background: #f8f9fa;
overflow-x: auto;
}

.day-tab {
padding: 15px 30px;
border: none;
background: transparent;
color: #666;
font-weight: 600;
font-size: 14px;
cursor: pointer;
transition: all 0.3s;
white-space: nowrap;
}

.day-tab:hover {
background: rgba(139, 195, 74, 0.1);
color: #8bc34a;
}

.day-tab.active {
background: #8bc34a;
color: white;
}

/* PROGRAMS GRID */
.programs-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
padding: 30px;
}

.program-card {
border-radius: 15px;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
transition: transform 0.3s;
}

.program-card:hover {
transform: translateY(-5px);
}

.program-card.active {
border: 3px solid #8bc34a;
}

.program-image {
height: 200px;
background-size: cover;
background-position: center;
position: relative;
background-color: linear-gradient(to top, rgba(139, 195, 74, 0.8) 26.89%, rgba(156, 204, 101, 0.09) 48.74%);
}

.program-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(transparent 0%, transparent 60%, rgba(139, 195, 74, 0.15) 80%, rgba(139, 195, 74, 0.4) 100%);
color: white;
padding: 20px;
}

.program-title {
font-size: 16px;
font-weight: 700;
margin-bottom: 5px;
display: inline-block;
background: #d32f2f;
color: #ffffff;
padding: 4px 10px;
border-radius: 10px;
line-height: 1.2;
box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.program-time {
font-size: 12px;
opacity: 0.9;
margin-bottom: 8px;
}

.program-status {
background: rgba(255,255,255,0.2);
padding: 4px 10px;
border-radius: 10px;
font-size: 10px;
display: inline-block;
}

.program-status.on-air {
background: #874ac3;
color: white;
}

/* HISTORY SECTION */
.history-section {
margin: 40px 20px;
background: white;
border-radius: 20px;
overflow: hidden;
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.history-grid {
padding: 30px;
}

.history-item {
display: flex;
align-items: center;
gap: 15px;
padding: 15px;
margin: 10px 0;
background: #f8f9fa;
border-radius: 15px;
transition: transform 0.3s;
}

.history-item:hover {
transform: translateX(10px);
}

.history-number {
background: #8bc34a;
color: white;
width: 30px;
height: 30px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
font-size: 14px;
flex-shrink: 0;
}

.history-cover {
width: 60px;
height: 60px;
border-radius: 10px;
object-fit: cover;
}

.history-info {
flex: 1;
}

.history-song {
font-weight: 700;
color: #333;
margin-bottom: 5px;
}

.history-artist {
color: #666;
font-size: 14px;
}

/* HOSTS SECTION */
.hosts-section {
margin: 40px 20px;
background: white;
border-radius: 20px;
overflow: hidden;
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.hosts-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 30px 30px 10px;
border-bottom: 1px solid #eee;
}

.hosts-header .section-title {
padding: 0;
border-bottom: none;
flex: 1;
}

.hosts-grid {
position: relative;
overflow: hidden;
padding: 30px;
}

.hosts-track {
display: flex;
gap: 20px;
transition: transform 0.6s ease;
will-change: transform;
}

.host-card {
flex: 0 0 calc((100% - 60px) / 4);
background: #f8f9fa;
border-radius: 15px;
padding: 15px;
text-align: center;
}

.host-card img {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 12px;
margin-bottom: 12px;
}

.host-name {
font-size: 16px;
font-weight: 700;
color: #333;
margin-bottom: 6px;
}

.host-desc {
font-size: 13px;
color: #666;
}

.hosts-carousel-controls {
display: flex;
align-items: center;
gap: 10px;
}

.hosts-arrow {
width: 36px;
height: 36px;
border: none;
border-radius: 50%;
background: #8bc34a;
color: white;
font-size: 22px;
line-height: 1;
cursor: pointer;
}

.hosts-arrow:hover {
background: #7cb342;
}

/* FOOTER */
.site-footer {
margin: 20px;
margin-top: auto;
background: #2f3e2e;
color: #e9f5dd;
border-radius: 14px;
padding: 14px 20px;
display: grid;
grid-template-columns: 1fr 1.4fr 1fr;
gap: 16px;
align-items: center;
font-size: 13px;
}

.footer-block {
line-height: 1.4;
}

.footer-left {
font-weight: 700;
}

.footer-center {
text-align: center;
}

.footer-right {
text-align: right;
}

.footer-powered {
font-size: 11px;
opacity: 0.95;
}

.footer-powered a {
color: #e9f5dd;
text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
.site-header {
width: calc(100% - 16px);
margin: 8px auto 0;
top: 6px;
padding: 10px 14px;
gap: 8px;
}

.main-content {
width: calc(100% - 16px);
margin: 8px auto 0;
border-radius: 12px;
}

.site-header-logo {
height: 44px;
}

.site-header-right {
font-size: 12px;
align-items: flex-end;
flex: 1;
min-width: 0;
}

.header-actions {
width: 100%;
justify-content: flex-end;
margin-top: 6px;
}

.header-btn {
font-size: 11px;
padding: 7px 10px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.header-btn-whatsapp {
max-width: 100%;
min-width: 0;
}

.banner-player-container {
flex-direction: column;
margin: 10px;
}

.player-card {
width: 100%;
}

.main-banner {
height: 200px;
}

.banner-content h1 {
font-size: 32px;
}

.programs-grid {
grid-template-columns: 1fr;
}

.hosts-grid {
padding: 20px;
}

.hosts-header {
padding: 20px 20px 10px;
align-items: flex-start;
}

.hosts-carousel-controls {
flex-shrink: 0;
}

.host-card {
flex: 0 0 100%;
}

.days-tabs {
justify-content: flex-start;
}

.floating-player {
width: 95%;
bottom: 86px;
padding: 12px 14px;
}

.floating-player::before {
left: 12px;
right: 12px;
height: 5px;
}

.floating-left {
gap: 10px;
}

.floating-player img {
width: 48px;
height: 48px;
border-width: 3px;
}

.floating-live-badge {
font-size: 10px;
padding: 2px 8px;
}

.floating-song {
font-size: 16px;
}

.floating-artist {
font-size: 12px;
}

.floating-controls {
gap: 10px;
}

.floating-play-btn {
width: 44px;
height: 44px;
font-size: 20px;
}

.floating-volume-btn {
font-size: 24px;
}

.floating-volume {
width: 60px;
}

.site-footer {
margin: 10px;
grid-template-columns: 1fr;
text-align: center;
gap: 10px;
}

.footer-center,
.footer-right {
text-align: center;
}
}