/* ================================================
   WebRádio FM — Layout Moderno 2024
   Bootstrap 5 + Custom CSS
   ================================================ */

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

:root {
  --blue-dark:    #0d1b6e;
  --blue-main:    #1a3bcc;
  --blue-mid:     #1e4fd8;
  --blue-light:   #2563eb;
  --blue-bright:  #3b82f6;
  --blue-glow:    #60a5fa;
  --accent:       #22c55e;
  --accent-hover: #16a34a;
  --red:          #ef4444;
  --yellow:       #f59e0b;
  --bg:           #f0f2f5;
  --bg-alt:       #e8edf3;
  --white:        #ffffff;
  --foreground:   #0f172a;
  --muted:        #64748b;
  --border:       #e2e8f0;
  --card:         #ffffff;
  --shadow:       0 4px 20px rgba(26,59,204,.12);
  --shadow-lg:    0 8px 40px rgba(26,59,204,.18);
  --radius:       1rem;
  --radius-sm:    .6rem;
  --radius-xs:    .4rem;
  --font:         'Inter', system-ui, sans-serif;
}

body { font-family: var(--font); background: var(--bg); color: var(--foreground); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--blue-dark);
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  padding: .35rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  gap: 1rem;
}
.top-bar-left { display: flex; gap: 1.25rem; align-items: center; }
.top-bar-left span { display: flex; align-items: center; gap: .35rem; }
.top-bar-right { display: flex; gap: .5rem; align-items: center; }
.top-bar-right a {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  color: rgba(255,255,255,.85);
}
.top-bar-right a:hover { background: rgba(255,255,255,.25); }

/* ============================================================
   MAIN HEADER
   ============================================================ */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: .85rem 1.25rem;
  gap: 1.5rem;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
}
.header-logo-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--blue-main), var(--blue-bright));
  border-radius: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -.5px;
}
.header-logo-text { font-size: 1.3rem; font-weight: 800; color: var(--blue-dark); line-height: 1.2; }
.header-logo-sub  { font-size: .7rem; color: var(--muted); }

/* Center banner */
.header-banner img {
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

/* Player */
.header-player {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  padding: .45rem .85rem .45rem .5rem;
  border-radius: 9999px;
  min-width: 200px;
}
.player-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-main), var(--blue-bright));
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 2px 8px rgba(26,59,204,.35);
  transition: transform .2s, box-shadow .2s;
  flex-shrink: 0;
}
.player-btn:hover { transform: scale(1.1); box-shadow: 0 4px 16px rgba(26,59,204,.45); }
.player-info { flex: 1; min-width: 0; }
.player-title { font-size: .75rem; font-weight: 700; color: var(--foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-sub   { font-size: .65rem; color: var(--muted); }
.player-vol   { display: flex; align-items: center; gap: .3rem; color: var(--muted); font-size: .7rem; }
.player-vol input[type=range] { width: 60px; accent-color: var(--blue-main); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  background: linear-gradient(90deg, var(--blue-main) 0%, var(--blue-bright) 100%);
}
.site-nav-inner {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.site-nav a {
  display: block;
  padding: .75rem 1.1rem;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: all .2s;
  position: relative;
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 3px;
  background: var(--white);
  border-radius: 3px 3px 0 0;
  transition: all .2s;
}
.site-nav a:hover,
.site-nav a.active { color: #fff; }
.site-nav a:hover::after,
.site-nav a.active::after { left: 0; right: 0; }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-main) 50%, var(--blue-bright) 100%);
  position: relative;
  overflow: hidden;
  min-height: 480px;
}
.hero-slide {
  display: none;
  min-height: 480px;
  align-items: center;
  position: relative;
}
.hero-slide.active { display: flex; }
.hero-slide-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: center;
}
.hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.2);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  padding: .3rem .85rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.3);
}
.hero-live-dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: blink 1.5s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; color: #fff; line-height: 1.15; margin-bottom: .5rem; }
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,.75); margin-bottom: .3rem; font-weight: 600; }
.hero-desc { font-size: .95rem; color: rgba(255,255,255,.65); margin-bottom: 1.75rem; max-width: 460px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-hero-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--white);
  color: var(--blue-main);
  font-weight: 700; font-size: .9rem;
  padding: .7rem 1.8rem;
  border-radius: 9999px;
  border: none; cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  transition: all .2s;
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(0,0,0,.25); }
.btn-hero-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent;
  color: #fff;
  font-weight: 600; font-size: .9rem;
  padding: .7rem 1.8rem;
  border-radius: 9999px;
  border: 2px solid rgba(255,255,255,.5);
  cursor: pointer;
  transition: all .2s;
}
.btn-hero-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.hero-image {
  aspect-ratio: 16/10;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  border: 3px solid rgba(255,255,255,.2);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* Slider nav */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
  z-index: 10;
}
.slider-nav:hover { background: rgba(255,255,255,.3); }
.slider-prev { left: 1rem; }
.slider-next { right: 1rem; }

.slider-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: all .2s;
}
.slider-dot.active { background: #fff; width: 24px; border-radius: 4px; }

/* ============================================================
   WHATSAPP BANNER
   ============================================================ */
.wa-banner {
  background: linear-gradient(135deg, #1a1a4e, #2d1b8c);
  padding: 2rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 2.5rem 0;
  flex-wrap: wrap;
}
.wa-banner-text h3 { font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: .35rem; }
.wa-banner-text p  { color: rgba(255,255,255,.7); }
.wa-banner-num {
  background: var(--accent);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  padding: .6rem 1.4rem;
  border-radius: 9999px;
  white-space: nowrap;
}
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  padding: .7rem 1.75rem;
  border-radius: 9999px;
  border: none; cursor: pointer;
  font-size: .9rem;
  transition: all .2s;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-2px); }

/* ============================================================
   SECTION BASE
   ============================================================ */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--white); }
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: .85rem;
  border-bottom: 3px solid var(--blue-main);
  gap: 1rem;
}
.section-header h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--foreground);
  text-transform: uppercase;
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.section-header h2::before {
  content: '';
  display: block;
  width: 4px; height: 20px;
  background: var(--blue-main);
  border-radius: 2px;
}
.section-header-center { text-align: center; display: block; border-bottom: none; margin-bottom: 2rem; }
.section-header-center h2 { font-size: 1.6rem; color: var(--blue-dark); justify-content: center; letter-spacing: 0; }
.section-header-center h2::before { display: none; }
.section-header-center p { color: var(--muted); margin-top: .35rem; font-size: .95rem; }
.btn-more {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 600;
  color: var(--blue-main);
  border: 1.5px solid var(--blue-main);
  padding: .35rem .9rem;
  border-radius: 9999px;
  transition: all .2s;
  white-space: nowrap;
}
.btn-more:hover { background: var(--blue-main); color: #fff; }

/* ============================================================
   NEWS SECTION
   ============================================================ */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 1.5rem;
}
.news-featured {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s;
  display: flex;
  flex-direction: column;
}
.news-featured:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-featured-img {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.news-featured-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 50%);
}
.news-read-time {
  position: absolute;
  bottom: .75rem; right: .75rem;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: .72rem;
  padding: .25rem .6rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: .3rem;
}
.news-featured-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.news-cat {
  display: inline-flex;
  align-items: center;
  background: var(--blue-main);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: .35rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .75rem;
}
.news-featured-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--foreground);
  margin-bottom: .6rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-featured-excerpt {
  font-size: .87rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-featured-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px solid var(--border);
  font-size: .78rem;
  color: var(--muted);
}
.news-read-more {
  display: inline-flex; align-items: center; gap: .3rem;
  font-weight: 600; color: var(--blue-main);
  font-size: .82rem;
}
.news-read-more:hover { text-decoration: underline; }

/* News sidebar list */
.news-sidebar { display: flex; flex-direction: column; gap: .85rem; }
.news-item {
  display: flex;
  gap: .85rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: transform .2s;
  cursor: pointer;
}
.news-item:hover { transform: translateX(3px); }
.news-item-img {
  width: 90px; height: 75px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.news-item-img img { width: 100%; height: 100%; object-fit: cover; }
.news-item-body { padding: .65rem .75rem .65rem 0; flex: 1; min-width: 0; }
.news-item-cat { font-size: .65rem; font-weight: 700; color: var(--blue-main); text-transform: uppercase; margin-bottom: .2rem; }
.news-item-title { font-size: .83rem; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--foreground); }
.news-item-date { font-size: .7rem; color: var(--muted); margin-top: .3rem; }

/* ============================================================
   VIDEO GALLERY
   ============================================================ */
.video-layout { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; }
.video-grid-main { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.video-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: transform .2s;
}
.video-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-play-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.35);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .2s;
}
.video-card:hover .video-play-overlay { opacity: 1; }
.video-play-btn {
  width: 44px; height: 44px;
  background: var(--blue-main);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.video-cat-badge {
  position: absolute;
  top: .5rem; left: .5rem;
  background: var(--blue-main);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: .3rem;
}
.video-body { padding: .75rem; }
.video-title { font-size: .83rem; font-weight: 700; line-height: 1.4; margin-bottom: .3rem; color: var(--foreground); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-desc  { font-size: .75rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-footer { display: flex; justify-content: space-between; align-items: center; margin-top: .6rem; }
.video-date  { font-size: .7rem; color: var(--muted); }
.btn-watch {
  display: inline-flex; align-items: center; gap: .3rem;
  background: var(--blue-main);
  color: #fff;
  font-size: .72rem; font-weight: 700;
  padding: .3rem .7rem;
  border-radius: 9999px;
  border: none; cursor: pointer;
  transition: all .2s;
}
.btn-watch:hover { background: var(--blue-dark); }

/* Video sidebar ads */
.video-ads { display: flex; flex-direction: column; gap: 1rem; }
.ad-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  overflow: hidden;
}
.ad-label { font-size: .65rem; font-weight: 700; color: var(--muted); padding: .5rem .75rem 0; text-transform: uppercase; letter-spacing: .04em; }
.ad-card-featured { background: linear-gradient(135deg, #dc2626, #ef4444); padding: 1rem; text-align: center; }
.ad-card-featured strong { font-size: 1.4rem; font-weight: 900; color: #fff; display: block; }
.ad-card-featured span { font-size: .75rem; color: rgba(255,255,255,.85); }
.ad-card-plain { padding: 1rem; }
.ad-card-plain strong { font-size: 1.1rem; font-weight: 900; color: var(--blue-bright); display: block; }

/* ============================================================
   MURAL / CHAT SECTION
   ============================================================ */
.mural-section { background: var(--white); }
.mural-header-center { text-align: center; margin-bottom: 1.75rem; }
.mural-header-center h2 { font-size: 1.6rem; font-weight: 800; color: var(--blue-dark); display: flex; align-items: center; justify-content: center; gap: .5rem; }
.mural-header-center p { color: var(--muted); margin-top: .35rem; }
.btn-recado {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--blue-main);
  color: #fff;
  font-weight: 700;
  padding: .65rem 1.75rem;
  border-radius: 9999px;
  border: none; cursor: pointer;
  font-size: .9rem;
  margin-bottom: 1.75rem;
  transition: all .2s;
}
.btn-recado:hover { background: var(--blue-dark); transform: translateY(-2px); }
.recado-slider-wrap { position: relative; max-width: 680px; margin: 0 auto 2.5rem; }
.recado-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 3rem;
  text-align: center;
}
.recado-text { font-size: .95rem; font-style: italic; color: var(--foreground); line-height: 1.7; margin-bottom: .75rem; }
.recado-author { font-weight: 700; color: var(--blue-main); font-size: .9rem; }
.recado-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--muted);
  transition: all .2s;
}
.recado-nav:hover { color: var(--blue-main); border-color: var(--blue-main); }
.recado-prev { left: -1.5rem; }
.recado-next { right: -1.5rem; }

.mural-grid { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; }
.chat-box {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}
.chat-box h3 { font-size: 1.1rem; font-weight: 700; color: var(--foreground); display: flex; align-items: center; justify-content: center; gap: .4rem; margin-bottom: .35rem; }
.chat-box p  { font-size: .85rem; color: var(--muted); margin-bottom: 1.25rem; }
.chat-input {
  width: 100%;
  padding: .65rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-family: inherit;
  margin-bottom: .75rem;
  transition: border-color .2s;
}
.chat-input:focus { outline: none; border-color: var(--blue-main); }
.btn-chat {
  width: 100%;
  padding: .7rem;
  background: linear-gradient(135deg, var(--blue-main), var(--blue-bright));
  color: #fff;
  font-weight: 700;
  border: none; border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: .9rem;
  transition: opacity .2s;
}
.btn-chat:hover { opacity: .9; }

/* Poll */
.poll-box {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.poll-box h3 { font-size: 1rem; font-weight: 800; color: var(--foreground); margin-bottom: .25rem; }
.poll-box > p { font-size: .82rem; color: var(--muted); margin-bottom: 1.25rem; }
.poll-option { margin-bottom: .85rem; }
.poll-label { display: flex; align-items: center; gap: .6rem; cursor: pointer; }
.poll-label input[type=radio] { accent-color: var(--blue-main); width: 16px; height: 16px; }
.poll-label span { font-size: .875rem; color: var(--foreground); }
.poll-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; }
.poll-votes { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: .3rem; }
.btn-vote {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--blue-main);
  color: #fff;
  font-weight: 700; font-size: .82rem;
  padding: .45rem 1.1rem;
  border-radius: 9999px;
  border: none; cursor: pointer;
  transition: all .2s;
}
.btn-vote:hover { background: var(--blue-dark); }

/* ============================================================
   PROGRAMMING SECTION
   ============================================================ */
.prog-section { background: var(--white); }
.prog-live-banner {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-main));
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.prog-live-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,.3);
  flex-shrink: 0;
}
.prog-live-info h3 { font-size: 1.3rem; font-weight: 800; color: #fff; }
.prog-live-info .prog-host-name { color: rgba(255,255,255,.75); font-size: .9rem; }
.prog-live-info .prog-desc { color: rgba(255,255,255,.6); font-size: .85rem; margin-top: .25rem; }
.prog-live-time { margin-left: auto; font-size: 1rem; font-weight: 700; color: rgba(255,255,255,.85); white-space: nowrap; }
.prog-live-tag {
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(255,255,255,.2);
  color: #fff;
  font-size: .7rem; font-weight: 700;
  padding: .2rem .7rem;
  border-radius: 9999px;
  margin-bottom: .5rem;
  border: 1px solid rgba(255,255,255,.3);
}

.prog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2rem; }
.prog-list-title {
  display: flex; align-items: center; gap: .5rem;
  font-size: .95rem; font-weight: 800;
  color: var(--foreground);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 1rem;
  padding-bottom: .65rem;
  border-bottom: 2px solid var(--border);
}
.prog-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem;
  border-radius: var(--radius-sm);
  transition: background .2s;
  border-left: 3px solid transparent;
}
.prog-row:not(:last-child) { border-bottom: 1px solid var(--border); }
.prog-row.is-live { background: rgba(26,59,204,.06); border-left-color: var(--blue-main); }
.prog-time  { font-size: .95rem; font-weight: 800; color: var(--blue-main); min-width: 50px; }
.prog-info  { flex: 1; }
.prog-name  { font-size: .9rem; font-weight: 700; color: var(--foreground); }
.prog-host  { font-size: .78rem; color: var(--muted); }
.prog-status {
  font-size: .7rem; font-weight: 700;
  padding: .2rem .65rem;
  border-radius: 9999px;
  background: var(--bg);
  color: var(--muted);
  white-space: nowrap;
}
.prog-status.live { background: var(--red); color: #fff; animation: blink 1.5s infinite; }
.prog-status.ended { background: var(--bg-alt); color: var(--muted); }

/* Top 10 */
.top10-title {
  display: flex; align-items: center; gap: .5rem;
  font-size: .9rem; font-weight: 800;
  color: var(--foreground);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 1rem;
  padding-bottom: .65rem;
  border-bottom: 2px solid var(--border);
}
.top10-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .6rem 0;
}
.top10-item:not(:last-child) { border-bottom: 1px solid var(--border); }
.top10-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--blue-dark);
  color: #fff;
  font-size: .75rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.top10-info { flex: 1; min-width: 0; }
.top10-song { font-size: .83rem; font-weight: 700; color: var(--foreground); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.top10-artist { font-size: .73rem; color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--blue-dark); color: rgba(255,255,255,.85); padding: 3.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.5fr 2fr 1.5fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-logo { display: flex; align-items: center; gap: .65rem; margin-bottom: 1rem; }
.footer-logo-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1);
  border-radius: .75rem;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem; font-weight: 900;
}
.footer-logo-text { font-size: 1.2rem; font-weight: 800; color: #fff; }
.footer-logo-sub  { font-size: .7rem; color: rgba(255,255,255,.5); }
.footer-desc { font-size: .85rem; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 1.25rem; }
.social-links { display: flex; gap: .5rem; }
.social-link {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.75);
  transition: all .2s;
}
.social-link:hover { background: rgba(255,255,255,.25); color: #fff; }
.footer-section-title { font-size: .85rem; font-weight: 700; color: #fff; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .05em; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { font-size: .85rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-contact-item {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: .75rem;
}
.footer-contact-icon {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.1);
  border-radius: .5rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--blue-glow);
}
.footer-contact-text strong { display: block; font-size: .85rem; color: #fff; }
.footer-contact-text span   { font-size: .75rem; color: rgba(255,255,255,.55); }
.footer-app-btn {
  display: flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: .65rem;
  padding: .55rem .85rem;
  margin-bottom: .6rem;
  transition: all .2s;
}
.footer-app-btn:hover { background: rgba(255,255,255,.15); }
.footer-app-btn svg { flex-shrink: 0; color: #fff; }
.footer-app-label { font-size: .65rem; color: rgba(255,255,255,.6); display: block; }
.footer-app-name  { font-size: .85rem; font-weight: 700; color: #fff; }

.footer-bottom {
  background: rgba(0,0,0,.2);
  padding: 1.1rem 1.25rem;
  margin-top: 1rem;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.5); }
.footer-bottom-links { display: flex; gap: 1.25rem; }
.footer-bottom-links a { font-size: .78rem; color: rgba(255,255,255,.5); transition: color .2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.85); }

/* ============================================================
   ANNOUNCEMENTS (ticker)
   ============================================================ */
.ticker-bar {
  background: linear-gradient(90deg, var(--blue-main), var(--blue-bright));
  color: #fff;
  padding: .6rem 0;
  overflow: hidden;
}
.ticker-inner { display: flex; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; gap: 1rem; }
.ticker-label {
  background: rgba(255,255,255,.2);
  font-size: .72rem; font-weight: 700;
  padding: .2rem .7rem;
  border-radius: 9999px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.ticker-content { font-size: .82rem; overflow: hidden; white-space: nowrap; flex: 1; }
.ticker-text { display: inline-block; animation: ticker 30s linear infinite; }
@keyframes ticker { 0%{transform:translateX(100%)} 100%{transform:translateX(-100%)} }

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-wrapper { display: flex; min-height: 100vh; background: #f1f5f9; }
.admin-sidebar {
  width: 260px;
  background: var(--blue-dark);
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
  overflow-y: auto; flex-shrink: 0;
}
.admin-sidebar-header { padding: 1.25rem 1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-sidebar-logo { font-size: 1.1rem; font-weight: 800; color: #fff; }
.admin-sidebar-sub  { font-size: .72rem; color: rgba(255,255,255,.5); }
.admin-nav { padding: .75rem .5rem; }
.admin-nav-section { font-size: .65rem; font-weight: 700; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .08em; padding: .85rem .85rem .4rem; }
.admin-nav-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .6rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .855rem; color: rgba(255,255,255,.7);
  margin-bottom: .1rem; transition: all .15s; cursor: pointer;
}
.admin-nav-item:hover  { background: rgba(255,255,255,.1); color: #fff; }
.admin-nav-item.active { background: rgba(255,255,255,.15); color: #fff; }
.admin-nav-item svg   { width: 17px; height: 17px; flex-shrink: 0; opacity: .8; }
.admin-content { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.admin-topbar {
  background: #fff; border-bottom: 1px solid var(--border);
  padding: .9rem 1.75rem;
  display: flex; align-items: center; justify-content: space-between;
}
.admin-topbar-title { font-size: 1.05rem; font-weight: 700; color: var(--foreground); }
.admin-main  { flex: 1; padding: 2rem; overflow-y: auto; }
.admin-page-title { font-size: 1.45rem; font-weight: 800; color: var(--foreground); margin-bottom: 1.5rem; }

/* HEADER */

.dashboard-header{
display:flex;
align-items:center;
justify-content:space-between;
margin-bottom:30px;
}

.admin-subtitle{
color:#6b7280;
font-size:.9rem;
margin-top:4px;
}


/* STATS GRID */

.stats-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:20px;
margin-bottom:30px;
}

.stat-card{
display:flex;
align-items:center;
gap:15px;
background:#fff;
padding:18px 20px;
border-radius:12px;
box-shadow:0 4px 15px rgba(0,0,0,.05);
transition:.2s;
}

.stat-card:hover{
transform:translateY(-3px);
box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.stat-icon{
width:45px;
height:45px;
display:flex;
align-items:center;
justify-content:center;
border-radius:10px;
font-size:1.4rem;
}

.stat-value{
font-size:1.6rem;
font-weight:700;
color:#111827;
}

.stat-label{
font-size:.85rem;
color:#6b7280;
}

.dashboard{
padding:30px;
}

.dashboard-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:25px;
}

.dashboard-header h1{
font-size:1.6rem;
margin-bottom:5px;
}

.dashboard-header p{
color:#6b7280;
}

.dashboard-status{
background:#eef2ff;
padding:8px 14px;
border-radius:20px;
font-size:.85rem;
display:flex;
align-items:center;
gap:8px;
}

.online-dot{
width:8px;
height:8px;
background:#22c55e;
border-radius:50%;
}

/* STATS */

.dashboard-stats{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
margin-bottom:30px;
}

.stat-card{
background:#fff;
padding:20px;
border-radius:12px;
display:flex;
gap:15px;
align-items:center;
box-shadow:0 4px 15px rgba(0,0,0,.05);
}

.stat-icon{
font-size:1.5rem;
background:#f1f5f9;
padding:10px;
border-radius:8px;
}

.stat-title{
font-size:.8rem;
color:#6b7280;
}

.stat-number{
font-size:1.4rem;
font-weight:700;
}

/* GRID */

.dashboard-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:25px;
margin-bottom:30px;
}

/* CARDS */

.card{
background:#fff;
border-radius:12px;
padding:20px;
box-shadow:0 4px 15px rgba(0,0,0,.05);
}

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

.card-header h3{
margin-bottom:4px;
}

.card-header p{
font-size:.85rem;
color:#6b7280;
}

/* QUICK ACTIONS */

.quick-actions{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:15px;
}

.quick-btn{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
gap:5px;
background:#f9fafb;
border-radius:10px;
padding:18px;
text-decoration:none;
color:#111;
font-size:.9rem;
transition:.2s;
}

.quick-btn:hover{
background:#eef2ff;
transform:translateY(-2px);
}

/* ACTIVITY */

.activity-list{
list-style:none;
padding:0;
margin:0;
}

.activity-list li{
display:flex;
gap:10px;
margin-bottom:15px;
}

.activity-dot{
width:8px;
height:8px;
background:#3b82f6;
border-radius:50%;
margin-top:6px;
}

.activity-title{
font-size:.9rem;
}

.activity-date{
font-size:.75rem;
color:#6b7280;
}

/* PLAYER STATUS */

.radio-status{
background:linear-gradient(90deg,#1e3a8a,#3b82f6);
color:#fff;
padding:20px;
border-radius:12px;
display:flex;
justify-content:space-between;
align-items:center;
}

.live-dot{
width:10px;
height:10px;
background:#22c55e;
border-radius:50%;
display:inline-block;
margin-right:8px;
}

.btn-player{
background:rgba(255,255,255,.2);
padding:10px 18px;
border-radius:8px;
color:#fff;
text-decoration:none;
font-size:.9rem;
}

.page-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:25px;
}

.admin-page-desc{
color:#6b7280;
font-size:.9rem;
margin-top:4px;
}

/* CARDS */

.card{
background:#fff;
border-radius:14px;
border:1px solid #e5e7eb;
margin-bottom:22px;
overflow:hidden;
}

.card-header{
padding:18px 22px;
border-bottom:1px solid #f1f5f9;
}

.card-header h3{
font-size:16px;
font-weight:600;
}

.card-header p{
font-size:13px;
color:#6b7280;
margin-top:4px;
}

.card-content{
padding:22px;
}

/* GRID */

.grid-2{
grid-template-columns:repeat(2,1fr);
}

.grid-3{
grid-template-columns:repeat(3,1fr);
}

.form-grid{
display:grid;
gap:18px;
margin-bottom:18px;
}

/* INPUTS */

.form-input{
width:100%;
padding:10px 12px;
border:1px solid #e5e7eb;
border-radius:8px;
font-size:.9rem;
}

.form-input:focus{
outline:none;
border-color:#6366f1;
box-shadow:0 0 0 2px rgba(99,102,241,0.1);
}

/* LOGO */

.logo-upload{
display:flex;
gap:10px;
margin-top:6px;
}

.logo-preview{
margin-top:10px;
max-height:80px;
border-radius:6px;
border:1px solid #e5e7eb;
padding:4px;
}

/* CORES */

.color-input{
display:flex;
gap:10px;
align-items:center;
}

.color-input input[type=color]{
width:50px;
height:40px;
border:none;
cursor:pointer;
}

/* BOTÕES */

.form-actions{
display:flex;
justify-content:flex-end;
gap:10px;
margin-top:25px;
}

/* COLORS */

.stat-radio .stat-icon{background:#e0ecff}
.stat-news .stat-icon{background:#e7f9ed}
.stat-programs .stat-icon{background:#fff4db}
.stat-polls .stat-icon{background:#efe7ff}



/* TABLE */

.modern-table{
background:#fff;
border-radius:12px;
box-shadow:0 4px 20px rgba(0,0,0,.05);
overflow:hidden;
}

.table-header{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px;
border-bottom:1px solid #eee;
}

.table-title{
font-weight:700;
font-size:1.1rem;
}

.table-subtitle{
font-size:.8rem;
color:#6b7280;
}

table{
width:100%;
border-collapse:collapse;
}

thead{
background:#f9fafb;
}

th{
text-align:left;
font-size:.8rem;
color:#6b7280;
padding:12px 20px;
font-weight:600;
}

td{
padding:14px 20px;
border-top:1px solid #f3f4f6;
}

.news-title{
font-weight:600;
max-width:350px;
}

.muted{
color:#6b7280;
}

.small{
font-size:.8rem;
}

.views{
font-weight:600;
}

.badge-info{
background:#e0ecff;
color:#1e3a8a;
padding:4px 8px;
border-radius:6px;
font-size:.75rem;
}

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.stat-card {
  background: #fff; border-radius: var(--radius); padding: 1.25rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  display: flex; align-items: center; gap: 1rem;
}
.stat-icon {
  width: 48px; height: 48px; border-radius: .75rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.stat-value { font-size: 1.55rem; font-weight: 800; color: var(--foreground); }
.stat-label { font-size: .78rem; color: var(--muted); }

/* Tables */
.table-wrap { background: #fff; border-radius: var(--radius); box-shadow: 0 2px 12px rgba(0,0,0,.06); overflow: hidden; }
.table-header { padding: 1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: .75rem; }
.table-title  { font-size: .95rem; font-weight: 700; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .75rem 1rem; text-align: left; font-size: .875rem; }
th { background: #f8fafc; color: var(--muted); font-weight: 600; font-size: .77rem; text-transform: uppercase; letter-spacing: .04em; }
tr:not(:last-child) td { border-bottom: 1px solid var(--border); }
tr:hover td { background: #f8fafc; }

/* Badges */
.badge { display: inline-flex; align-items: center; padding: .2rem .65rem; border-radius: 9999px; font-size: .7rem; font-weight: 600; }
.badge-active    { background: #dcfce7; color: #16a34a; }
.badge-suspended { background: #fee2e2; color: #dc2626; }
.badge-premium   { background: #fef9c3; color: #854d0e; }
.badge-basic     { background: #e0f2fe; color: #0369a1; }
.badge-enterprise{ background: #f3e8ff; color: #7e22ce; }
.badge-live      { background: var(--red); color: #fff; animation: blink 1.5s infinite; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .55rem 1.2rem; border-radius: var(--radius-sm); font-size: .875rem; font-weight: 600; cursor: pointer; border: none; transition: all .2s; font-family: inherit; }
.btn-primary { background: var(--blue-main); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-accent  { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-outline { background: transparent; color: var(--blue-main); border: 1.5px solid var(--blue-main); }
.btn-outline:hover { background: var(--blue-main); color: #fff; }
.btn-ghost { background: transparent; color: var(--foreground); }
.btn-ghost:hover { background: var(--bg); }
.btn-sm { padding: .3rem .75rem; font-size: .78rem; }
.btn-danger { background: #ef4444; color: #fff; }
.btn-danger:hover { background: #dc2626; }
.btn-warning { background: #f59e0b; color: #fff; }

/* Forms */
.form-group  { margin-bottom: 1rem; }
.form-label  { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .4rem; color: var(--foreground); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: .6rem .9rem; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: .875rem; background: #fff;
  color: var(--foreground); transition: border-color .2s; font-family: inherit;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--blue-main); box-shadow: 0 0 0 3px rgba(26,59,204,.1);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1rem; }
.form-actions { display: flex; gap: .75rem; margin-top: 1.25rem; }
.form-section { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 2px 12px rgba(0,0,0,.06); margin-bottom: 1.5rem; }
.form-section-title { font-size: .95rem; font-weight: 700; margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); }

/* Alert */
.alert { padding: .85rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; display: flex; align-items: flex-start; gap: .6rem; font-size: .875rem; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-info    { background: #e0f2fe; color: #075985; border: 1px solid #7dd3fc; }

/* Search */
.search-box { position: relative; }
.search-box input { padding-left: 2.4rem; }
.search-box-icon { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: var(--muted); width: 16px; height: 16px; pointer-events: none; }

/* Login */
.login-page { min-height: 100vh; background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-main) 100%); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.login-box { background: #fff; border-radius: 1.25rem; padding: 2.5rem; width: 100%; max-width: 420px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.login-logo { text-align: center; margin-bottom: 2rem; }
.login-logo-icon { width: 64px; height: 64px; background: linear-gradient(135deg, var(--blue-main), var(--blue-bright)); border-radius: 1rem; display: flex; align-items: center; justify-content: center; margin: 0 auto .75rem; }
.login-title { font-size: 1.4rem; font-weight: 800; color: var(--foreground); margin-bottom: .25rem; }
.login-sub { font-size: .85rem; color: var(--muted); }

/* SiteMaster */
.sm-header { background: linear-gradient(135deg, var(--blue-dark), #1a4731); }
.sm-stat-primary { background: rgba(26,59,204,.1); color: var(--blue-main); }
.sm-stat-success { background: rgba(34,197,94,.1); color: #16a34a; }
.sm-stat-warning { background: rgba(245,158,11,.1); color: #b45309; }
.sm-stat-purple  { background: rgba(139,92,246,.1); color: #7c3aed; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .news-layout  { grid-template-columns: 1fr; }
  .news-sidebar { grid-template-columns: repeat(2,1fr); display: grid; }
  .video-layout { grid-template-columns: 1fr; }
  .video-ads    { flex-direction: row; }
  .prog-layout  { grid-template-columns: 1fr; }
  .mural-grid   { grid-template-columns: 1fr; }
  .hero-slide-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
}
@media (max-width: 768px) {
  .top-bar { display: none; }
  .header-banner { display: none; }
  .site-nav a { padding: .6rem .7rem; font-size: .78rem; }
  .admin-sidebar { display: none; }
  .admin-sidebar.open { display: flex; position: fixed; inset: 0; width: 260px; z-index: 300; }
  .news-sidebar { grid-template-columns: 1fr; }
  .video-grid-main { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .wa-banner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .video-grid-main { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.8rem; }
}
