:root {
  --azul-liberdade: #0077FF;
  --azul-profundo: #001B44;
  --vermelho-liberdade: #FF1E3C;
  --vermelho-escuro: #8A0D18;
  --carvao: #0B0F17;
  --branco: #F5F7FA;
  --vidro: rgba(255, 255, 255, 0.08);
  --linha: rgba(255, 255, 255, 0.14);
  --texto: #EAF1FF;
  --muted: #9EACBF;
  --glow-blue: 0 0 34px rgba(0, 119, 255, 0.55);
  --glow-red: 0 0 34px rgba(255, 30, 60, 0.35);
}

/* ================= RESET & BASE ================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  background:
    radial-gradient(circle at 8% 0%, rgba(0, 119, 255, 0.16), transparent 34%),
    radial-gradient(circle at 100% 12%, rgba(255, 30, 60, 0.09), transparent 28%),
    linear-gradient(145deg, #05070C 0%, #09111f 48%, #03050A 100%);
  color: var(--texto);
  min-height: 100vh;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle, #000 0%, transparent 72%);
  opacity: 0.35;
}

/* ================= HEADER & NAV ================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px clamp(18px, 4vw, 64px);
  background: rgba(3, 6, 12, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--linha);
}

.brand img,
.admin-sidebar img,
.footer-pro img {
  width: 230px;
  max-width: 48vw;
  filter: drop-shadow(var(--glow-blue));
}

.nav,
.nav-desktop {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.nav-desktop {
  flex: 1;
}

.nav a,
.nav-drop {
  color: var(--texto);
  text-decoration: none;
  font-weight: 800;
  opacity: 0.82;
}

.nav a:hover,
.nav-drop:hover {
  color: #fff;
  text-shadow: var(--glow-blue);
}

.top-search {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--linha);
}

.top-search input {
  width: 180px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--linha);
  color: var(--texto);
  outline: none;
}

.top-search button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, var(--azul-liberdade), #1EA5FF);
  color: white;
  cursor: pointer;
}

#searchInput:focus {
  border-color: var(--azul-liberdade) !important;
  box-shadow: 0 0 15px rgba(0, 119, 255, 0.3);
  width: 240px;
  transition: all 0.3s ease;
}

/* Dropdown & Mega Menu */
.dropdown {
  position: relative;
  padding: 18px 0;
  margin: -18px 0;
}

.nav-drop {
  border: 0;
  background: transparent;
  color: var(--texto);
  font-weight: 900;
  cursor: pointer;
  font-size: 1rem;
}

.dropdown-menu {
  position: absolute;
  top: 54px;
  left: 0;
  min-width: 230px;
  display: none;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--linha);
  background: rgba(5, 8, 15, 0.96);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
  z-index: 70;
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  display: grid;
  gap: 8px;
}

.dropdown-menu a {
  color: #DDE8FF;
  text-decoration: none;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  font-weight: 800;
}

.dropdown-menu a:hover {
  background: rgba(0, 119, 255, 0.18);
  color: #fff;
}

.mega-trigger {
  border: 1px solid var(--linha);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 900;
  cursor: pointer;
}

.mega-menu {
  position: absolute;
  right: clamp(18px, 4vw, 64px);
  top: 86px;
  width: min(820px, calc(100vw - 36px));
  display: none;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 22px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(5, 8, 15, 0.94);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55), 0 0 38px rgba(0, 119, 255, 0.20);
  backdrop-filter: blur(22px);
  z-index: 50;
}

.mega-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -22px;
  height: 22px;
}

.mega-menu.active {
  display: grid;
}

.mega-links {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.mega-links a {
  color: #DDE8FF;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.045);
  padding: 12px 14px;
  border-radius: 16px;
  font-weight: 800;
}

.mega-links a:hover {
  background: rgba(0, 119, 255, 0.16);
}

.mega-card {
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(145deg, rgba(0, 119, 255, 0.24), rgba(255, 30, 60, 0.10)), rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.mega-card p {
  color: var(--muted);
}

/* ================= BUTTONS ================= */
.btn {
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.25s transform, 0.25s box-shadow, 0.25s opacity;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #006BE8, #1EA5FF 62%, #D92A40);
  box-shadow: 0 0 26px rgba(0, 119, 255, 0.36), 0 0 18px rgba(255, 30, 60, 0.14);
}

.topbar .btn-primary {
  padding: 11px 18px;
}

.btn-ghost {
  color: #fff;
  border: 1px solid var(--linha);
  background: var(--vidro);
}

.btn-danger {
  color: #fff;
  background: linear-gradient(135deg, #8A0D18, #FF1E3C);
}

.section-more {
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--linha);
  background: rgba(255, 255, 255, 0.06);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
  padding: 70px clamp(18px, 5vw, 80px);
  --hero-image: url("../img/default-radio.jpg");
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 7, 12, 0.92) 0%, rgba(5, 7, 12, 0.76) 44%, rgba(5, 7, 12, 0.35) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  opacity: 0.22 !important;
  filter: saturate(1.05);
}

.hero>* {
  position: relative;
  z-index: 1;
}

.kicker,
.eyebrow {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #4BB0FF;
  font-weight: 900;
}

.hero h1 {
  font-size: clamp(2.7rem, 6vw, 6.8rem);
  line-height: 0.92;
  margin: 18px 0;
  background: linear-gradient(180deg, #fff, #C9D5EA) !important;
  -webkit-background-clip: text !important;
  color: transparent !important;
  text-shadow: 0 22px 70px rgba(0, 119, 255, 0.16);
}

.hero p {
  font-size: 1.2rem;
  max-width: 680px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 40px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  border: 1px solid var(--linha);
  border-radius: 32px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
  background: linear-gradient(145deg, rgba(5, 7, 12, 0.72), rgba(5, 7, 12, 0.46)),
    var(--card-bg, url("../img/default-radio.jpg")),
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
  background-size: cover;
  background-position: center;
}

.live-orb {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, #00A8FF, rgba(0, 119, 255, 0.15) 55%, transparent 70%);
  box-shadow: var(--glow-blue);
  animation: pulse 3s infinite;
}

@keyframes pulse {
  50% {
    transform: scale(1.08);
    filter: hue-rotate(20deg);
  }
}

.hero-particle {
  position: absolute;
  z-index: 2;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4BB0FF, #FF3852);
  pointer-events: none;
  animation: particleFloat 2.1s ease-out forwards;
  box-shadow: 0 0 18px rgba(75, 176, 255, 0.55);
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.4);
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(-120px) translateX(40px) scale(1.6);
  }
}

.radio-playing .hero-card,
.radio-playing .hero-copy {
  animation: radioPulse 1.8s infinite ease-in-out;
}

@keyframes radioPulse {
  50% {
    filter: drop-shadow(0 0 26px rgba(0, 119, 255, 0.35));
  }
}

/* ================= NEWS & CARDS ================= */
.section {
  padding: 36px clamp(18px, 5vw, 80px);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin: 0.2em 0;
}

.news-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 22px;
  align-items: start;
}

.featured-grid,
.category-page-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.news-card {
  min-height: 330px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--vidro);
  border: 1px solid var(--linha);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.23);
}

.news-card:hover {
  transform: translateY(-8px);
  border-color: var(--azul-liberdade);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.35), 0 0 24px rgba(0, 119, 255, 0.28), var(--glow-blue);
}

.news-card.big {
  grid-column: span 2;
  grid-row: span 2;
  min-height: auto;
}

.news-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #111;
}

.news-card.big img {
  height: 420px;
}

.news-card-body {
  padding: 18px;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.92), rgba(9, 13, 24, 0.98));
}

.tag {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.72rem;
  font-weight: 900;
  background: linear-gradient(135deg, #0077FF, #245BFF 56%, #FF3852);
  color: white;
  margin-bottom: 12px;
}

.news-card h3 {
  font-size: 1.18rem;
  margin: 6px 0;
  letter-spacing: -0.02em;
}

.news-card.big h3 {
  font-size: 2rem;
}

.news-card p,
.news-card .card-excerpt {
  display: none !important;
}

.news-card small,
.card-meta-line small {
  display: block;
  color: #89A3C7;
  margin: 8px 0 0;
  font-weight: 800;
}

.card-meta-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.card-meta-line small {
  white-space: nowrap;
  color: #9FB3D2;
}

.latest-panel {
  padding: 24px;
  align-self: start;
  position: sticky;
  top: 110px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at top right, rgba(0, 119, 255, 0.15), transparent 38%);
  border-radius: 28px;
  border: 1px solid var(--linha);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
}

.latest-panel h3 {
  margin-top: 0;
  color: #fff;
}

.latest-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--linha);
  cursor: pointer;
}

.latest-item:hover {
  color: #fff;
  text-shadow: var(--glow-blue);
}

.category-section {
  margin-bottom: 36px;
}

.category-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding: 0 0 14px;
  border-top: 0;
  border-bottom: 2px solid currentColor !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #4BB0FF;
}

.category-title h2 {
  font-size: 2rem;
  color: #fff;
  margin: 0;
}

.category-section:nth-child(2n) .category-title {
  color: #FF3852;
}

.category-section:nth-child(3n) .category-title {
  color: #00C16E;
}

.category-section:nth-child(4n) .category-title {
  color: #FFB800;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.category-grid .news-card {
  min-height: 300px;
  border-color: color-mix(in srgb, currentColor 35%, rgba(255, 255, 255, 0.14));
}

.category-grid .news-card:first-child {
  grid-column: span 2;
}

.category-grid .news-card:first-child img {
  height: 240px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.panel {
  padding: 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--linha);
  border-radius: 32px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
}

/* ================= BANNERS & EVENTS ================= */
.events-grid,
.promo-list,
.schedule,
.banner-gallery,
.banner-clean-grid {
  display: grid;
  gap: 14px;
}

.banner-gallery,
.banner-clean-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.event-item,
.promo-item,
.schedule div {
  padding: 18px;
  border: 1px solid var(--linha);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
}

.event-item time {
  display: inline-flex;
  margin-bottom: 10px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--azul-liberdade), var(--vermelho-liberdade));
  border-radius: 999px;
  padding: 7px 12px;
}

.event-item h3,
.promo-item h3 {
  margin: 6px 0;
}

.promo-panel,
.banner-panel {
  background: linear-gradient(145deg, rgba(0, 119, 255, 0.2), rgba(255, 30, 60, 0.13));
}

.banner-panel {
  position: relative;
  overflow: hidden;
  --banner-image: url("../img/default-radio.jpg");
}

.banner-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 7, 12, 0.88), rgba(5, 7, 12, 0.42)), var(--banner-image);
  background-size: cover;
  background-position: center;
  opacity: 0.7;
}

.banner-panel>* {
  position: relative;
  z-index: 1;
}

.banner-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 24px;
  border-radius: 28px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  position: relative;
  border: 1px solid var(--linha);
  --bg: url("../img/default-radio.jpg");
  background: linear-gradient(180deg, rgba(5, 7, 12, 0.16), rgba(5, 7, 12, 0.92)), var(--bg);
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.banner-card span {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(0, 119, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.banner-card h3 {
  font-size: 1.45rem;
  margin: 0 0 8px;
}

.banner-card p {
  color: #D4DEEF;
}

.banner-card strong {
  color: #fff;
}

.event-card-pro {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--linha);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: 0.25s;
}

.event-card-pro:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(0, 119, 255, 0.16);
}

.event-card-pro img {
  width: 160px;
  height: 130px;
  object-fit: cover;
  border-radius: 18px;
}

.event-card-info time {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(0, 119, 255, 0.18);
  color: #9DD0FF;
  font-weight: 900;
}

.event-card-info h3 {
  margin: 10px 0 6px;
}

.event-card-info p {
  color: var(--muted);
}

.promo-slider {
  display: flex !important;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

.promo-slide {
  min-width: min(420px, 88vw);
  scroll-snap-align: start;
  border: 1px solid var(--linha);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
}

.promo-slide img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.promo-slide>div {
  padding: 20px;
}

.promo-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.compact-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  overflow: visible !important;
  padding: 0 !important;
}

.compact-media-card {
  position: relative;
  min-height: 138px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--linha);
  cursor: pointer;
  background: #07101f;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
  transition: 0.22s ease;
}

.compact-media-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 119, 255, 0.42);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.32), 0 0 20px rgba(0, 119, 255, 0.12);
}

.compact-media-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
  transform: scale(1.01);
}

.compact-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  background: linear-gradient(90deg, rgba(5, 8, 15, 0.94) 0%, rgba(5, 8, 15, 0.74) 48%, rgba(5, 8, 15, 0.24) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent 60%);
}

.compact-pill {
  width: max-content;
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 119, 255, 0.95), rgba(255, 30, 60, 0.82));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.compact-media-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.12rem;
  line-height: 1.12;
  max-width: 78%;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.compact-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.compact-meta small {
  color: #D8E6FF;
  font-weight: 800;
  font-size: 0.82rem;
}

.compact-meta a {
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
}

.compact-promo-card .compact-pill {
  background: linear-gradient(135deg, rgba(255, 30, 60, 0.95), rgba(255, 184, 0, 0.85));
}

/* ================= DETAIL PAGE ================= */
.detail-wrap {
  padding: 48px clamp(18px, 5vw, 80px);
}

.detail-article {
  max-width: 1060px;
  margin: auto;
  border: 1px solid var(--linha);
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
}

.detail-hero img {
  width: 100%;
  height: min(560px, 55vw);
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.detail-content {
  padding: clamp(24px, 5vw, 56px);
}

.detail-content h1 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.98;
  margin: 18px 0;
  color: #fff;
}

.detail-meta,
.share-box {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--linha);
  border-bottom: 1px solid var(--linha);
  margin: 22px 0;
  color: var(--muted);
}

.share-box a,
.share-box button {
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--linha);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  padding: 10px 14px;
  cursor: pointer;
}

.rating-box,
.comments-box {
  margin-top: 34px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid var(--linha);
  background: rgba(255, 255, 255, 0.045);
}

.stars button {
  font-size: 2rem;
  background: transparent;
  border: 0;
  color: #FFCB05;
  cursor: pointer;
}

.comment-form {
  display: grid;
  gap: 12px;
}

.comment-item {
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--linha);
  background: rgba(255, 255, 255, 0.05);
}

.comment-item small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.muted {
  color: var(--muted);
}

/* ================= PLAYER & LIVE / CHAT ================= */
.player {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  width: min(610px, calc(100vw - 48px));
  display: none;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(5, 7, 12, 0.92);
  border: 1px solid rgba(0, 119, 255, 0.45);
  box-shadow: var(--glow-blue);
  backdrop-filter: blur(18px);
}

.player.active {
  display: flex;
  animation: slideUp 0.5s ease;
  border-radius: 20px;
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--azul-liberdade);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.player-info {
  min-width: 190px;
}

.player span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.player audio {
  width: 240px;
}

.player-close,
.modal-close {
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

.player-play {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #0077FF, #1EA5FF 60%, #FF3852);
  box-shadow: 0 0 24px rgba(0, 119, 255, 0.35);
}

.player-bars {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 36px;
  opacity: 0.45;
}

.player.playing .player-bars {
  opacity: 1;
}

.player-bars i:nth-child(1) {
  height: 14px;
  animation: eq 0.8s infinite;
}

.player-bars i:nth-child(2) {
  height: 30px;
  animation: eq 0.95s infinite;
}

.player-bars i:nth-child(3) {
  height: 20px;
  animation: eq 0.75s infinite;
}

.player-bars i:nth-child(4) {
  height: 34px;
  animation: eq 1.05s infinite;
}

@keyframes eq {
  50% {
    transform: scaleY(0.45);
    opacity: 0.6;
  }
}

.equalizer {
  display: flex;
  gap: 7px;
  align-items: end;
  height: 70px;
  margin-bottom: auto;
}

.equalizer i {
  width: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #4BB0FF);
  animation: eq 1.1s infinite ease-in-out;
}

.equalizer i:nth-child(1) {
  height: 22px;
  animation-delay: 0.1s;
}

.equalizer i:nth-child(2) {
  height: 48px;
  animation-delay: 0.2s;
}

.equalizer i:nth-child(3) {
  height: 32px;
  animation-delay: 0.3s;
}

.equalizer i:nth-child(4) {
  height: 62px;
  animation-delay: 0.4s;
}

.equalizer i:nth-child(5) {
  height: 38px;
  animation-delay: 0.5s;
}

.live-section {
  padding-top: 20px;
}

.live-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 20px;
}

.live-video,
.radio-chat {
  border: 1px solid var(--linha);
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.35);
}

.live-video iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  display: block;
  background: #000;
}

.live-half {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr) !important;
  align-items: stretch;
}

.live-half .live-video iframe {
  aspect-ratio: 16/9;
}

.live-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 30px;
  background: rgba(5, 7, 12, 0.92);
}

.channel-videos {
  border: 1px solid var(--linha);
  border-radius: 30px;
  padding: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.035));
}

.channel-videos h3 {
  margin-top: 0;
}

#channelVideosGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

#channelVideosGrid iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 14px;
  background: #000;
}

.radio-chat {
  padding: 22px;
}

.radio-chat h3 {
  margin-top: 0;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-msg {
  background: white;
  padding: 8px 12px;
  border-radius: 12px;
  border-top-left-radius: 0;
  /* Estilo bolha recebida */
  max-width: 85%;
  align-self: flex-start;
  position: relative;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  word-wrap: break-word;
}

.chat-msg strong {
  color: #35cd96;
  /* Verde nomes WhatsApp */
  font-size: 0.85rem;
  display: block;
  margin-bottom: 2px;
}

.chat-msg span {
  color: #303030;
  font-size: 0.95rem;
}

.chat-msg .time {
  font-size: 0.65rem;
  color: #999;
  float: right;
  margin-top: 5px;
  margin-left: 10px;
}

.chat-form {
  background: #f0f0f0;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-form input,
.chat-form textarea {
  border-radius: 20px !important;
  /* Arredondado estilo input zap */
  border: 1px solid #ddd !important;
  padding: 10px 15px !important;
  background: white !important;
  color: #333 !important;
}

.emoji-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 5px;
}

.emoji-row button {
  background: white;
  border: 1px solid #ddd;
  border-radius: 50% !important;
  width: 35px;
  height: 35px;
  cursor: pointer;
  transition: 0.2s;
}

.chat-floating {
  position: fixed;
  right: 22px;
  bottom: 100px;
  z-index: 85;
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #0077FF, #1EA5FF 55%, #FF3852);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 0 30px rgba(0, 119, 255, 0.45);
  cursor: pointer;
}

.chat-floating:not(.hidden)::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  right: 8px;
  top: 6px;
  border-radius: 50%;
  background: #74FFAD;
  box-shadow: 0 0 0 6px rgba(116, 255, 173, 0.16);
}



.chat-drawer {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(430px, 94vw);
  transform: translateX(110%);
  transition: 0.25s;
  z-index: 90;
  background: rgba(5, 8, 15, 0.96);
  background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
  border-left: 1px solid var(--linha);
  box-shadow: -30px 0 90px rgba(0, 0, 0, 0.45);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.chat-drawer-head {
  background: #075e54;
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.chat-drawer.active {
  transform: translateX(0);
}

.chat-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.chat-drawer-head strong {
  display: block;
  color: #fff;
  font-size: 1.2rem;
}

.chat-drawer-head span {
  color: #74FFAD;
  font-size: 0.85rem;
}

.chat-drawer-head button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--linha);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.chat-drawer .chat-messages {
  flex: 1;
  height: auto;
}

.status-alert {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  font-weight: 900;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--linha);
  margin: 0 8px 14px 0;
}

#youtubeAlert {
  box-shadow: 0 0 24px rgba(255, 30, 60, 0.22);
}

#chatAlert {
  box-shadow: 0 0 24px rgba(0, 119, 255, 0.25);
}

/* ================= MODAL & TOAST ================= */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(920px, 96vw);
  max-height: 92vh;
  overflow: auto;
  padding: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--linha);
  border-radius: 32px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
}

.modal-card img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 18px;
}

.modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
}

.modal-content {
  color: #DDE7F8;
  line-height: 1.7;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(40px);
  opacity: 0;
  z-index: 99;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--azul-liberdade), var(--vermelho-liberdade));
  box-shadow: var(--glow-blue);
  font-weight: 900;
  transition: 0.25s;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ================= ADMIN & DASHBOARD ================= */
.admin-body {
  background: linear-gradient(140deg, #05070C 0%, #0B0F17 50%, #01040A 100%);
}

.login-card {
  max-width: 470px;
  margin: 7vh auto;
  padding: 34px;
  text-align: center;
  position: relative;
}

.login-card img {
  width: 270px;
  max-width: 100%;
  filter: drop-shadow(var(--glow-blue));
}

.clean-form,
.entity-form {
  display: grid;
  gap: 16px;
  text-align: left;
}

.clean-form label,
.entity-form label {
  display: grid;
  gap: 8px;
  color: #C8D3E7;
  font-weight: 800;
}

.entity-form {
  grid-template-columns: 1fr 1fr;
}

.entity-form .full {
  grid-column: 1 / -1;
}

.entity-form textarea {
  min-height: 140px;
  resize: vertical;
}

.entity-form small {
  color: var(--muted);
  font-size: 0.78rem;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  position: sticky;
  bottom: -26px;
  background: rgba(5, 7, 12, 0.9);
  padding: 18px 0 0;
}

.dashboard {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 100vh;
  border-radius: 0;
}

.admin-sidebar {
  padding: 28px;
  background: rgba(0, 0, 0, 0.28);
  border-right: 1px solid var(--linha);
}

.admin-sidebar button {
  width: 100%;
  text-align: left;
  border: 1px solid var(--linha);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 18px;
  padding: 15px 16px;
  margin-bottom: 10px;
  font-weight: 900;
  cursor: pointer;
}

.admin-sidebar button.active {
  background: linear-gradient(135deg, var(--azul-liberdade), var(--vermelho-liberdade));
  box-shadow: var(--glow-blue);
}

.admin-content {
  padding: 32px;
  min-width: 0;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.toolbar-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.toolbar-actions input {
  min-width: 260px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--linha);
  color: var(--texto);
  border-radius: 18px;
  padding: 14px 16px;
  outline: none;
}

.admin-helper {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--linha);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  margin-bottom: 18px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}

.admin-stats div {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--linha);
}

.admin-stats strong {
  display: block;
  font-size: 2rem;
  color: #fff;
}

.admin-stats span {
  color: var(--muted);
  font-weight: 800;
}

.admin-list {
  display: grid;
  gap: 14px;
}

.admin-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--linha);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.admin-thumb {
  width: 80px;
  height: 62px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  color: white;
  background: linear-gradient(135deg, var(--azul-liberdade), var(--vermelho-liberdade));
  object-fit: cover;
}

.banner-thumb {
  width: 150px;
  height: 90px;
}

.admin-item strong {
  font-size: 1rem;
}

.admin-item small,
.admin-item p {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-actions button {
  border: 1px solid var(--linha);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}

.confirm-card {
  width: min(500px, 96vw);
  text-align: center;
}

.confirm-card p {
  color: var(--muted);
  line-height: 1.6;
}

.confirm-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.badges {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.status {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status.published {
  background: rgba(21, 212, 107, 0.16);
  color: #74FFAD;
  border: 1px solid rgba(21, 212, 107, 0.35);
}

.status.draft {
  background: rgba(255, 30, 60, 0.14);
  color: #FF8FA0;
  border: 1px solid rgba(255, 30, 60, 0.32);
}

.switch-line {
  align-content: center;
  grid-template-columns: 1fr auto !important;
  display: grid !important;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--linha);
  border-radius: 18px;
  padding: 14px;
}

.switch-line input {
  width: 22px;
  height: 22px;
}

.form-section-title {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 119, 255, 0.18), rgba(255, 30, 60, 0.10));
  border: 1px solid var(--linha);
  color: #fff;
  font-weight: 900;
}

.banner-guide {
  margin-bottom: 18px;
}

.banner-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.banner-map-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--linha);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
}

.banner-map-card strong {
  display: block;
  font-size: 1.15rem;
  color: #fff;
}

.banner-map-card span {
  display: inline-flex;
  margin: 8px 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 119, 255, 0.16);
  color: #9DD0FF;
  font-weight: 900;
  font-size: 0.78rem;
}

.banner-map-card p {
  color: var(--muted);
  margin: 0;
}

.hero-pos {
  box-shadow: inset 0 0 0 1px rgba(0, 119, 255, 0.22);
}

.middle-pos {
  box-shadow: inset 0 0 0 1px rgba(255, 30, 60, 0.18);
}

.sidebar-pos {
  box-shadow: inset 0 0 0 1px rgba(21, 212, 107, 0.18);
}

.footer-pos {
  box-shadow: inset 0 0 0 1px rgba(255, 203, 5, 0.18);
}

.banner-group {
  margin-bottom: 24px;
}

.banner-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--linha);
  background: rgba(255, 255, 255, 0.045);
}

.banner-group-head h2 {
  margin: 0;
  font-size: 1.35rem;
}

.banner-group-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.banner-group-head span {
  background: linear-gradient(135deg, var(--azul-liberdade), var(--vermelho-liberdade));
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
}

.banner-group-list {
  display: grid;
  gap: 12px;
}

.banner-admin-item {
  grid-template-columns: 150px 1fr auto;
}

.banner-admin-item p {
  color: var(--muted);
  margin: 6px 0;
}

.banner-position-title {
  margin: 22px 0 12px;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ================= FOOTER ================= */
.footer {
  padding: 50px;
  text-align: center;
  border-top: 1px solid var(--linha);
  color: var(--muted);
}

.footer-pro {
  position: relative;
  overflow: hidden;
  margin-top: 60px;
  padding: 56px clamp(18px, 5vw, 80px) 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at 20% 0%, rgba(0, 119, 255, 0.18), transparent 30%),
    radial-gradient(circle at 90% 40%, rgba(255, 30, 60, 0.10), transparent 26%),
    linear-gradient(145deg, #03050A, #08101E);
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 34px;
}

.footer-pro h3 {
  color: #fff;
  margin-top: 0;
}

.footer-pro p,
.footer-pro a {
  color: #AEBBD1;
  text-decoration: none;
  line-height: 1.8;
}

.footer-pro a {
  display: block;
  font-weight: 800;
}

.footer-pro a:hover {
  color: #fff;
}

.socials {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #7F8CA5;
  text-align: center;
}

.footer-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  top: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 119, 255, 0.25), transparent 68%);
}

/* ================= RSS SECTION ================= */
.rss-news {
  padding: 30px;
  background: #111;
  border-radius: 8px;
  margin-top: 40px;
}

.rss-news h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 20px;
}

.rss-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rss-news-grid .news-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border-radius: 8px;
  padding: 20px;
  color: #fff;
  border: 1px solid var(--linha);
}

.rss-news-grid .news-card a {
  color: #fff;
  text-decoration: none;
}

.rss-news-grid .news-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.rss-news-grid .news-card p {
  color: #b0b0b0;
}

/* ================= UTILS & UI ================= */
.hidden {
  display: none !important;
}

.optional:empty {
  display: none;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--carvao);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--azul-liberdade), var(--vermelho-liberdade));
  border-radius: 10px;
}

.skeleton {
  background: linear-gradient(90deg, var(--vidro) 25%, rgba(255, 255, 255, 0.15) 50%, var(--vidro) 75%);
  background-size: 200% 100%;
  animation: loading-pulse 1.5s infinite;
  border-radius: 12px;
}

@keyframes loading-pulse {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.skeleton-card {
  height: 350px;
  width: 100%;
  border-radius: 28px;
  border: 1px solid var(--linha);
}

#featuredGrid {
  transition: opacity 0.2s ease-in-out;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .news-layout {
    grid-template-columns: 1fr;
  }

  .latest-panel {
    position: relative;
    top: auto;
  }

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

@media (max-width: 1024px) {
  .category-page .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .category-page .section-head h2 {
    font-size: 2.5rem;
  }

  .category-page .searchbox {
    width: 100%;
  }

  .grid-col-mid .news-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1000px) {

  .live-grid,
  .category-page-grid,
  .banner-clean-grid,
  .live-half {
    grid-template-columns: 1fr !important;
  }

  .top-search {
    display: none;
  }

  .banner-map {
    grid-template-columns: 1fr 1fr;
  }

  .banner-admin-item {
    grid-template-columns: 1fr;
  }

  .banner-thumb {
    width: 100%;
    height: 180px;
  }
}

@media (max-width: 900px) {
  .mega-menu {
    grid-template-columns: 1fr;
    left: 18px;
    right: 18px;
    top: 72px;
  }

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

@media (max-width: 800px) {
  .nav {
    display: none;
  }

  .hero,
  .split,
  .dashboard {
    grid-template-columns: 1fr;
  }

  .news-layout,
  .featured-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .news-card.big,
  .category-grid .news-card:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .news-card.big img {
    height: 220px;
  }

  .section-head,
  .admin-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .searchbox,
  .toolbar-actions {
    border-radius: 20px;
    flex-direction: column;
  }

  .toolbar-actions input {
    min-width: 0;
    width: 100%;
  }

  .player {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .player audio {
    width: 100%;
  }

  .admin-item {
    grid-template-columns: 1fr;
  }

  .entity-form {
    grid-template-columns: 1fr;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .event-card-pro {
    grid-template-columns: 1fr;
  }

  .event-card-pro img {
    width: 100%;
    height: 210px;
  }
}

@media (max-width: 768px) {
  .rss-news-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 750px) {
  .compact-media-card {
    min-height: 165px;
  }

  .compact-media-card h3 {
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  #channelVideosGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .banner-map {
    grid-template-columns: 1fr;
  }
}



/* NOVOS */
.searchbox {
  display: flex;
  gap: 8px;
  background: var(--vidro);
  border: 1px solid var(--linha);
  border-radius: 999px;
  padding: 8px
}

.searchbox input,
.searchbox button,
input,
textarea,
select {
  background: rgba(0, 0, 0, .35);
  border: 1px solid var(--linha);
  color: var(--texto);
  border-radius: 18px;
  padding: 14px 16px;
  outline: none
}

.searchbox button {
  cursor: pointer;
  background: var(--azul-liberdade);
  font-weight: 800
}



/* VARIÁVEIS DE DESIGN */
:root {
    --p-dark: #0f0f12;
    --p-red: #e63946;
    --p-glass: rgba(15, 15, 18, 0.85);
    --p-border: rgba(255, 255, 255, 0.1);
}

.player-floating {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(150px);
    width: 95%;
    max-width: 800px;
    background: var(--p-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--p-border);
    border-radius: 30px;
    padding: 12px 25px;
    z-index: 9999;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), inset 0 1px 1px rgba(255,255,255,0.1);
}

.player-floating.active { transform: translateX(-50%) translateY(0); }

/* Barra de Brilho Superior */
.player-glow-bar {
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 40%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--p-red), transparent);
    box-shadow: 0 0 15px var(--p-red);
}

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

/* Avatar e Info */
.player-info { display: flex; align-items: center; gap: 15px; flex: 1; }

.host-avatar-wrap { position: relative; }
.host-initials {
    width: 55px; height: 55px; background: linear-gradient(135deg, #222, #000);
    border-radius: 18px; display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 1.4rem; color: var(--p-red); border: 1px solid var(--p-border);
}

.live-pulse {
    position: absolute; bottom: -2px; right: -2px; width: 14px; height: 14px;
    background: #2ecc71; border-radius: 50%; border: 3px solid var(--p-dark);
}

.program-details .badge-live {
    font-size: 9px; font-weight: 900; color: var(--p-red); display: flex; align-items: center; gap: 5px; margin-bottom: 2px;
}

.ping { width: 6px; height: 6px; background: var(--p-red); border-radius: 50%; animation: pulse-red 1.5s infinite; }

.program-details strong { display: block; color: #fff; font-size: 1.1rem; letter-spacing: -0.5px; }
.program-details small { color: rgba(255,255,255,0.5); font-size: 0.85rem; }

/* Visualizer (Ondas) */
.player-visualizer { display: flex; align-items: center; gap: 3px; height: 20px; }
.player-visualizer span { width: 3px; height: 100%; background: var(--p-red); border-radius: 3px; opacity: 0.3; }
.playing .player-visualizer span { animation: wave 1s ease-in-out infinite; }
.player-visualizer span:nth-child(2) { animation-delay: 0.2s; }
.player-visualizer span:nth-child(3) { animation-delay: 0.4s; }

/* Botão Play */
.main-play-btn {
    width: 60px; height: 60px; background: var(--p-red); border: none; border-radius: 20px;
    color: #fff; font-size: 1.5rem; cursor: pointer; transition: 0.3s;
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
}
.main-play-btn:hover { transform: scale(1.05) rotate(5deg); box-shadow: 0 15px 25px rgba(230, 57, 70, 0.5); }

/* Volume e Close */
.player-actions { display: flex; align-items: center; gap: 20px; }
.volume-container { display: flex; align-items: center; gap: 10px; }
#volumeSlider { width: 80px; accent-color: var(--p-red); cursor: pointer; opacity: 0.5; transition: 0.3s; }
#volumeSlider:hover { opacity: 1; }

.player-close { 
    background: transparent; border: none; color: #fff; font-size: 1.5rem; 
    cursor: pointer; opacity: 0.3; transition: 0.3s; 
}
.player-close:hover { opacity: 1; color: var(--p-red); }

/* Animações */
@keyframes wave { 0%, 100% { height: 5px; } 50% { height: 20px; } }
@keyframes pulse-red { 0% { transform: scale(0.9); opacity: 0.7; } 50% { transform: scale(1.2); opacity: 1; } 100% { transform: scale(0.9); opacity: 0.7; } }

/* Mobile */
@media (max-width: 600px) {
    .player-visualizer, .volume-container { display: none; }
    .program-details strong { font-size: 0.9rem; }
}
