/* ============================================================
   RadioBeat Live — assets/css/style.css
   Theme: Dark Sonic — deep space with neon pulse
   Fonts: Orbitron (display) + Nunito (body)
   ============================================================ */

/* Google Fonts são carregadas via <link> no header.php (mais rápido para PageSpeed)
   Fallback stack caso as fontes não carreguem */

/* ── Reset & Variables ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-base:    #07080f;
  --bg-card:    #0f111a;
  --bg-card2:   #141726;
  --bg-nav:     #080912;
  --border:     #1e2340;
  --border2:    #252a4a;
  --cyan:       #00d4ff;
  --cyan2:      #00a8cc;
  --orange:     #ff6b35;
  --green:      #00ff94;
  --red:        #ff3860;
  --purple:     #a855f7;
  --text:       #e2e8f0;
  --text2:      #94a3b8;
  --text3:      #64748b;
  --white:      #ffffff;
  --nav-h:      64px;
  --player-h:   80px;
  --sidebar-w:  300px;
  --radius:     12px;
  --radius-sm:  8px;
  --shadow:     0 4px 24px rgba(0,0,0,.5);
  --glow-cyan:  0 0 20px rgba(0,212,255,.3);
  --glow-orange:0 0 20px rgba(255,107,53,.3);
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg-base);
  color: var(--text);
  min-height: 100vh;
  padding-bottom: calc(var(--player-h) + 16px);
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan2); }

/* ── Typography ────────────────────────────────────────────── */
h1,h2,h3,h4 { font-family: 'Orbitron', sans-serif; letter-spacing: .03em; color: var(--white); }
h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; }
h2 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
a  { color: var(--cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--white); }

/* ── Nav ───────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 16px;
  padding: 0 24px;
  backdrop-filter: blur(12px);
}
.navbar-brand {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem; font-weight: 900;
  color: var(--cyan); white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
  text-shadow: var(--glow-cyan);
  flex-shrink: 0;
}
.navbar-brand span { color: var(--orange); }
.navbar-brand svg { width: 28px; height: 28px; }
.navbar-search {
  flex: 1; max-width: 520px;
  display: flex; gap: 0;
  background: var(--bg-card2); border: 1px solid var(--border2);
  border-radius: 999px; overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.navbar-search:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(0,212,255,.15);
}
.navbar-search input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text); font-family: 'Nunito', sans-serif; font-size: .95rem;
  padding: 10px 18px;
}
.navbar-search input::placeholder { color: var(--text3); }
.navbar-search button {
  background: var(--cyan); border: none; cursor: pointer;
  padding: 0 20px; color: var(--bg-base);
  font-size: 1rem; font-weight: 700; transition: background var(--transition);
}
.navbar-search button:hover { background: var(--cyan2); }
.navbar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.btn-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-card2); border: 1px solid var(--border2);
  color: var(--text2); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: all var(--transition);
  text-decoration: none;
}
.btn-icon:hover { color: var(--cyan); border-color: var(--cyan); background: var(--bg-card); }
.btn-user {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-card2); border: 1px solid var(--border2);
  border-radius: 999px; padding: 6px 14px;
  font-size: .87rem; color: var(--text); cursor: pointer;
  transition: all var(--transition); text-decoration: none;
}
.btn-user:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  color: var(--bg-base); font-weight: 700; font-family: 'Nunito', sans-serif;
  padding: 9px 22px; border-radius: 999px; border: none;
  cursor: pointer; font-size: .9rem; transition: all var(--transition);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.btn-primary:hover { box-shadow: var(--glow-cyan); transform: translateY(-1px); color: var(--bg-base); }
.btn-outline {
  background: transparent; border: 1px solid var(--cyan);
  color: var(--cyan); font-weight: 600; font-family: 'Nunito', sans-serif;
  padding: 8px 20px; border-radius: 999px; cursor: pointer;
  font-size: .9rem; transition: all var(--transition);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.btn-outline:hover { background: var(--cyan); color: var(--bg-base); }

/* Hamburger */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text2); border-radius: 2px; transition: all var(--transition); }

/* ── Lang selector ─────────────────────────────────────────── */
.lang-select {
  background: var(--bg-card2); border: 1px solid var(--border2);
  color: var(--text2); border-radius: 8px; padding: 6px 10px;
  font-family: 'Nunito', sans-serif; font-size: .85rem; cursor: pointer;
  outline: none; transition: border-color var(--transition);
}
.lang-select:focus { border-color: var(--cyan); }

/* ── Layout ────────────────────────────────────────────────── */
.site-wrap {
  margin-top: var(--nav-h);
  max-width: 1440px;
  margin-left: auto; margin-right: auto;
  padding: 0 16px;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: 28px;
  padding: 28px 0;
}
.main-col { min-width: 0; }
.sidebar  { width: var(--sidebar-w); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #0a0e1a 0%, #0d1535 50%, #0a0e1a 100%);
  padding: 56px 40px;
  margin-bottom: 36px;
  border: 1px solid var(--border);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(0,212,255,.07) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(255,107,53,.06) 0%, transparent 50%);
}
.hero-wave {
  position: absolute; right: -20px; top: 0; bottom: 0;
  width: 45%; opacity: .2;
  display: flex; align-items: center;
}
.hero-wave svg { width: 100%; height: 100%; }
.hero-content { position: relative; z-index: 1; max-width: 600px; }
.hero h1 { margin-bottom: 12px; line-height: 1.2; }
.hero h1 em { color: var(--cyan); font-style: normal; text-shadow: var(--glow-cyan); }
.hero p { color: var(--text2); font-size: 1.1rem; margin-bottom: 28px; }
.hero-stats { display: flex; gap: 32px; margin-top: 28px; }
.hero-stat strong { font-family: 'Orbitron', sans-serif; font-size: 1.3rem; color: var(--cyan); display: block; }
.hero-stat span { font-size: .8rem; color: var(--text3); text-transform: uppercase; letter-spacing: .08em; }

/* ── Section headers ───────────────────────────────────────── */
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.section-head h2 { display: flex; align-items: center; gap: 10px; }
.section-head h2 .icon { font-size: 1.1rem; }
.section-head a { font-size: .85rem; color: var(--text2); }
.section-head a:hover { color: var(--cyan); }

/* ── Station Grid ──────────────────────────────────────────── */
.stations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.station-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  display: flex; flex-direction: column;
}
.station-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.4), var(--glow-cyan);
}
.station-card.active {
  border-color: var(--cyan);
  background: var(--bg-card2);
  box-shadow: var(--glow-cyan);
}
.station-card.active::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  animation: soundbar 1s ease-in-out infinite alternate;
}
@keyframes soundbar { from { opacity:.4 } to { opacity:1 } }

.station-thumb {
  aspect-ratio: 1; background: var(--bg-card2);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.station-thumb img {
  width: 72px; height: 72px; object-fit: contain; border-radius: 8px;
  transition: transform var(--transition);
}
.station-card:hover .station-thumb img { transform: scale(1.08); }
.station-play-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.station-card:hover .station-play-overlay { opacity: 1; }
.station-play-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cyan); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--bg-base);
  transform: scale(.85); transition: transform var(--transition);
}
.station-card:hover .station-play-btn { transform: scale(1); }
.station-info { padding: 12px; flex: 1; min-width: 0; }
.station-name {
  font-weight: 700; font-size: .9rem; color: var(--white);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 4px;
}
.station-meta {
  display: flex; align-items: center; justify-content: space-between;
}
.station-country { font-size: .78rem; color: var(--text3); display: flex; align-items: center; gap: 4px; }
.station-bitrate { font-size: .73rem; color: var(--cyan2); font-family: 'Orbitron', sans-serif; }
.station-fav {
  position: absolute; top: 8px; right: 8px;
  background: rgba(0,0,0,.6); border: none; cursor: pointer;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: var(--text3); transition: all var(--transition);
  z-index: 2;
}
.station-fav:hover, .station-fav.active { color: var(--red); }

/* ── Station List (compact) ────────────────────────────────── */
.stations-list { display: flex; flex-direction: column; gap: 8px; }
.station-row {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; cursor: pointer;
  transition: all var(--transition);
}
.station-row:hover { border-color: var(--cyan); background: var(--bg-card2); }
.station-row.active { border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.station-row img { width: 42px; height: 42px; border-radius: 8px; object-fit: contain; flex-shrink: 0; background: var(--bg-card2); }
.station-row-info { flex: 1; min-width: 0; }
.station-row-name { font-weight: 700; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.station-row-sub  { font-size: .78rem; color: var(--text3); display: flex; gap: 8px; align-items: center; margin-top: 2px; }
.station-row-actions { display: flex; gap: 6px; flex-shrink: 0; }
.play-mini {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--cyan); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: var(--bg-base); transition: all var(--transition);
}
.play-mini:hover { box-shadow: var(--glow-cyan); }

/* ── Tags / Chips ──────────────────────────────────────────── */
.tags-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--bg-card2); border: 1px solid var(--border2);
  color: var(--text2); padding: 5px 14px; border-radius: 999px;
  font-size: .82rem; cursor: pointer; transition: all var(--transition);
  text-decoration: none;
}
.tag-chip:hover { border-color: var(--cyan); color: var(--cyan); background: var(--bg-card); }
.tag-chip.active { background: var(--cyan); color: var(--bg-base); border-color: var(--cyan); font-weight: 700; }
.tag-count { font-size: .7rem; color: var(--text3); }

/* ── Country Grid ──────────────────────────────────────────── */
.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.country-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer; transition: all var(--transition);
  text-decoration: none; color: var(--text);
}
.country-card:hover { border-color: var(--cyan); background: var(--bg-card2); transform: translateY(-2px); }
.country-flag { font-size: 2rem; line-height: 1; }
.country-name { font-size: .82rem; font-weight: 600; text-align: center; }
.country-count { font-size: .72rem; color: var(--text3); }

/* ── Ranking ───────────────────────────────────────────────── */
.rank-list { display: flex; flex-direction: column; gap: 6px; }
.rank-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 16px;
  cursor: pointer; transition: all var(--transition);
}
.rank-row:hover { border-color: var(--orange); }
.rank-num {
  font-family: 'Orbitron', sans-serif; font-size: 1.1rem; font-weight: 700;
  min-width: 32px; text-align: center;
}
.rank-num.gold   { color: #FFD700; }
.rank-num.silver { color: #C0C0C0; }
.rank-num.bronze { color: #CD7F32; }
.rank-num.other  { color: var(--text3); }
.rank-info { flex: 1; min-width: 0; }
.rank-name { font-weight: 700; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-country { font-size: .78rem; color: var(--text3); }
.rank-plays { font-family: 'Orbitron', sans-serif; font-size: .8rem; color: var(--orange); white-space: nowrap; }

/* ── Sidebar ───────────────────────────────────────────────── */
.sidebar-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  margin-bottom: 20px;
}
.sidebar-card h3 {
  font-size: .9rem; color: var(--text2);
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

/* Ad blocks */
.ad-block { text-align: center; margin: 0; }
.ad-block ins, .ad-block iframe { display: block; margin: 0 auto; }
.ad-label { display: block; font-size: .65rem; color: var(--text3); margin-top: 4px; text-transform: uppercase; letter-spacing: .1em; }
.ad-between { padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 24px 0; }

/* ── Player ────────────────────────────────────────────────── */
#player-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 2000;
  height: var(--player-h);
  background: var(--bg-nav);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 16px;
  padding: 0 24px;
  backdrop-filter: blur(16px);
  transition: transform .3s ease;
}
#player-bar.hidden { transform: translateY(100%); }
.player-station { display: flex; align-items: center; gap: 12px; min-width: 220px; flex-shrink: 0; }
.player-favicon { width: 46px; height: 46px; border-radius: 8px; object-fit: contain; background: var(--bg-card2); }
.player-info { min-width: 0; }
.player-name { font-weight: 700; font-size: .92rem; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.player-status { font-size: .75rem; color: var(--text3); display: flex; align-items: center; gap: 5px; }
.player-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }
.player-controls { display: flex; align-items: center; gap: 12px; margin: 0 auto; }
.ctrl-btn {
  background: none; border: none; cursor: pointer;
  color: var(--text2); font-size: 1.2rem;
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.ctrl-btn:hover { color: var(--cyan); background: var(--bg-card2); }
.ctrl-play {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--cyan2));
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--bg-base);
  transition: all var(--transition); box-shadow: var(--glow-cyan);
}
.ctrl-play:hover { transform: scale(1.08); }
.ctrl-play.playing { background: linear-gradient(135deg, var(--orange), #e05a2b); box-shadow: var(--glow-orange); }
.player-volume { display: flex; align-items: center; gap: 8px; }
.volume-icon { font-size: 1rem; color: var(--text3); }
input[type=range].vol-slider {
  -webkit-appearance: none; appearance: none;
  width: 100px; height: 4px; border-radius: 2px;
  background: var(--border2); outline: none; cursor: pointer;
}
input[type=range].vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%;
  background: var(--cyan); cursor: pointer;
  box-shadow: 0 0 6px rgba(0,212,255,.5);
}
.player-right { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.player-fav {
  background: none; border: none; cursor: pointer; font-size: 1.2rem;
  color: var(--text3); transition: color var(--transition);
}
.player-fav.active { color: var(--red); }
.player-fav:hover { color: var(--red); }

/* Equalizer bars animation */
.eq-bars { display: flex; align-items: flex-end; gap: 2px; height: 20px; }
.eq-bar {
  width: 3px; background: var(--cyan); border-radius: 1px;
  animation: eq 0.6s ease-in-out infinite alternate;
}
.eq-bar:nth-child(1) { height: 6px;  animation-delay: 0s; }
.eq-bar:nth-child(2) { height: 14px; animation-delay: .1s; }
.eq-bar:nth-child(3) { height: 10px; animation-delay: .2s; }
.eq-bar:nth-child(4) { height: 18px; animation-delay: .15s; }
.eq-bar:nth-child(5) { height: 8px;  animation-delay: .05s; }
@keyframes eq { from{transform:scaleY(.3)} to{transform:scaleY(1)} }
.eq-bars.paused .eq-bar { animation-play-state: paused; }

/* ── Auth Forms ────────────────────────────────────────────── */
.auth-page { min-height: calc(100vh - var(--nav-h) - var(--player-h)); display: flex; align-items: center; justify-content: center; padding: 40px 16px; }
.auth-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px;
  width: 100%; max-width: 420px;
}
.auth-card h2 { margin-bottom: 8px; }
.auth-card .sub { color: var(--text2); font-size: .92rem; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .85rem; color: var(--text2); margin-bottom: 6px; font-weight: 600; }
.form-group input {
  width: 100%; background: var(--bg-card2); border: 1px solid var(--border2);
  border-radius: var(--radius-sm); color: var(--text); font-family: 'Nunito', sans-serif;
  font-size: .95rem; padding: 11px 16px; outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus { border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(0,212,255,.12); }
.form-group input::placeholder { color: var(--text3); }
.form-check { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--text2); }
.form-check input[type=checkbox] { accent-color: var(--cyan); width: 16px; height: 16px; cursor: pointer; }
.btn-block { width: 100%; padding: 12px; font-size: 1rem; }
.auth-switch { margin-top: 20px; text-align: center; font-size: .88rem; color: var(--text2); }
.auth-switch a { color: var(--cyan); font-weight: 700; }
.alert {
  padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: .9rem;
}
.alert-error { background: rgba(255,56,96,.1); border: 1px solid rgba(255,56,96,.3); color: var(--red); }
.alert-success { background: rgba(0,255,148,.08); border: 1px solid rgba(0,255,148,.25); color: var(--green); }
.alert-info { background: rgba(0,212,255,.08); border: 1px solid rgba(0,212,255,.2); color: var(--cyan); }

/* ── Profile / Dashboard ────────────────────────────────────── */
.profile-header {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; margin-bottom: 24px;
  display: flex; align-items: center; gap: 20px;
}
.avatar-circle {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Orbitron', sans-serif; font-size: 1.6rem; font-weight: 900;
  color: var(--bg-base); flex-shrink: 0;
}
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
.stat-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 20px; text-align: center;
}
.stat-box strong { font-family: 'Orbitron', sans-serif; font-size: 1.4rem; color: var(--cyan); display: block; margin-bottom: 4px; }
.stat-box span { font-size: .8rem; color: var(--text3); text-transform: uppercase; letter-spacing: .06em; }

/* ── Pagination ────────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 6px; padding: 24px 0; flex-wrap: wrap; }
.page-btn {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text2); display: flex; align-items: center; justify-content: center;
  font-size: .88rem; cursor: pointer; transition: all var(--transition);
  text-decoration: none;
}
.page-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.page-btn.active { background: var(--cyan); color: var(--bg-base); border-color: var(--cyan); font-weight: 700; }
.page-btn.disabled { opacity: .4; cursor: default; pointer-events: none; }

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--text3); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text2); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb-sep { color: var(--text3); }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 40px 24px 24px; margin-top: 48px;
}
.footer-grid {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
  margin-bottom: 32px;
}
.footer-brand .logo { font-family: 'Orbitron', sans-serif; font-size: 1.3rem; font-weight: 900; color: var(--cyan); margin-bottom: 10px; }
.footer-brand .logo span { color: var(--orange); }
.footer-brand p { font-size: .88rem; color: var(--text2); line-height: 1.6; }
.footer-col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text3); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: .88rem; color: var(--text2); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--cyan); }
.footer-bottom {
  max-width: 1440px; margin: 0 auto;
  padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  font-size: .8rem; color: var(--text3); flex-wrap: wrap; gap: 8px;
}
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--bg-card2); border: 1px solid var(--border2);
  color: var(--text2); display: flex; align-items: center; justify-content: center;
  font-size: .9rem; transition: all var(--transition); text-decoration: none;
}
.social-btn:hover { border-color: var(--cyan); color: var(--cyan); }

/* Newsletter */
.newsletter-form { display: flex; gap: 0; margin-top: 14px; }
.newsletter-form input {
  flex: 1; background: var(--bg-card2); border: 1px solid var(--border2);
  border-right: none; border-radius: 8px 0 0 8px;
  color: var(--text); font-family: 'Nunito', sans-serif; font-size: .85rem;
  padding: 9px 14px; outline: none;
}
.newsletter-form input:focus { border-color: var(--cyan); }
.newsletter-form button {
  background: var(--cyan); border: none; border-radius: 0 8px 8px 0;
  color: var(--bg-base); font-weight: 700; padding: 0 16px; cursor: pointer;
  font-size: .85rem; transition: background var(--transition);
}
.newsletter-form button:hover { background: var(--cyan2); }

/* ── Mobile nav drawer ──────────────────────────────────────── */
.mobile-drawer {
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; z-index: 900;
  background: var(--bg-nav); border-top: 1px solid var(--border);
  padding: 20px; overflow-y: auto;
  transform: translateX(-100%); transition: transform .3s ease;
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-nav { display: flex; flex-direction: column; gap: 4px; }
.drawer-link {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  border-radius: var(--radius-sm); color: var(--text); font-weight: 600;
  font-size: .95rem; transition: all var(--transition); text-decoration: none;
}
.drawer-link:hover { background: var(--bg-card2); color: var(--cyan); }
.drawer-link .ico { font-size: 1.2rem; width: 24px; }

/* ── Loading skeleton ───────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card2) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ── Toast ──────────────────────────────────────────────────── */
#toast-container {
  position: fixed; bottom: calc(var(--player-h) + 16px); right: 16px;
  z-index: 3000; display: flex; flex-direction: column; gap: 8px;
}
.toast {
  background: var(--bg-card2); border: 1px solid var(--border2);
  border-radius: var(--radius-sm); padding: 12px 18px;
  font-size: .88rem; color: var(--text);
  animation: slideIn .3s ease; max-width: 300px;
  box-shadow: var(--shadow);
}
.toast.success { border-color: var(--green); color: var(--green); }
.toast.error   { border-color: var(--red);   color: var(--red);   }
@keyframes slideIn { from{transform:translateX(40px);opacity:0} to{transform:translateX(0);opacity:1} }

/* ── Nav desktop base (must be flex or children stack vertically) ── */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  :root { --nav-h: 58px; --player-h: 70px; }
  .navbar-search { display: none; }
  .navbar-search.open { display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0; max-width: 100%; border-radius: 0; border: none; border-bottom: 1px solid var(--border2); z-index: 999; }
  .burger { display: flex; }
  .nav-desktop { display: none; }
  .hero { padding: 36px 24px; }
  .hero-wave { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 18px; }
  .stations-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .countries-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .player-volume { display: none; }
  .player-station { min-width: 160px; }
  .player-name { max-width: 130px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col:nth-child(2),
  .footer-col:nth-child(3) { display: none; }
}
@media (max-width: 480px) {
  .stations-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-card { padding: 28px 20px; }
  .player-right .player-fav { display: none; }
}

/* ── Utility ─────────────────────────────────────────────────── */
.d-none { display: none !important; }
.text-cyan { color: var(--cyan); }
.text-muted { color: var(--text3); }
.mb-0{margin-bottom:0} .mb-1{margin-bottom:8px} .mb-2{margin-bottom:16px} .mb-3{margin-bottom:24px}
.mt-0{margin-top:0} .mt-1{margin-top:8px} .mt-2{margin-top:16px} .mt-3{margin-top:24px}
.text-center { text-align: center; }
.badge {
  display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .72rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.badge-cyan   { background: rgba(0,212,255,.15); color: var(--cyan); }
.badge-orange { background: rgba(255,107,53,.15); color: var(--orange); }
.badge-green  { background: rgba(0,255,148,.1);  color: var(--green); }

/* ============================================================
   Consent Banner — GDPR/LGPD
   ============================================================ */
#consent-banner {
  position: fixed;
  bottom: calc(var(--player-h, 80px) + 12px);
  left: 12px; right: 12px;
  z-index: 4000;
  max-width: 860px;
  margin: 0 auto;
  animation: slideUpConsent .4s ease;
}
@keyframes slideUpConsent {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.consent-inner {
  background: var(--bg-card2);
  border: 1px solid var(--cyan);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,.6), 0 0 0 1px rgba(0,212,255,.15);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  flex-wrap: wrap;
}
.consent-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}
.consent-text {
  flex: 1;
  min-width: 220px;
  font-size: .84rem;
  color: var(--text2);
  line-height: 1.5;
}
.consent-text strong { color: var(--white); }
.consent-text a { color: var(--cyan); }
.consent-text p { margin-top: 4px; }
.consent-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.consent-btn {
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  padding: 9px 20px;
  transition: all var(--transition, .22s ease);
  white-space: nowrap;
}
.consent-btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--cyan2, #00a8cc));
  color: var(--bg-base, #07080f);
}
.consent-btn-primary:hover {
  box-shadow: 0 0 16px rgba(0,212,255,.4);
  transform: translateY(-1px);
}
.consent-btn-secondary {
  background: transparent;
  border: 1px solid var(--border2, #252a4a);
  color: var(--text2);
}
.consent-btn-secondary:hover {
  border-color: var(--text2);
  color: var(--white);
}
@media (max-width: 600px) {
  #consent-banner { left: 8px; right: 8px; bottom: calc(var(--player-h, 70px) + 8px); }
  .consent-inner  { flex-direction: column; text-align: center; }
  .consent-actions{ width: 100%; justify-content: center; }
}

/* ============================================================
   Anti-Adblock Overlay
   ============================================================ */
#antiblock-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(7, 8, 15, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(8px);
}
.ab-box {
  background: var(--bg-card, #0f111a);
  border: 1px solid var(--orange, #ff6b35);
  border-radius: var(--radius, 12px);
  box-shadow: 0 0 48px rgba(255,107,53,.2), 0 12px 48px rgba(0,0,0,.6);
  max-width: 480px;
  width: 100%;
  padding: 36px 32px;
  text-align: center;
  animation: abFadeIn .35s ease;
}
@keyframes abFadeIn {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}
.ab-icon  { font-size: 2.8rem; margin-bottom: 12px; }
.ab-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.15rem;
  color: var(--orange, #ff6b35);
  margin-bottom: 14px;
}
.ab-text  {
  font-size: .88rem;
  color: var(--text2, #94a3b8);
  line-height: 1.65;
}
.ab-text strong { color: var(--white, #fff); }
.ab-steps {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.ab-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .84rem;
  color: var(--text2, #94a3b8);
}
.ab-step span {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--orange, #ff6b35);
  color: #fff;
  font-weight: 700;
  font-size: .75rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ab-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}
.ab-btn-primary {
  background: linear-gradient(135deg, var(--orange, #ff6b35), #e05a2b);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: .92rem;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  transition: all .2s;
}
.ab-btn-primary:hover { box-shadow: 0 0 20px rgba(255,107,53,.4); transform: translateY(-1px); }
.ab-btn-secondary {
  background: transparent;
  border: 1px solid var(--border2, #252a4a);
  color: var(--text3, #64748b);
  border-radius: 999px;
  padding: 10px 24px;
  font-size: .82rem;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  transition: all .2s;
}
.ab-btn-secondary:hover { border-color: var(--text3, #64748b); color: var(--text2, #94a3b8); }
@media (max-width: 480px) {
  .ab-box { padding: 28px 20px; }
  .ab-title { font-size: 1rem; }
}
