/* ==========================================================================
   FMUSIC.CL - PORTAL WEB PRINCIPAL COMPLETO
   Diseño: Dark Glassmorphism, Red Accent, High-End Streaming Experience
   ========================================================================== */

:root {
  --primary: #ff1e40;
  --primary-glow: rgba(255, 30, 64, 0.45);
  --primary-hover: #ff3b59;
  --primary-dark: #b80d26;
  --secondary: #ff708b;
  --accent-cyan: #00f0ff;
  --accent-whatsapp: #ff1e40;
  --accent-telegram: #229ED9;

  --bg-dark: #090b11;
  --bg-card: rgba(16, 20, 31, 0.82);
  --bg-card-hover: rgba(24, 30, 46, 0.88);
  --bg-card-solid: #121624;
  --card-border: rgba(255, 255, 255, 0.09);
  --card-border-glow: rgba(255, 30, 64, 0.35);

  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 35px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 35px var(--primary-glow);

  --transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  --bottom-bar-height: 80px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(var(--bottom-bar-height) + env(safe-area-inset-bottom, 0px) + 20px);
}

/* Ambient Background */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.ambient-img-backdrop {
  position: absolute;
  inset: -20px;
  background: url('../../images/bg.jpg') center center / cover no-repeat;
  filter: blur(50px) brightness(0.18) saturate(1.4);
  transform: scale(1.05);
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.32;
  animation: orbFloat 22s infinite alternate ease-in-out;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -100px;
  left: 0%;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #5b21b6 0%, transparent 70%);
  bottom: 20%;
  right: 5%;
  animation-duration: 28s;
  animation-delay: -5s;
}

@keyframes orbFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(40px, 35px) scale(1.08);
  }

  100% {
    transform: translate(-30px, -25px) scale(0.95);
  }
}

/* App Container */
.portal-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   TOP LIVE TICKER (Solicitudes en Vivo)
   ========================================================================== */
.top-ticker-bar {
  background: #090b11;
  border-bottom: 1px solid rgba(255, 30, 64, 0.22);
  padding: 0.42rem 1.25rem;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  z-index: 100;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.ticker-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  overflow: hidden;
  flex: 1;
}

.ticker-label,
.ticker-badge,
.top-bar-contact-links {
  display: none !important;
}

.ticker-pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
  animation: livePulse 1.5s infinite;
}

.ticker-track {
  overflow: hidden;
  white-space: nowrap;
  color: #cbd5e1;
  font-weight: 500;
  flex: 1;
}

.ticker-requests-marquee {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  white-space: nowrap;
  animation: tickerRequestsScroll 45s linear infinite;
}

.ticker-requests-marquee:hover {
  animation-play-state: paused;
}

@keyframes tickerRequestsScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.tk-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.22rem 0.75rem;
  background: rgba(255, 30, 64, 0.12);
  border: 1px solid rgba(255, 30, 64, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: #fff;
  transition: transform 0.2s, background 0.2s;
}

.tk-pill:hover {
  background: rgba(255, 30, 64, 0.22);
}

.tk-pill.new-flash {
  animation: pillFlash 2s ease infinite alternate;
  border-color: #ff1e40;
}

@keyframes pillFlash {
  0% {
    box-shadow: 0 0 0px rgba(255, 30, 64, 0.2);
  }

  100% {
    box-shadow: 0 0 14px rgba(255, 30, 64, 0.8);
  }
}

.tk-pill-icon {
  display: inline-flex;
  font-size: 0.8rem;
}

.tk-name {
  font-weight: 700;
  color: #ff526d;
}

.tk-sep {
  opacity: 0.5;
  color: #fff;
}

.tk-song {
  font-weight: 600;
  color: #ffffff;
}

.tk-msg {
  font-size: 0.7rem;
  opacity: 0.75;
  color: #94a3b8;
  font-style: italic;
}

.tk-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  margin: 0 4px;
}

.btn-top-pedir {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 30, 64, 0.2);
  border: 1px solid rgba(255, 30, 64, 0.5);
  border-radius: var(--radius-full);
  color: #fff !important;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-top-pedir:hover {
  background: var(--primary);
  box-shadow: 0 0 12px rgba(255, 30, 64, 0.6);
  transform: translateY(-1px);
}

.ticker-text-marquee {
  display: inline-block;
  animation: tickerScroll 35s linear infinite;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.top-bar-contact-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  white-space: nowrap;
}

.top-bar-contact-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.top-bar-contact-links a:hover {
  color: #fff;
}

.top-bar-contact-links a.wsp:hover {
  color: #ff526d;
}

.top-bar-contact-links a.tg:hover {
  color: #229ED9;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.portal-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(10, 13, 22, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--card-border);
  padding: 0.75rem 0;
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.portal-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.portal-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.portal-nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.portal-nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  padding: 0.3rem 0;
  position: relative;
}

.portal-nav-menu a:hover,
.portal-nav-menu a.active {
  color: #ffffff;
}

.portal-nav-menu a:hover::after,
.portal-nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-open-chat-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-full);
  color: #fff !important;
  text-decoration: none !important;
  font-family: 'Outfit', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 4px 18px var(--primary-glow);
  transition: var(--transition);
}

.btn-open-chat-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 30, 64, 0.6);
}

.btn-mobile-menu {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.4rem;
}

/* ==========================================================================
   HERO SECTION (Elige tu señal favorita + Live Radio Player)
   ========================================================================== */
.hero-section {
  padding: 3.5rem 0 2.5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 30, 64, 0.12);
  border: 1px solid rgba(255, 30, 64, 0.4);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  width: fit-content;
  letter-spacing: 0.8px;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #ffffff 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.hero-phone-callout {
  color: #fff;
  font-weight: 600;
}

.hero-social-list {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.hero-social-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
}

.hero-social-icon:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
}

.hero-social-icon.fb:hover {
  color: #1877F2;
  border-color: #1877F2;
}

.hero-social-icon.tw:hover {
  color: #1DA1F2;
  border-color: #1DA1F2;
}

.hero-social-icon.ig:hover {
  color: #E1306C;
  border-color: #E1306C;
}

.hero-social-icon.tg:hover {
  color: #229ED9;
  border-color: #229ED9;
}

.hero-social-icon.wsp:hover {
  color: #ff1e40;
  border-color: #ff1e40;
}

/* Hero Radio Player Card */
.hero-player-card {
  background: var(--bg-card);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-md), 0 0 35px rgba(255, 30, 64, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-player-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.hero-disc-wrap {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, #252a38 0%, #0c0e14 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 0 8px rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
}

.hero-disc-wrap.spinning {
  animation: spinRecord 12s linear infinite;
}

.hero-disc-center {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #000;
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--primary-glow);
  overflow: hidden;
}

.hero-disc-center img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.hero-track-box {
  width: 100%;
  margin-bottom: 1.5rem;
}

.hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(255, 30, 64, 0.1);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.hero-song-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.25;
}

.hero-station-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  justify-content: center;
}

.btn-hero-play {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 25px var(--primary-glow);
  transition: var(--transition);
}

.btn-hero-play:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 30px rgba(255, 30, 64, 0.65);
}

.btn-hero-play svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* ==========================================================================
   PROMO BANNER TO RADIO.FMUSIC.CL (CHAT DE LA COMUNIDAD EN VIVO)
   ========================================================================== */
.promo-section {
  padding: 3rem 0;
  position: relative;
  z-index: 10;
}

#fmusic-chat-promo-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(22, 28, 44, 0.96) 0%, rgba(10, 13, 22, 0.98) 100%);
  border: 1.5px solid rgba(255, 30, 64, 0.35);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.7), 0 0 35px rgba(255, 30, 64, 0.15);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

#fmusic-chat-promo-banner:hover {
  border-color: rgba(255, 30, 64, 0.65);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.8), 0 0 45px rgba(255, 30, 64, 0.3);
  transform: translateY(-2px);
}

.fmusic-promo-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 30, 64, 0.28) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: promoGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes promoGlowPulse {
  0% {
    opacity: 0.5;
    transform: scale(0.9);
  }

  100% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.fmusic-promo-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 2.5rem 2.75rem;
}

.fmusic-promo-text-group {
  flex: 1;
  min-width: 0;
}

.fmusic-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 30, 64, 0.14);
  border: 1px solid rgba(255, 30, 64, 0.45);
  color: #ff526d;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 0.9rem;
}

.fmusic-live-dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
  animation: livePulse 1.4s infinite;
}

.fmusic-promo-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.fmusic-promo-title .fmusic-highlight {
  color: var(--primary);
  background: linear-gradient(135deg, #ff1e40 0%, #ff6b81 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fmusic-promo-subtitle {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  max-width: 620px;
}

.fmusic-promo-channels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.fmusic-channel-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-fast);
}

.fmusic-channel-tag.wsp {
  border-color: rgba(255, 30, 64, 0.35);
  color: #ff526d;
  background: rgba(255, 30, 64, 0.08);
}

.fmusic-channel-tag.tg {
  border-color: rgba(34, 158, 217, 0.35);
  color: #38bdf8;
  background: rgba(34, 158, 217, 0.08);
}

.fmusic-promo-action-group {
  flex-shrink: 0;
}

.fmusic-btn-enter {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.85rem;
  background: linear-gradient(135deg, #ff1e40 0%, #d91432 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 8px 28px rgba(255, 30, 64, 0.5);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.fmusic-btn-enter:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 38px rgba(255, 30, 64, 0.7);
  background: linear-gradient(135deg, #ff3b59 0%, #ff1e40 100%);
}

.fmusic-btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.fmusic-btn-enter:hover .fmusic-btn-icon {
  transform: scale(1.1) rotate(-6deg);
}

.fmusic-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.fmusic-btn-text strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #fff;
}

.fmusic-btn-text small {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.fmusic-btn-arrow {
  font-size: 1.25rem;
  transition: transform 0.25s ease;
}

.fmusic-btn-enter:hover .fmusic-btn-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   CANCIONES NUEVAS / VIDEOS DESTACADOS
   ========================================================================== */
.section-videos {
  padding: 2.5rem 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  gap: 1rem;
}

.section-title-wrap {
  display: flex;
  flex-direction: column;
}

.section-title-wrap h2,
.section-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.25;
}

.section-title-wrap p,
.section-header p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  margin-bottom: 0;
  line-height: 1.45;
}

.video-player-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.video-main-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-main-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-playlist-sidebar {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 0.65rem;
  overflow-y: auto;
  max-height: 480px;
}

.video-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  cursor: pointer;
  transition: var(--transition);
}

.video-item:hover,
.video-item.active {
  background: rgba(255, 30, 64, 0.12);
  border-color: rgba(255, 30, 64, 0.4);
}

.video-thumb {
  width: 90px;
  height: 54px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  overflow: hidden;
}

.video-item-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-item-meta {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   HISTORIAL RECIENTE / SONARON RECIENTEMENTE
   ========================================================================== */
.section-history {
  padding: 2.5rem 0;
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.history-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.history-card:hover {
  transform: translateY(-3px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 30, 64, 0.4);
}

.history-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: #111;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.history-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  overflow: hidden;
}

.history-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-artist {
  font-size: 0.74rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-time {
  font-size: 0.68rem;
  color: var(--primary);
  font-weight: 600;
}

/* ==========================================================================
   DESCARGA NUESTRA APP
   ========================================================================== */
.section-app {
  padding: 3rem 0;
}

.app-banner-card {
  background: linear-gradient(135deg, rgba(20, 26, 42, 0.95) 0%, rgba(28, 14, 22, 0.95) 100%);
  border: 1px solid rgba(255, 30, 64, 0.3);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.app-text-group {
  max-width: 650px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.app-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
}

.app-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.app-buttons-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1.4rem;
  background: #ffffff;
  color: #000000 !important;
  border-radius: var(--radius-md);
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.btn-store:hover {
  transform: translateY(-3px);
  background: #f1f5f9;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   PAGINAS AMIGAS & AUSPICIADORES
   ========================================================================== */
.section-partners {
  padding: 2.5rem 0 3.5rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.partner-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  transition: var(--transition);
}

.partner-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 30, 64, 0.4);
  background: var(--bg-card-hover);
}

.partner-card img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.partner-name {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

/* ==========================================================================
   FOOTER COMPLETO
   ========================================================================== */
.portal-footer {
  background: rgba(8, 10, 16, 0.95);
  border-top: 1px solid var(--card-border);
  padding: 3.5rem 0 2rem;
  margin-top: auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  height: 38px;
  width: fit-content;
  object-fit: contain;
}

.footer-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-col-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link-list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition);
}

.footer-link-list a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-bar a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Móviles & Tablets)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text-col {
    align-items: center;
  }

  .hero-social-list {
    justify-content: center;
  }

  .video-player-container {
    grid-template-columns: 1fr;
  }

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

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

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

/* ==========================================================================
   SECCIÓN SOLICITUDES Y PEDIDOS MUSICALES (Player Pro FC style)
   ========================================================================== */
.section-requests {
  padding: 2.5rem 0;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.requests-layout-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.75rem;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.request-form-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  position: relative;
  overflow: visible;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 420px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.req-card-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #a855f7);
}

.req-form-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  width: 100%;
}

.req-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 30, 64, 0.14);
  border: 1px solid rgba(255, 30, 64, 0.35);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.req-form-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.15rem;
  line-height: 1.25;
}

.req-form-header p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.req-form-body {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  width: 100%;
  box-sizing: border-box;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
  box-sizing: border-box;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: 0.3px;
}

.input-wrap {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.input-wrap input,
.input-wrap textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.85rem 2.6rem 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  font-size: 16px; /* Evita que Safari en iOS haga zoom y corte los bordes */
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  max-width: 100%;
}

.input-wrap input:focus,
.input-wrap textarea:focus {
  border-color: var(--primary);
  background: rgba(255, 30, 64, 0.04);
  box-shadow: 0 0 0 3px rgba(255, 30, 64, 0.22);
}

.input-wrap input::placeholder,
.input-wrap textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
}

.input-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 0.95rem;
  opacity: 0.7;
}

.input-icon.top {
  top: 16px;
  transform: none;
}

.btn-submit-req {
  width: 100%;
  box-sizing: border-box;
  padding: 0.95rem 1.25rem;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--primary), #d91436);
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(255, 30, 64, 0.45);
  transition: transform 0.18s, box-shadow 0.2s, filter 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: normal;
  text-align: center;
}

.btn-submit-req:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255, 30, 64, 0.65);
  filter: brightness(1.08);
}

.btn-submit-req:active {
  transform: translateY(0);
}

/* Success Box */
.req-success-box {
  text-align: center;
  padding: 2.5rem 1rem;
  animation: fadeIn 0.35s ease;
}

.success-icon-check {
  font-size: 2.8rem;
  margin-bottom: 0.8rem;
  animation: bounceIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }

  50% {
    transform: scale(1.15);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.req-success-box h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ff526d;
  margin-bottom: 0.5rem;
}

.req-success-box p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  max-width: 420px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.5;
}

.btn-another-req {
  padding: 0.65rem 1.6rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--primary);
  background: transparent;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-another-req:hover {
  background: var(--primary);
  box-shadow: 0 0 18px rgba(255, 30, 64, 0.5);
}

/* Live Feed Card (Últimas 4 Solicitudes) */
.requests-live-feed-card {
  background: rgba(14, 18, 30, 0.7);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  width: 100%;
}

.feed-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feed-title-wrap h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.feed-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(255, 30, 64, 0.12);
  border: 1px solid rgba(255, 30, 64, 0.35);
  color: #ff526d;
  text-transform: uppercase;
  white-space: nowrap;
}

.feed-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.feed-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

.feed-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  transition: var(--transition-fast);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.feed-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 30, 64, 0.3);
  transform: translateX(3px);
}

.feed-item.new-arrival {
  border-color: #ff1e40;
  background: rgba(255, 30, 64, 0.12);
  animation: newArrivalGlow 2.5s ease;
}

@keyframes newArrivalGlow {
  0% {
    box-shadow: 0 0 18px rgba(255, 30, 64, 0.5);
    background: rgba(255, 30, 64, 0.22);
  }

  100% {
    box-shadow: none;
    background: rgba(255, 255, 255, 0.03);
  }
}

/* ==========================================================================
   AUTOCOMPLETE DE CANCIONES (Estilo Plugin Player Pro FC / iTunes Music API)
   ========================================================================== */
.fmusic-suggest-dropdown {
  display: none;
  position: fixed;
  background: rgba(17, 21, 34, 0.98);
  border: 1px solid rgba(255, 30, 64, 0.5);
  border-radius: 12px;
  overflow: hidden;
  z-index: 9999999;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(255, 30, 64, 0.25);
  max-height: 280px;
  overflow-y: auto;
  min-width: 280px;
  font-family: 'Outfit', sans-serif;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-sizing: border-box;
}

.fmusic-suggest-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.15s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.fmusic-suggest-row:last-child {
  border-bottom: none;
}

.fmusic-suggest-row:hover,
.fmusic-suggest-row.ac-active {
  background: rgba(255, 30, 64, 0.22);
}

.fmusic-suggest-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.fmusic-suggest-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 30, 64, 0.15);
  border: 1px solid rgba(255, 30, 64, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.fmusic-suggest-text {
  min-width: 0;
  flex: 1;
}

.fmusic-suggest-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.fmusic-suggest-artist {
  font-size: 0.78rem;
  color: #ff8597;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fmusic-suggest-loading,
.fmusic-suggest-empty {
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  text-align: center;
}

/* ==========================================================================
   SECCIÓN ENCUESTA MUSICAL (Player Pro FC style)
   ========================================================================== */
.section-poll {
  padding: 4.5rem 0;
  position: relative;
}

.poll-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.fcpp-poll-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.poll-top-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), rgba(255, 30, 64, 0.3));
}

.poll-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.poll-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 30, 64, 0.15);
  border: 1px solid rgba(255, 30, 64, 0.3);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.poll-header-texts h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.poll-total-votes {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.poll-options-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.poll-option-item {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.95rem 1.25rem;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.15s;
  position: relative;
  overflow: hidden;
}

.poll-option-item:hover:not(.poll-done) {
  background: rgba(255, 30, 64, 0.08);
  border-color: rgba(255, 30, 64, 0.4);
  transform: translateY(-1px);
}

.poll-option-item.poll-winner {
  border-color: var(--primary) !important;
  background: rgba(255, 30, 64, 0.12) !important;
  box-shadow: 0 0 16px rgba(255, 30, 64, 0.25);
}

.poll-option-item.poll-done {
  cursor: default;
}

.poll-opt-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff;
  position: relative;
  z-index: 1;
}

.poll-opt-name {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.poll-opt-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.poll-option-item.poll-selected .poll-opt-radio {
  border-color: var(--primary);
  background: var(--primary);
}

.poll-option-item.poll-selected .poll-opt-radio::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.poll-opt-pct {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ff526d;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.poll-done .poll-opt-pct {
  opacity: 1;
}

.poll-bar-wrapper {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.poll-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), #ff6b81);
  transition: width 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

.poll-voted-notice {
  text-align: center;
  padding: 1rem 0 0.25rem;
  font-size: 0.85rem;
  color: #ff526d;
  font-weight: 700;
  display: none;
}

.feed-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 30, 64, 0.15);
  color: #ff526d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.feed-item-content {
  flex: 1;
  min-width: 0;
}

.feed-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
  width: 100%;
}

.feed-item-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ff526d;
  word-break: break-word;
  overflow-wrap: break-word;
}

.feed-item-time {
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.feed-item-song {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  line-height: 1.35;
  margin-bottom: 0.25rem;
}

.feed-item-msg {
  font-size: 0.76rem;
  color: #94a3b8;
  font-style: italic;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  line-height: 1.4;
}

@media (max-width: 1200px) and (min-width: 993px) {
  .portal-nav-menu {
    gap: 0.75rem;
  }

  .portal-nav-menu a {
    font-size: 0.82rem;
  }

  .btn-open-chat-cta {
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 992px) {
  .requests-layout-grid {
    grid-template-columns: 100% !important;
    gap: 1.25rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .btn-mobile-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 30, 64, 0.12);
    border: 1px solid rgba(255, 30, 64, 0.35);
    border-radius: var(--radius-sm);
    color: #fff;
    padding: 0.45rem;
    cursor: pointer;
    transition: var(--transition-fast);
  }

  .btn-mobile-menu:hover,
  .btn-mobile-menu:active {
    background: var(--primary);
    box-shadow: 0 0 14px rgba(255, 30, 64, 0.6);
  }

  .portal-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(9, 11, 17, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
    padding: 1.25rem 1.5rem;
    display: none;
    z-index: 1000;
  }

  .portal-nav.open {
    display: block;
    animation: portalNavSlide 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes portalNavSlide {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }

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

  .portal-nav-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    width: 100%;
  }

  .portal-nav-menu li {
    width: 100%;
  }

  .portal-nav-menu a {
    display: block;
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: #cbd5e1;
    border-left: 3px solid transparent;
  }

  .portal-nav-menu a:hover,
  .portal-nav-menu a.active {
    background: rgba(255, 30, 64, 0.12);
    border-left-color: var(--primary);
    color: #fff;
  }

  .portal-nav-menu a::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
  }

  .app-banner-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.25rem;
  }

  .app-buttons-group {
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }

  .btn-store {
    width: 100%;
    justify-content: center;
  }

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

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

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

  .top-ticker-bar {
    padding: 0.35rem 0.65rem;
  }

  .fcpp-poll-card {
    padding: 1.4rem 1.1rem;
  }

  .poll-header-texts h3 {
    font-size: 1.15rem;
  }

  .video-playlist-sidebar {
    max-height: 380px;
    padding: 0.75rem;
    -webkit-overflow-scrolling: touch;
  }

  .video-thumb {
    width: 80px;
    height: 48px;
  }

  .video-item-title {
    font-size: 0.82rem;
  }

  .request-form-card,
  .requests-live-feed-card {
    padding: 1.25rem 1rem !important;
    border-radius: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .btn-submit-req {
    font-size: 0.88rem;
    padding: 0.85rem 1rem;
  }

  .portal-chat-frame-wrap {
    height: 420px;
  }

  .portal-chat-header {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .portal-container {
    padding: 0 0.85rem !important;
  }

  .section-requests {
    padding: 1.5rem 0 !important;
  }

  .request-form-card,
  .requests-live-feed-card {
    padding: 1rem 0.75rem !important;
    border-radius: 14px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .input-wrap input,
  .input-wrap textarea {
    padding: 0.75rem 2.2rem 0.75rem 0.75rem !important;
    font-size: 16px !important;
  }

  .btn-submit-req {
    font-size: 0.82rem !important;
    padding: 0.8rem 0.85rem !important;
    letter-spacing: 0.2px;
  }

  .feed-items-list {
    gap: 0.65rem;
  }

  .feed-item {
    padding: 0.65rem 0.7rem !important;
    gap: 0.6rem !important;
  }

  .feed-item-icon {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .feed-item-song {
    font-size: 0.84rem !important;
  }

  .feed-item-name {
    font-size: 0.82rem !important;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-player-card {
    padding: 1.5rem 1rem;
  }

  .poll-opt-name {
    font-size: 0.84rem;
  }

  .poll-opt-pct {
    font-size: 0.8rem;
  }

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