/* Modern Front-End Theme */
:root {
  --bg-dark: #0d0d1a;
  --bg-card: rgba(18,18,35,0.95);
  --accent: #e62948;
  --accent-hover: #ff3d5a;
  --text: #e0e0e0;
  --text-muted: #888;
  --border: rgba(255,255,255,0.06);
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
}

body {
  font-family: 'Roboto', 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 25px 30px;
  margin-top: 30px;
  margin-bottom: 30px;
  border: 1px solid var(--border);
}

/* Headings */
h1 {
  color: #fff;
  font-size: 26px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  padding-left: 18px;
}
h1:before {
  background: linear-gradient(180deg, var(--accent), var(--accent-hover));
  border-radius: 3px;
  width: 5px;
}
h2 { color: var(--accent); font-size: 20px; }
h3, h4, h5 { color: #ccc; }

/* Navigation */
header { background: rgba(10,10,25,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(230,41,72,0.3); }
.navbar-default { background: transparent !important; border: none !important; }
.navbar-brand { padding: 8px 15px; }
.navbar-brand img { max-height: 45px; }
.navbar-default .navbar-nav > li > a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 15px 12px;
  transition: all 0.2s;
  text-transform: uppercase;
}
.navbar-default .navbar-nav > li > a:hover { color: var(--accent) !important; }
.navbar-default .navbar-nav > .active > a {
  color: var(--accent) !important;
  border-bottom: 2px solid var(--accent);
}

/* Home Slider */
/* Mobile menu fix */
@media (max-width: 992px) {
  .navbar-default .nav_wrapper {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 280px !important;
    height: 100%;
    z-index: 99999;
    background: #0f0f1a;
    overflow-y: auto;
    transform: none !important;
  }
}
@media (min-width: 993px) {
  .navbar-default .nav_wrapper { display: block !important; }
}
.navbar-toggle { cursor: pointer; z-index: 100001; position: relative; }
#home-slider .container { background: transparent !important; box-shadow: none; padding: 0; border: none; margin-top: 0; margin-bottom: 0; }
#flex-home { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 250px; max-height: 420px; }
.slides-wrapper { scroll-behavior: smooth; }
.slides-wrapper::-webkit-scrollbar { height: 6px; }
.slides-wrapper::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 3px; }
#homeSliderNav, .slider-nav { display: none; }
.flex-caption { background: linear-gradient(transparent, rgba(0,0,0,0.8)); padding: 20px; }
.flex-caption h2 { color: #fff; font-size: 22px; }

/* Event / News / Videos feeds */
.event-feed, .news-feed {
  background: rgba(255,255,255,0.03);
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.event-feed h5, .news-feed h5 { color: #fff; }
.event-feed p, .news-feed p { color: var(--text-muted); font-size: 13px; }

/* Cards for sections */
#updates { padding: 20px 0; }
#updates .col-lg-3, #updates .col-md-3 {
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  margin-bottom: 15px;
}

/* Images */
img { border-radius: 8px; }
.top5 { border-radius: 10px; border-color: rgba(255,255,255,0.1); }
.thumb-pic { border-radius: 8px; }

/* Buttons */
.btn-primary {
  background: var(--accent);
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* Links */
a { color: var(--accent); transition: color 0.2s; }
a:hover { color: var(--accent-hover); text-decoration: none; }

/* Footer */
footer, .footer {
  background: rgba(10,10,25,0.95);
  padding: 30px 0;
  margin-top: 40px;
  border-top: 2px solid var(--accent);
}

/* Forms */
input[type="text"], input[type="email"], input[type="password"], input[type="number"], textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
}
input:focus, textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(230,41,72,0.15);
}
select {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 8px 12px;
}

/* Banner / App buttons */
.banner-app { text-align: center; margin: 15px 0; }
.banner-app img { max-height: 50px; margin: 5px; border-radius: 10px; }

/* Photo gallery */
.photo-gallery .col-md-3 {
  padding: 8px;
  border-radius: var(--radius);
  overflow: hidden;
}
.photo-gallery img {
  border-radius: var(--radius);
  transition: transform 0.3s;
}
.photo-gallery img:hover { transform: scale(1.03); }

/* Responsive */
@media (max-width: 768px) {
  .container { padding: 15px; margin-top: 15px; }
  h1 { font-size: 20px; }
  .navbar-default .navbar-nav > li > a { font-size: 13px; padding: 10px 8px; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0a14; }
::-webkit-scrollbar-thumb { background: #2a2a3d; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* Calendar */
.event_calender { background: rgba(255,255,255,0.03); border-radius: var(--radius); padding: 10px; }

/* Social icons in header */
.player-social a { display: inline-block; }
.celularimg { border-radius: 50%; width: 28px; height: 28px; }

/* Pulse animation for online dot */
@-webkit-keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Anunciantes */
#albums .album { display:inline-block; width:200px; height:200px; margin:8px; overflow:hidden; border-radius:var(--radius); position:relative; }
#albums .album img { width:100%; height:100%; object-fit:cover; }
#albums .album .hover { position:absolute; bottom:0; left:0; right:0; background:rgba(0,0,0,0.7); padding:10px; text-align:center; }
#albums .album .hover h3 { color:#fff; font-size:14px; margin:5px 0 0; }
#albums .album .hover ul { list-style:none; padding:0; margin:0; }
#albums .album .hover ul li { display:inline; }
#albums .album .hover ul li a { color:#e62948; font-size:20px; }

/* Ensure footer is always visible */
html, body { min-height: 100vh; }
footer { clear: both; display: block; }

/* Locutor No Ar */
#updates h1 { margin-top: 25px; }
#updates h1:first-child { margin-top: 0; }
#updates .col-lg-3 img, #updates .col-md-3 img {
  border-radius: 50%;
  border: 3px solid var(--accent);
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin: 10px 0;
}
#updates .event-feed {
  text-align: center;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 15px;
  margin-top: 10px;
}
#updates .event-feed h5 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 4px;
}
#updates .event-feed p {
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
}

/* Banner app */
.banner-app img {
  max-width: 140px;
  margin: 5px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.2s;
}
.banner-app img:hover { transform: scale(1.05); }

/* Locutor no player bar */
#audio-player iframe {
  border: none;
  vertical-align: middle;
  max-width: 100%;
  height: 22px;
}
