/*
Theme Name: VinylStation Radio
Theme URI: https://vinylstationradio.com
Author: VinylStation Radio
Author URI: https://vinylstationradio.com
Description: Tema oficial de VinylStation Radio - La emisora del rock español emergente. Con streaming en vivo, chat, programación, tienda y más. Fuensalida, Toledo.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vinylstation
Tags: music, radio, dark, custom-colors, custom-logo, featured-images, full-width-template, theme-options, translation-ready

VinylStation Radio Theme - Rock Español Emergente
*/

/* ============================================================
   IMPORTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Bebas+Neue&display=swap');

/* ============================================================
   CSS VARIABLES - ROCK DARK THEME
   ============================================================ */
:root {
  --background: #0d0d0d;
  --foreground: #eee8d8;
  --card: #141414;
  --card-foreground: #eee8d8;
  --primary: #e03218;
  --primary-foreground: #ffffff;
  --secondary: #1f1f1f;
  --secondary-foreground: #b5a888;
  --muted: #1a1a1a;
  --muted-foreground: #808080;
  --accent: #e8961a;
  --accent-foreground: #0d0d0d;
  --border: #262626;
  --input: #1f1f1f;
  --ring: #e03218;
  --rock-red: #e03218;
  --rock-gold: #e8961a;
  --font-sans: 'Space Grotesk', 'DM Sans', sans-serif;
  --font-display: 'Bebas Neue', 'Space Grotesk', sans-serif;
  --radius: 0.5rem;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.font-display {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.2;
  color: var(--foreground);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-content {
  flex: 1;
  padding-top: 96px;
  padding-bottom: 96px;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #0d0d0d; }
::-webkit-scrollbar-thumb { background: #2e2e2e; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ============================================================
   GLASS EFFECT
   ============================================================ */
.glass {
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(38, 38, 38, 0.5);
}

/* ============================================================
   GRADIENT TEXT
   ============================================================ */
.gradient-text {
  background: linear-gradient(135deg, #e85060, #f0a030);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #f0a844, #ffe080);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   LIVE DOT
   ============================================================ */
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulseRed 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

/* ============================================================
   WAVEFORM BARS
   ============================================================ */
.waveform-bar {
  width: 3px;
  background: var(--primary);
  border-radius: 2px;
  animation: waveform 0.8s ease-in-out infinite;
}

.waveform-container {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 32px;
}

/* ============================================================
   KANTERA GRADIENT
   ============================================================ */
.kantera-gradient {
  background: linear-gradient(135deg, var(--rock-red) 0%, var(--rock-gold) 50%, var(--rock-red) 100%);
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}

/* ============================================================
   CARD HOVER
   ============================================================ */
.card-hover {
  transition: transform 0.25s cubic-bezier(0, 0, 0.2, 1), box-shadow 0.25s ease-out;
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px -12px rgba(224, 50, 24, 0.3);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 0 30px rgba(224, 50, 24, 0.5);
}

.btn-primary:hover {
  background: rgba(224, 50, 24, 0.85);
  box-shadow: 0 0 50px rgba(224, 50, 24, 0.7);
  color: var(--primary-foreground);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(232, 150, 26, 0.6);
  box-shadow: 0 0 0 1px rgba(232, 150, 26, 0.3), 0 0 20px rgba(232, 150, 26, 0.15);
}

.btn-outline:hover {
  background: rgba(232, 150, 26, 0.1);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--muted-foreground);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--foreground);
  background: var(--secondary);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.4rem 0.875rem;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: var(--input);
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  color: var(--foreground);
  font-size: 0.875rem;
  font-family: var(--font-sans);
  transition: border-color 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: rgba(224, 50, 24, 0.5);
  box-shadow: 0 0 0 2px rgba(224, 50, 24, 0.1);
}

.form-input::placeholder {
  color: var(--muted-foreground);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.375rem;
}

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

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
}

#site-header.scrolled {
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(38, 38, 38, 0.5);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.header-announcement {
  padding: 6px 0;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0d0d0d;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 1rem;
  max-width: 1280px;
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.site-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(224, 50, 24, 0.6);
  transition: all 0.2s;
}

.site-logo:hover img {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(224, 50, 24, 0.5);
}

.logo-text {
  display: none;
}

.logo-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  color: var(--foreground);
  line-height: 1;
}

.logo-subtitle {
  font-size: 0.625rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--foreground);
}

.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--primary);
  border-radius: 9999px;
}

.nav-link.hot {
  color: var(--accent);
}

.nav-link.hot:hover {
  color: var(--accent);
}

.nav-link.hot::before {
  content: '';
  position: absolute;
  top: -4px;
  right: -4px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

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

.social-links-header {
  display: none;
  align-items: center;
  gap: 4px;
}

.social-link-header {
  padding: 6px;
  border-radius: 0.375rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.social-link-header svg {
  width: 16px;
  height: 16px;
}

.live-badge {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(224, 50, 24, 0.15);
  border: 1px solid rgba(224, 50, 24, 0.4);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.2s;
}

.live-badge:hover {
  background: rgba(224, 50, 24, 0.25);
  box-shadow: 0 0 15px rgba(224, 50, 24, 0.4);
  color: var(--primary);
}

.cart-btn {
  position: relative;
  padding: 8px;
  border-radius: 0.375rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.cart-btn:hover {
  color: var(--foreground);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  font-size: 10px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.mobile-toggle {
  display: flex;
  padding: 8px;
  border-radius: 0.375rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
  align-items: center;
}

.mobile-toggle:hover {
  color: var(--foreground);
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(20, 20, 20, 0.98);
  backdrop-filter: blur(24px);
}

.mobile-menu.open {
  display: block;
}

.mobile-nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: all 0.2s;
  text-decoration: none;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--foreground);
  background: var(--secondary);
}

.mobile-nav-link.active {
  background: rgba(224, 50, 24, 0.15);
  color: var(--primary);
}

.mobile-nav-link.hot {
  color: var(--accent);
}

.mobile-social {
  border-top: 1px solid var(--border);
  padding: 12px 1rem;
  max-width: 1280px;
  margin: 0 auto;
}

.mobile-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-social-link {
  padding: 8px;
  border-radius: 0.375rem;
  color: var(--muted-foreground);
  background: var(--secondary);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.mobile-contact-info {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?w=1920&q=80');
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,13,13,0.95), rgba(13,13,13,0.8), #0d0d0d);
}

.hero-overlay-red {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(224,50,24,0.2), transparent, transparent);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: linear-gradient(hsl(4, 85%, 50%) 1px, transparent 1px), linear-gradient(90deg, hsl(4, 85%, 50%) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero-logo {
  position: relative;
}

.hero-logo-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(224, 50, 24, 0.6);
  box-shadow: 0 0 60px rgba(224, 50, 24, 0.4);
  animation: spin 8s linear infinite;
}

.hero-live-badge {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--primary);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  white-space: nowrap;
  box-shadow: 0 0 20px rgba(224, 50, 24, 0.6);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  color: var(--foreground);
  line-height: 1;
  margin-bottom: 0.5rem;
  animation: glitch 3s ease-in-out infinite;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero-wave-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-emission-text {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: float 3s ease-in-out infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--primary), transparent);
}

.hero-scroll-dot {
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
}

/* ============================================================
   KANTERA BANNER
   ============================================================ */
.kantera-banner {
  position: relative;
  padding: 3rem 0;
  cursor: pointer;
  overflow: hidden;
}

.kantera-banner-overlay {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0,0,0,0.1) 10px, rgba(0,0,0,0.1) 20px);
}

.kantera-banner-content {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.kantera-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #0d0d0d;
  line-height: 1.1;
}

.kantera-banner p {
  color: rgba(13, 13, 13, 0.8);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  max-width: 32rem;
}

.kantera-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(13, 13, 13, 0.8);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.kantera-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.kantera-stat {
  text-align: center;
  color: #0d0d0d;
}

.kantera-stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
}

.kantera-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.kantera-divider {
  width: 1px;
  height: 64px;
  background: rgba(13, 13, 13, 0.3);
}

.kantera-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(20, 20, 20, 0.5);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
  padding: 2rem 1rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(224, 50, 24, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  transition: background 0.2s;
}

.stat-item:hover .stat-icon {
  background: rgba(224, 50, 24, 0.2);
}

.stat-icon svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.section-header-left .section-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.section-header-left .section-tag svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--foreground);
  line-height: 1;
}

.section-desc {
  color: var(--muted-foreground);
  margin-top: 0.5rem;
  max-width: 32rem;
}

/* ============================================================
   BANDS GRID
   ============================================================ */
.bands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.band-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 2px;
}

.band-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.band-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.band-card:hover .band-img-wrap img {
  transform: scale(1.1);
}

.band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0d0d0d, rgba(13,13,13,0.4), transparent);
}

.band-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
}

.band-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.band-genre {
  display: inline-block;
  padding: 2px 8px;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 0;
}

.band-city {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.band-name {
  font-weight: 700;
  color: var(--foreground);
  font-size: 1.125rem;
  line-height: 1.2;
}

.band-card-border {
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  transition: border-color 0.3s;
  border-radius: 2px;
}

.band-card:hover .band-card-border {
  border-color: rgba(224, 50, 24, 0.6);
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.manifesto-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1498038432885-c6f3f1b912ee?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.manifesto-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 13, 0.9);
}

.manifesto-content {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.manifesto-icon {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
  margin: 0 auto 1.5rem;
}

.manifesto-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--foreground);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.manifesto-text {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.manifesto-quote {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.manifesto-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* ============================================================
   SCHEDULE SECTION
   ============================================================ */
.schedule-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.schedule-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.25rem;
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 0.2s;
  text-decoration: none;
  display: block;
}

.schedule-card:hover {
  border-color: rgba(224, 50, 24, 0.4);
}

.schedule-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.schedule-card-time {
  font-family: monospace;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
}

.schedule-card h3 {
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.25rem;
  transition: color 0.2s;
  font-size: 1rem;
}

.schedule-card:hover h3 {
  color: var(--primary);
}

.schedule-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.schedule-card-bottom {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.schedule-day-badge {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  background: var(--secondary);
  padding: 2px 8px;
  border-radius: 0;
}

/* ============================================================
   RECENT PROGRAMS / VIDEOTECA
   ============================================================ */
.media-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

.media-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
  text-decoration: none;
  display: block;
}

.media-card:hover {
  border-color: rgba(224, 50, 24, 0.4);
}

.media-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.media-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.media-card:hover .media-card-thumb img {
  transform: scale(1.05);
}

.media-card-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-card-play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(224, 50, 24, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

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

.media-card-play-btn svg {
  width: 20px;
  height: 20px;
  fill: white;
  margin-left: 3px;
}

.media-card-hot {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 8px;
  background: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  color: #0d0d0d;
}

.media-card-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 2px 6px;
  background: rgba(13,13,13,0.9);
  font-size: 0.75rem;
  font-family: monospace;
  color: var(--foreground);
}

.media-card-body {
  padding: 1rem;
}

.media-card-cat {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
}

.media-card-title {
  font-weight: 700;
  color: var(--foreground);
  margin-top: 0.25rem;
  transition: color 0.2s;
  font-size: 0.9375rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.media-card:hover .media-card-title {
  color: var(--primary);
}

.media-card-meta {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-top: 2px;
}

.media-card-small .media-card-body {
  padding: 0.75rem;
}

.media-card-small .media-card-title {
  font-size: 0.875rem;
  white-space: normal;
  overflow: visible;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ============================================================
   PLATFORMS SECTION
   ============================================================ */
.platforms-section {
  padding: 4rem 0;
}

.platforms-title {
  text-align: center;
  margin-bottom: 2rem;
}

.platforms-title h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.platforms-title p {
  color: var(--muted-foreground);
}

.platform-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 2rem;
  background: var(--card);
  border: 1px solid;
  border-radius: 2px;
  transition: all 0.2s;
  text-decoration: none;
}

.platform-card:hover {
  background: rgba(26, 26, 26, 0.6);
}

.platform-card-name {
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1.2;
}

.platform-card-desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.social-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.social-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
}

.social-pill svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding-bottom: 96px;
}

.footer-platforms {
  background: rgba(26, 26, 26, 0.6);
  border-bottom: 1px solid rgba(38, 38, 38, 0.5);
  padding: 1rem 0;
}

.footer-platforms-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer-platforms-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-platforms-label svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
}

.footer-platform-link {
  padding: 6px 16px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--muted-foreground);
  border: 1px solid var(--border);
  border-radius: 2px;
  background: rgba(13,13,13,0.4);
  transition: all 0.2s;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.footer-platform-link:hover {
  color: var(--primary);
  border-color: rgba(224, 50, 24, 0.5);
  background: rgba(224, 50, 24, 0.1);
}

.footer-wa-link {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-wa-link:hover {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.5);
  background: rgba(74, 222, 128, 0.1);
}

.footer-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(224, 50, 24, 0.5);
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.1;
}

.footer-brand-subtitle {
  font-size: 0.625rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-desc {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  transition: all 0.2s;
  text-decoration: none;
}

.footer-social-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.footer-col h3 {
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--foreground);
}

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

.footer-col li a {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-col li a:hover {
  color: var(--primary);
}

.footer-platform-badges {
  margin-top: 1.5rem;
}

.footer-platform-badges h4 {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.footer-platform-badges ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-platform-badges li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
  text-decoration: none;
}

.footer-platform-badges li a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.footer-platform-badges li a:hover {
  color: var(--primary);
}

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.footer-contact li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
}

.footer-contact li.wa svg {
  stroke: #4ade80;
}

.footer-contact a {
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--primary);
}

.footer-contact .wa-btn {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: rgba(22, 163, 74, 0.2);
  border: 1px solid rgba(22, 163, 74, 0.4);
  border-radius: 2px;
  color: #4ade80;
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.2s;
  text-decoration: none;
}

.footer-contact .wa-btn:hover {
  background: rgba(22, 163, 74, 0.3);
}

.footer-contact .wa-btn svg {
  stroke: #4ade80;
  margin-top: 0;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.footer-copyright {
  color: var(--muted-foreground);
  font-size: 0.75rem;
  text-align: center;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--muted-foreground);
  font-size: 0.75rem;
  transition: color 0.2s;
  text-decoration: none;
}

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

.footer-links span {
  color: var(--border);
}

/* ============================================================
   AUDIO PLAYER
   ============================================================ */
.audio-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(38, 38, 38, 0.8);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.5);
}

.audio-player-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 80px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.player-logo {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.player-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(224, 50, 24, 0.4);
}

.player-logo-text {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--foreground);
}

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

.player-play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 0 20px rgba(224, 50, 24, 0.4);
  flex-shrink: 0;
}

.player-play-btn:hover {
  background: rgba(224, 50, 24, 0.85);
  box-shadow: 0 0 30px rgba(224, 50, 24, 0.6);
}

.player-play-btn svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.player-info {
  flex: 1;
  min-width: 0;
}

.player-station {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-track {
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(224, 50, 24, 0.15);
  border: 1px solid rgba(224, 50, 24, 0.4);
  border-radius: 9999px;
  color: var(--primary);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.player-volume {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.player-volume svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--muted-foreground);
  stroke-width: 2;
  flex-shrink: 0;
}

.player-volume input[type="range"] {
  width: 80px;
  accent-color: var(--primary);
}

.player-ext-link {
  display: none;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
  flex-shrink: 0;
}

.player-ext-link:hover {
  color: var(--foreground);
  border-color: rgba(255,255,255,0.3);
}

.player-ext-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* ============================================================
   PAGE TEMPLATES
   ============================================================ */
.page-header {
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.page-header p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
}

.page-header .live-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.live-tag-text {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   PROGRAMS PAGE
   ============================================================ */
.legend-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.legend-pill {
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid;
}

.type-morning { background: rgba(245,158,11,0.15); color: #fbbf24; border-color: rgba(245,158,11,0.3); }
.type-hits { background: rgba(224,50,24,0.15); color: var(--primary); border-color: rgba(224,50,24,0.3); }
.type-news { background: rgba(59,130,246,0.15); color: #60a5fa; border-color: rgba(59,130,246,0.3); }
.type-afternoon { background: rgba(249,115,22,0.15); color: #fb923c; border-color: rgba(249,115,22,0.3); }
.type-retro { background: rgba(168,85,247,0.15); color: #c084fc; border-color: rgba(168,85,247,0.3); }
.type-night { background: rgba(99,102,241,0.15); color: #818cf8; border-color: rgba(99,102,241,0.3); }
.type-rock { background: rgba(239,68,68,0.15); color: #f87171; border-color: rgba(239,68,68,0.3); }
.type-jazz { background: rgba(16,185,129,0.15); color: #34d399; border-color: rgba(16,185,129,0.3); }
.type-indie { background: rgba(6,182,212,0.15); color: #22d3ee; border-color: rgba(6,182,212,0.3); }
.type-electronic { background: rgba(139,92,246,0.15); color: #a78bfa; border-color: rgba(139,92,246,0.3); }
.type-world { background: rgba(20,184,166,0.15); color: #2dd4bf; border-color: rgba(20,184,166,0.3); }

.programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.day-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
}

.day-card.today {
  border-color: rgba(224, 50, 24, 0.5);
  box-shadow: 0 0 20px rgba(224, 50, 24, 0.15);
}

.day-card-header {
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(26, 26, 26, 0.5);
}

.day-card.today .day-card-header {
  background: rgba(224, 50, 24, 0.15);
}

.day-card-name {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--foreground);
}

.day-card.today .day-card-name {
  color: var(--primary);
}

.today-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}

.day-card-slots {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.slot-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: background 0.2s;
}

.slot-item:hover {
  background: rgba(26, 26, 26, 0.5);
}

.slot-time {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted-foreground);
  font-family: monospace;
  font-size: 0.75rem;
  white-space: nowrap;
  padding-top: 2px;
  min-width: 110px;
}

.slot-time svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.slot-info {
  flex: 1;
  min-width: 0;
}

.slot-show {
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.875rem;
  line-height: 1.3;
}

.slot-host {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.slot-host svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* ============================================================
   DIRECTO PAGE
   ============================================================ */
.directo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.stream-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
}

.stream-video {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--background);
}

.stream-video iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.stream-footer {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stream-footer h3 {
  font-weight: 600;
  margin-bottom: 2px;
}

.stream-footer p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.stream-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.viewer-count {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.viewer-count svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(224, 50, 24, 0.15);
  border: 1px solid rgba(224, 50, 24, 0.3);
  border-radius: 9999px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
}

.audio-info-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem;
}

.audio-info-box-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.audio-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(224, 50, 24, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.audio-info-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
}

.audio-info-box h3 {
  font-weight: 600;
  margin-bottom: 2px;
}

.audio-info-box p.desc {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* CHAT */
.chat-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  height: 500px;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.chat-header svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
}

.chat-header h3 {
  font-weight: 600;
  font-size: 1rem;
}

.chat-count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  background: var(--secondary);
  padding: 2px 8px;
  border-radius: 9999px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chat-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.chat-empty svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: rgba(128,128,128,0.3);
  stroke-width: 2;
  margin-bottom: 0.5rem;
}

.chat-empty p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.chat-message {
  display: flex;
  gap: 0.5rem;
}

.chat-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(224, 50, 24, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
}

.chat-msg-username {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}

.chat-msg-text {
  font-size: 0.875rem;
  color: var(--foreground);
  word-break: break-words;
}

.chat-input-area {
  padding: 0.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chat-input-row {
  display: flex;
  gap: 0.5rem;
}

.chat-input-row .form-input {
  flex: 1;
  height: 38px;
}

.chat-send-btn {
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: white;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.chat-send-btn:hover {
  background: rgba(224, 50, 24, 0.85);
}

.chat-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.chat-send-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: white;
  stroke-width: 2;
}

.chat-hint {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ============================================================
   NEWS / BLOG PAGES
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.news-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  display: block;
}

.news-card:hover {
  border-color: rgba(224, 50, 24, 0.4);
  transform: translateY(-4px);
}

.news-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.news-card:hover .news-card-img img {
  transform: scale(1.05);
}

.news-card-body {
  padding: 1.25rem;
}

.news-card-cat {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.news-card h2, .news-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
  line-height: 1.3;
}

.news-card:hover h2, .news-card:hover h3 {
  color: var(--primary);
}

.news-card-excerpt {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.news-card-meta svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.news-read-more {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s;
}

.team-card:hover {
  border-color: rgba(224, 50, 24, 0.4);
  box-shadow: 0 12px 40px -8px rgba(224, 50, 24, 0.2);
}

.team-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  filter: grayscale(30%);
}

.team-card:hover .team-card-img img {
  transform: scale(1.05);
  filter: grayscale(0);
}

.team-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.6), transparent);
}

.team-card-body {
  padding: 1.25rem;
}

.team-card h3 {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 2px;
}

.team-card-role {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.team-card-bio {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 2px;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,0.5);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(224, 50, 24, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-overlay-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: white;
  stroke-width: 2;
}

.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 100;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox.open {
  display: flex;
}

.gallery-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.gallery-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.gallery-lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

.gallery-lightbox-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: white;
  stroke-width: 2;
}

/* ============================================================
   SUGGESTIONS PAGE
   ============================================================ */
.suggestions-page {
  max-width: 640px;
  margin: 0 auto;
}

.suggestion-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ============================================================
   STORE PAGE
   ============================================================ */
.store-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.store-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.2s;
}

.store-card:hover {
  border-color: rgba(224, 50, 24, 0.4);
  transform: translateY(-4px);
}

.store-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

.store-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.store-card:hover .store-card-img img {
  transform: scale(1.05);
}

.store-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 8px;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 2px;
}

.store-card-body {
  padding: 1rem;
}

.store-card h3 {
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
  color: var(--foreground);
}

.store-card-price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.store-card-desc {
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.store-card-btn {
  width: 100%;
  padding: 0.5rem;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background 0.2s;
}

.store-card-btn:hover {
  background: rgba(224, 50, 24, 0.85);
}

/* ============================================================
   KANTERA PAGE
   ============================================================ */
.kantera-hero {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
  text-align: center;
}

.kantera-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?w=1920&q=80');
  background-size: cover;
  background-position: center;
}

.kantera-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,0.85);
}

.kantera-hero-content {
  position: relative;
}

.kantera-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  margin-bottom: 1rem;
}

.kantera-hero p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  max-width: 40rem;
  margin: 0 auto 2rem;
}

.kantera-counters {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.kantera-counter {
  text-align: center;
}

.kantera-counter-num {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--accent);
  line-height: 1;
}

.kantera-counter-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   VIDEOS PAGE
   ============================================================ */
.videos-categories {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.video-cat-btn {
  padding: 0.375rem 1rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.video-cat-btn.active,
.video-cat-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(224, 50, 24, 0.1);
}

/* ============================================================
   PRIVACIDAD / PUBLICIDAD PAGES
   ============================================================ */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-section p, .legal-section li {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal-section ul {
  list-style: disc;
  padding-left: 1.5rem;
}

/* ============================================================
   AUTH PAGE
   ============================================================ */
.auth-page {
  max-width: 440px;
  margin: 0 auto;
}

.auth-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 2rem;
}

.auth-tabs {
  display: flex;
  background: var(--secondary);
  border-radius: 0.5rem;
  padding: 4px;
  margin-bottom: 1.5rem;
}

.auth-tab {
  flex: 1;
  padding: 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: transparent;
  color: var(--muted-foreground);
}

.auth-tab.active {
  background: var(--card);
  color: var(--foreground);
}

/* ============================================================
   AI CHAT BOT (VINY)
   ============================================================ */
.ai-chat-trigger {
  position: fixed;
  bottom: 96px;
  right: 1rem;
  z-index: 45;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(224, 50, 24, 0.5);
  transition: all 0.2s;
  border: none;
}

.ai-chat-trigger:hover {
  box-shadow: 0 0 50px rgba(224, 50, 24, 0.7);
  transform: scale(1.05);
}

.ai-chat-trigger svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: white;
  stroke-width: 2;
}

.ai-chat-panel {
  display: none;
  position: fixed;
  bottom: 160px;
  right: 1rem;
  z-index: 45;
  width: 340px;
  max-height: 500px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.ai-chat-panel.open {
  display: flex;
}

.ai-chat-header {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ai-chat-header h3 {
  font-weight: 700;
  font-size: 0.9375rem;
}

.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  max-height: 300px;
}

.ai-msg {
  max-width: 85%;
}

.ai-msg.bot {
  align-self: flex-start;
}

.ai-msg.user {
  align-self: flex-end;
}

.ai-msg-bubble {
  padding: 0.625rem 0.875rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.ai-msg.bot .ai-msg-bubble {
  background: var(--secondary);
  color: var(--foreground);
  border-bottom-left-radius: 4px;
}

.ai-msg.user .ai-msg-bubble {
  background: var(--primary);
  color: white;
  border-bottom-right-radius: 4px;
}

.ai-chat-input {
  padding: 0.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.5rem;
}

.ai-chat-input .form-input {
  flex: 1;
  height: 38px;
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  pointer-events: all;
  animation: slideInRight 0.3s ease;
  max-width: 300px;
}

.toast.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.toast.error {
  background: rgba(224, 50, 24, 0.15);
  border: 1px solid rgba(224, 50, 24, 0.4);
  color: #f87171;
}

.toast.info {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #60a5fa;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulseRed {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224, 50, 24, 0.7); }
  50% { box-shadow: 0 0 0 8px rgba(224, 50, 24, 0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes glitch {
  0%, 90%, 100% { transform: translate(0); }
  92% { transform: translate(-2px, 1px); }
  94% { transform: translate(2px, -1px); }
  96% { transform: translate(-1px, 2px); }
}

@keyframes waveform {
  0%, 100% { height: 4px; }
  50% { height: 24px; }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.animate-fade-in {
  animation: fadeIn 0.5s cubic-bezier(0, 0, 0.2, 1) both;
}

.animate-slide-up {
  animation: slideUp 0.6s cubic-bezier(0, 0, 0.2, 1) both;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 640px) {
  .hero-logo-img { width: 200px; height: 200px; }
  .hero-cta { flex-direction: row; }
  .kantera-banner-content { flex-direction: row; align-items: center; justify-content: space-between; }
  .manifesto-cta { flex-direction: row; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .schedule-cards { grid-template-columns: repeat(2, 1fr); }
  .media-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .store-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { flex-direction: row; }
}

@media (min-width: 768px) {
  .logo-text { display: block; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .player-logo { display: flex; }
  .player-volume { display: flex; }
  .player-ext-link { display: flex; }
}

@media (min-width: 1024px) {
  .schedule-cards { grid-template-columns: repeat(4, 1fr); }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .bands-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .directo-grid { grid-template-columns: 2fr 1fr; }
  .social-links-header { display: flex; }
  .live-badge { display: flex; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1280px) {
  .desktop-nav { display: flex; }
  .mobile-toggle { display: none; }
  .programs-grid { grid-template-columns: repeat(3, 1fr); }
  .media-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   WORDPRESS SPECIFIC
   ============================================================ */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.875rem; color: var(--muted-foreground); text-align: center; margin-top: 0.5rem; }
.aligncenter { display: block; margin: 0 auto; }
.alignright { float: right; margin: 0 0 1rem 1rem; }
.alignleft { float: left; margin: 0 1rem 1rem 0; }

/* Entry styles */
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
  margin: 1.5rem 0 0.75rem;
}
.entry-content p { margin-bottom: 1rem; color: var(--muted-foreground); line-height: 1.7; }
.entry-content ul, .entry-content ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { color: var(--muted-foreground); margin-bottom: 0.5rem; }
.entry-content a { color: var(--primary); text-decoration: underline; }
.entry-content a:hover { color: var(--accent); }
.entry-content blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--muted-foreground);
}
.entry-content img { border-radius: 0.5rem; margin: 1rem 0; }
