/* 
  Atlântico FM - Modern Design System 
  Colors:
  - Deep Blue: #1674B7
  - Bright Blue: #2299EE
  - Surface: rgba(255, 255, 255, 0.1)
  - Glass: backdrop-filter: blur(10px)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Poppins:wght@400;700&display=swap');

:root {
  --primary: #2242fa;
  --primary-light: #4DA3FF;
  /* Brighter Blue accent */
  --primary-navy: #1B1B4B;
  /* Navy from logo triangle */
  --bg-dark: #002e72;
  --text-light: #f8f9fa;
  --text-muted: #adb5bd;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: 'Poppins', sans-serif;
}

/* Glassmorphism Classes */
.glass {
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-light), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hue-rotate 10s linear infinite;
}

@keyframes hue-rotate {
  0% {
    filter: hue-rotate(0deg);
  }

  100% {
    filter: hue-rotate(360deg);
  }
}

/* Layout */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

header.scrolled {
  background: rgba(10, 14, 20, 0.8);
  padding: 0.5rem 5%;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-circle {
  width: 45px;
  height: 45px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(22, 116, 183, 0.5);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-light);
}

/* Hero Section - Magazine Cover Style */
#hero {
  height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle at top right, rgba(34, 153, 238, 0.2), transparent),
    radial-gradient(circle at bottom left, rgba(22, 116, 183, 0.15), transparent),
    #0a0e14;
  padding-top: 100px;
  overflow: hidden;
}

.hero-content {
  max-width: 1400px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-text-overlay {
  text-align: center;
  position: relative;
  z-index: 10;
  margin-top: 2vh;
}

.gradient-text-large {
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 800;
  line-height: 1;
  margin: 1.5rem 0;
  background: linear-gradient(to bottom, #fff 30%, var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.hero-text-overlay p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  opacity: 0.8;
}

.cta-group-centered {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.hero-secondary-btn {
  padding: 12px 30px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: white;
  transition: var(--transition);
}

.hero-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Scroll Down Indicator */
.scroll-down-indicator {
    position: absolute;
    bottom: 120px; /* Safe distance above the player bar */
    left: 50%;
    transform: translateX(-50%);
    color: white;
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: var(--transition);
    animation: bounce 2.5s infinite;
}

.scroll-down-indicator:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--primary-light);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-15px) translateX(-50%);
    }
    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

.hero-image-full {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  z-index: 5;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.hero-image-full img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 -10px 30px rgba(0, 0, 0, 0.5));
  opacity: 0;
  animation: slideUpFade 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, var(--bg-dark) 0%, transparent 100%);
  z-index: 6;
}

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

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

@media (max-width: 768px) {
  #hero {
    padding-top: 80px;
  }

  .gradient-text-large {
    font-size: 3.5rem;
  }

  .hero-text-overlay p {
    font-size: 1rem;
  }

  .hero-image-full {
    width: 150%;
    max-width: none;
  }
}

.btn {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 20px rgba(22, 116, 183, 0.3);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(22, 116, 183, 0.4);
}

.btn-outline {
  border: 2px solid var(--glass-border);
  color: white;
  background: transparent;
}

.btn-outline:hover {
  background: var(--glass);
  transform: translateY(-3px);
}

/* Player Bar */
.player-bar {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 800px;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1001;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.now-playing {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.album-art {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: linear-gradient(135deg, #222, #444);
  overflow: hidden;
}

.track-info h4 {
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.track-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.play-btn {
  background: white;
  color: var(--bg-dark);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.play-btn:hover {
  transform: scale(1.1);
}

.wa-player-btn {
  background: #25D366;
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.wa-player-btn:hover {
  transform: scale(1.1);
  background: #1DA851;
  color: white;
}

/* Sections */
section {
  padding: 5rem 5%;
}

.section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-header .line {
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin: 0 auto;
  border-radius: 2px;
}

/* Interactive Grid */
.interactive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  padding: 2.5rem;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-light);
}

.card h3 {
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

input,
textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 0.8rem;
  color: white;
  font-family: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* Charts */
.chart-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chart-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem;
  transition: var(--transition);
}

.chart-item:hover {
  background: var(--glass);
}

.rank {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  min-width: 30px;
}

/* Footer */
footer {
  padding: 3rem 5%;
  background: #05070a;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.social-links a {
  color: var(--text-light);
  font-size: 1.5rem;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--primary-light);
}

/* Schedule Tabs */
.tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  font-size: 0.85rem;
}

.tab-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 10px 20px rgba(22, 116, 183, 0.2);
}

.schedule-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.schedule-content.active {
  display: block;
}

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.schedule-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  padding: 1.2rem 1.5rem;
  align-items: flex-start;
  border-radius: 12px;
  transition: var(--transition);
}

.schedule-item:hover {
  background: var(--glass);
}

.team-logos-inline {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.team-logos-inline img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.schedule-item .time {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--primary-light);
  font-size: 0.9rem;
}

.schedule-item .program {
  font-weight: 600;
  font-size: 1rem;
}

.schedule-item.live {
  background: rgba(0, 143, 245, 0.15);
  border: 1px solid var(--primary);
  position: relative;
  overflow: hidden;
}

.schedule-item.live::after {
  content: 'NO AR';
  position: absolute;
  top: 10px;
  right: 15px;
  background: #ff4d4d;
  color: white;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  animation: pulse-red 2s infinite;
}

.match-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 1px;
}

.match-badge.live-badge {
    background: var(--accent);
    color: var(--dark);
    animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes pulse-red {
  0% { opacity: 1; }
  50% { opacity: 0.6; }
  100% { opacity: 1; }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.playing #oscilloscope {
  opacity: 1 !important;
}


.playing .vis-bar:nth-child(2) {
  animation-delay: 0.1s;
}

.playing .vis-bar:nth-child(3) {
  animation-delay: 0.2s;
}

.playing .vis-bar:nth-child(4) {
  animation-delay: 0.3s;
}

.playing .vis-bar:nth-child(5) {
  animation-delay: 0.4s;
}

@keyframes visualize {
  0% {
    height: 5px;
  }

  100% {
    height: 20px;
  }
}

.album-art img {
  transition: transform 0.1s ease-out, border-radius 0.5s ease;
}

.playing .album-art img {
  border-radius: 50% !important;
}

.album-art {
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.playing .album-art {
  box-shadow: 0 0 15px rgba(77, 163, 255, 0.4);
}

.play-btn {
  position: relative;
}

.play-btn.playing {
  background: var(--primary-light);
  color: var(--bg-dark);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(77, 163, 255, 0.4);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(77, 163, 255, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(77, 163, 255, 0);
  }
}

#mobile-live-tag {
    display: none;
}

.playing-state .play-btn {
  animation: pulse 2s infinite;
}

/* Equipe Section */
.equipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.equipo-card {
    text-align: center;
    padding: 2rem;
    transition: var(--transition);
}

.equipo-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
}

.equipo-img-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 4px solid var(--glass-border);
    transition: var(--transition);
}

.equipo-card:hover .equipo-img-container {
    border-color: var(--primary-light);
    transform: scale(1.05);
}

.equipo-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equipo-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.equipo-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Galeria Section */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.galeria-item {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.galeria-item:hover img {
    transform: scale(1.1);
}

/* Vídeos Section */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-card {
    padding: 1rem;
    border-radius: 16px;
    transition: var(--transition);
}

.video-card video {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.video-card p {
    font-size: 0.9rem;
    text-align: center;
    font-weight: 600;
}

/* VU Meter Section */
.vu-meter {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
    height: 30px;
    width: 120px;
}

.vu-labels {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--primary-light);
}

.vu-bars-container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
    flex: 1;
    gap: 4px;
}

.vu-bar-bg {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.vu-bar-fill {
    height: 100%;
    width: 0%;
    transition: width 0.1s ease-out;
    background: linear-gradient(to right, 
        #2ecc71 0%, #2ecc71 60%, 
        #f1c40f 60%, #f1c40f 85%, 
        #e74c3c 85%, #e74c3c 100%);
    background-size: 100% 100%;
    /* Create segment effect */
    background-image: 
        linear-gradient(to right, #2ecc71 60%, #f1c40f 60%, #f1c40f 85%, #e74c3c 85%),
        repeating-linear-gradient(to right, transparent, transparent 3px, rgba(0,0,0,0.5) 3px, rgba(0,0,0,0.5) 5px);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--bg-dark);
  z-index: 2000;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.close-menu {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.mobile-menu-footer {
  margin-top: auto;
  padding-top: 2rem;
}

/* Responsiveness */
@media (max-width: 1024px) {
  .hero-content {
    padding: 0 5%;
  }
  
  .gradient-text-large {
    font-size: clamp(2.5rem, 8vw, 4rem);
  }
}

@media (max-width: 768px) {
  header {
    background: rgba(10, 14, 20, 0.95) !important;
    padding: 1rem 5%;
  }

  .nav-links, .header-actions .btn-outline {
    display: none !important;
  }

  .menu-toggle {
    display: block;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  #hero {
    height: auto;
    min-height: 100vh;
    padding-top: 0;
    margin-top: 0;
    background: #0a0e14 !important;
  }

  .hero-content {
    padding-top: 80px; 
    background: #0a0e14 !important; /* Force background here too */
  }

  .hero-text-overlay {
    margin-top: 1.5rem;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
    background: transparent !important;
  }

  .hero-image-full {
    position: relative;
    width: 100%;
    margin-top: 1rem;
    overflow: hidden;
    line-height: 0;
    background: #0a0e14 !important; /* Eliminate white bar below/above */
    /* Improved Mask */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,1) 5%, rgba(0,0,0,1) 95%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,1) 5%, rgba(0,0,0,1) 95%, transparent 100%);
  }

  .hero-image-full img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }

  .cta-group-centered {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 320px;
    margin: 2rem auto 0;
    position: relative;
    z-index: 100;
  }

  .card {
    padding: 1.5rem;
  }

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

  .schedule-item {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 1rem;
  }

  /* Exclusive Mobile Floating Player (Pill Design) */
  .player-bar {
    position: fixed !important;
    width: 92% !important;
    max-width: 400px !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    transform: none !important;
    bottom: 25px !important;
    height: 75px;
    padding: 0 20px;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    border-radius: 50px;
    background: rgba(10, 14, 20, 0.9);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    z-index: 9999;
  }

  .now-playing {
    width: auto;
    flex-direction: row !important;
    align-items: center;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    gap: 12px;
  }

  #mobile-live-tag {
    display: block !important;
    position: absolute;
    top: -10px;
    left: 25px;
    background: #ff3e3e;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.55rem !important;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(255, 62, 62, 0.4);
    z-index: 100;
  }

  .album-art {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px;
    border-radius: 50% !important;
    margin-bottom: 0 !important;
    border: 2px solid var(--primary-light);
    overflow: hidden;
    background: #000;
  }

  .track-info h4 {
    font-size: 0.8rem !important;
    margin: 0 !important;
    max-width: 110px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .controls {
    width: auto !important;
    justify-content: center;
  }

  .play-btn {
    width: 48px !important;
    height: 48px !important;
    background: var(--primary) !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(34, 66, 250, 0.4);
  }

  .wa-player-btn {
    width: 48px !important;
    height: 48px !important;
  }


  .vu-meter {
      position: absolute;
      bottom: 10px;
      left: 80px;
      width: 70px !important;
      height: 12px !important;
      opacity: 0.9;
      display: flex !important;
  }

  .vu-bar-bg { height: 4px !important; }
  .vu-labels { display: none !important; }
  .volume-container, .hidden-mobile, #current-artist { display: none !important; }
  .logo-container h2 { font-size: 1rem !important; }
  .logo-container h2 span { display: none; }

  /* Grid Respnsiveness */
  .equipe-grid, .galeria-grid, .videos-grid {
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 1rem;
  }

  .equipo-img-container {
      width: 120px;
      height: 120px;
  }
}

@media (max-width: 480px) {
  .equipe-grid, .galeria-grid, .videos-grid {
      grid-template-columns: 1fr;
  }

  .gradient-text-large {
    font-size: 2rem;
  }

  .hero-text-overlay p {
    font-size: 0.9rem;
  }

  .play-btn-large {
    width: 100%;
    padding: 15px;
    font-size: 0.9rem;
  }
}

/* Custom Volume Slider */
.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 120px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    background-image: linear-gradient(var(--primary), var(--primary));
    background-size: 100% 100%;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: background 0.3s ease;
}

.volume-slider::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    box-shadow: none;
    border: none;
    background: transparent;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 14px;
    width: 14px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    margin-top: -4px; /* Centers the thumb on the track */
    border: 2px solid var(--primary);
    transition: transform 0.2s ease;
}

.volume-slider:hover::-webkit-slider-thumb {
    transform: scale(1.2);
}

.volume-slider::-moz-range-thumb {
    height: 14px;
    width: 14px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--primary);
}

/* Final Mobile Cleanup - Show AO VIVO badge correctly */
@media screen and (max-width: 1024px) {
    #mobile-live-tag {
        display: block !important;
        background: #ff4d4d;
        color: white;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 0.7rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 10px;
        animation: pulse-red 2s infinite;
        box-shadow: 0 0 10px rgba(255, 77, 77, 0.4);
    }

    #current-artist, .hidden-mobile {
        display: none !important;
    }
}

/* 📱 MOBILE ORIENTATION: LANDSCAPE OPTIMIZATION */
@media screen and (orientation: landscape) and (max-width: 1024px) {
    #hero {
        min-height: 120vh; /* Allow scroll in landscape hero */
        padding-bottom: 2rem;
    }

    .hero-content {
        padding-top: 60px;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
        gap: 20px;
    }

    .hero-text-overlay {
        text-align: left;
        max-width: 50%;
        margin-top: 0;
    }

    .hero-image-full {
        width: 40%;
        margin-top: 0;
        -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 80%, rgba(0,0,0,0));
        mask-image: linear-gradient(to left, rgba(0,0,0,1) 80%, rgba(0,0,0,0));
    }

    .gradient-text-large {
        font-size: 2.2rem;
    }

    /* Compact Player for Landscape */
    .player-bar {
        position: fixed !important;
        width: 80% !important;
        max-width: 600px !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 auto !important;
        transform: none !important;
        bottom: 15px !important;
        height: 60px;
    }

    .vu-meter {
        display: none !important; /* Save space in landscape height */
    }

    /* Wider Grids in Landscape */
    .equipe-grid, .galeria-grid, .videos-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    header {
        padding: 0.5rem 5%;
        background: rgba(10, 14, 20, 0.98) !important;
    }
}

/* Extra touch-friendly refinements */
@media (pointer: coarse) {
    .btn, .play-btn, .tab-btn, .nav-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}