/* ==========================================================================
   PRISM MEDIA LANDING PAGE — MODERN OBSIDIAN & NEON GLASSMORPHISM
   ========================================================================== */

:root {
  --bg-main: #090a0f;
  --bg-surface: #0e111a;
  --bg-card: rgba(18, 22, 34, 0.75);
  --bg-card-hover: rgba(26, 32, 48, 0.9);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --border-active: rgba(30, 215, 96, 0.4);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-cyan: #38bdf8;
  --accent-emerald: #10b981;
  --accent-spotify: #1ed760;
  --accent-violet: #8b5cf6;
  --accent-rose: #f43f5e;
  --accent-amber: #f59e0b;
  --accent-kofi: #ff5e5b;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 40px rgba(56, 189, 248, 0.2);
}

/* Reset y Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Efectos Ambientales de Fondo */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  transition: opacity 1s ease;
}

.glow-1 {
  top: -120px;
  left: 20%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.28) 0%, rgba(139, 92, 246, 0.15) 70%, transparent 100%);
}

.glow-2 {
  top: 40%;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30, 215, 96, 0.2) 0%, rgba(16, 185, 129, 0.08) 70%, transparent 100%);
}

.glow-3 {
  bottom: 5%;
  left: -100px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, rgba(244, 63, 94, 0.1) 70%, transparent 100%);
}

/* Tipografía y Clases Auxiliares */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  font-weight: 800;
  line-height: 1.15;
}

.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #1ed760 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 16px;
  color: var(--text-main);
}

.section-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   BARRA DE NAVEGACIÓN (NAVBAR)
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 10, 15, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
  transition: transform 0.3s ease;
}

.nav-brand:hover .brand-logo {
  transform: scale(1.08) rotate(3deg);
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.brand-version {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-spotify);
  background: rgba(30, 215, 96, 0.12);
  border: 1px solid rgba(30, 215, 96, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-link-donate {
  color: #ff8c8a !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Selector de Idioma */
.lang-toggle-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-main);
  padding: 7px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.icon-globe {
  width: 16px;
  height: 16px;
  stroke: var(--accent-cyan);
}

.btn-nav-download {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-spotify) 0%, #059669 100%);
  color: #000;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(30, 215, 96, 0.3);
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
  outline: none;
}

.btn-nav-download svg {
  width: 17px;
  height: 17px;
}

.btn-nav-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 215, 96, 0.45);
}

/* Nav Download Dropdown */
.nav-download-dropdown-wrap {
  position: relative;
}

.nav-dropdown-chevron {
  transition: transform 0.25s ease;
  margin-left: 2px;
}

.nav-download-dropdown-wrap:hover .nav-dropdown-chevron,
.nav-download-dropdown-wrap.is-open .nav-dropdown-chevron {
  transform: rotate(180deg);
}

.nav-download-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #111624;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 230px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Puente invisible para que el cursor no pierda el hover al bajar al menú */
.nav-download-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-download-dropdown-wrap:hover .nav-download-menu,
.nav-download-dropdown-wrap:focus-within .nav-download-menu,
.nav-download-dropdown-wrap.is-open .nav-download-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-download-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-main);
  transition: background 0.18s ease;
}

.nav-download-option:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-download-option svg {
  flex-shrink: 0;
}

.nav-download-option div {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.nav-download-option strong {
  font-size: 0.85rem;
  color: var(--text-main);
}

.nav-download-option span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  z-index: 1;
  padding: 70px 24px 100px 24px;
  text-align: center;
}

.hero-container {
  max-width: 1140px;
  margin: 0 auto;
}

.hero-badge-wrap {
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  background: rgba(30, 215, 96, 0.08);
  border: 1px solid rgba(30, 215, 96, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-spotify);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-spotify);
  box-shadow: 0 0 10px var(--accent-spotify);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(30, 215, 96, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(30, 215, 96, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(30, 215, 96, 0); }
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.4rem);
  line-height: 1.1;
  max-width: 980px;
  margin: 0 auto 22px auto;
}

.hero-description {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-hero-primary {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #1ed760 0%, #10b981 50%, #059669 100%);
  color: #000;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 35px rgba(30, 215, 96, 0.4);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 45px rgba(30, 215, 96, 0.55);
}

/* Linux Hero & CTA Button */
.btn-hero-linux {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #1e3a8a 100%);
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 35px rgba(2, 132, 199, 0.4);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-hero-linux:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 45px rgba(2, 132, 199, 0.55);
  color: #fff;
}

/* Download Dropdown Container */
.download-dropdown-wrap {
  position: relative;
  display: inline-block;
}

.download-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #111624;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 270px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Puente invisible para mantener el hover */
.download-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.download-dropdown-wrap:hover .download-dropdown-menu,
.download-dropdown-wrap:focus-within .download-dropdown-menu,
.download-dropdown-wrap.is-open .download-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: all 0.18s ease;
  text-align: left;
}

.dropdown-item:hover {
  background: rgba(2, 132, 199, 0.15);
  border-color: rgba(2, 132, 199, 0.35);
  transform: translateX(2px);
}

.dropdown-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.dropdown-item strong {
  font-size: 0.92rem;
  color: #fff;
}

.dropdown-item small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.dropdown-badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(30, 215, 96, 0.15);
  color: var(--accent-spotify);
  border: 1px solid rgba(30, 215, 96, 0.3);
}

.dropdown-badge.deb {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
}

.btn-hero-icon svg {
  width: 28px;
  height: 28px;
}

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

.btn-hero-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.2;
}

.btn-hero-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.85;
}

.btn-hero-secondary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.btn-hero-secondary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

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

.btn-hero-secondary:hover svg {
  transform: translateX(4px);
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-emerald);
}

/* ==========================================================================
   APP MOCKUP EN CSS (INTERFAZ REALISTA)
   ========================================================================== */
.app-mockup-wrapper {
  position: relative;
  max-width: 1050px;
  margin: 0 auto;
  perspective: 1200px;
}

.mockup-window {
  background: rgba(14, 17, 26, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.75), 0 0 50px rgba(56, 189, 248, 0.12);
  overflow: hidden;
  text-align: left;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.mockup-window:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85), 0 0 60px rgba(30, 215, 96, 0.18);
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(9, 10, 15, 0.8);
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-close { background: #ff5f56; }
.dot-min { background: #ffbd2e; }
.dot-max { background: #27c93f; }

.mockup-title {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 600;
}

.mockup-badge {
  font-size: 0.7rem;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--text-dim);
}

.mockup-body {
  display: grid;
  grid-template-columns: 210px 1fr;
  height: 480px;
}

.mockup-sidebar {
  background: rgba(10, 12, 18, 0.9);
  border-right: 1px solid var(--border-subtle);
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.mockup-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.mockup-mini-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.mockup-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
}

.mockup-nav-item svg {
  width: 16px;
  height: 16px;
}

.mockup-nav-item.active {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  font-weight: 600;
}

.mockup-content {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), transparent 70%);
}

.mockup-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  margin-bottom: 24px;
}

.mockup-search-box svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-dim);
}

.mockup-search-placeholder {
  color: var(--text-dim);
  font-size: 0.85rem;
  flex: 1;
}

.mockup-search-btn {
  background: var(--accent-spotify);
  color: #000;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
}

.mockup-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  flex: 1;
}

.mockup-track-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
}

.mockup-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.thumb-artwork {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.art-1 { background-image: linear-gradient(135deg, #4f46e5, #06b6d4); }
.art-2 { background-image: linear-gradient(135deg, #f59e0b, #ef4444); }
.art-3 { background-image: linear-gradient(135deg, #10b981, #3b82f6); }

.thumb-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.mockup-track-card:hover .thumb-play-overlay {
  opacity: 1;
}

.mockup-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-card-artist {
  font-size: 0.72rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-card-btn {
  background: rgba(30, 215, 96, 0.15);
  color: var(--accent-spotify);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  padding: 6px;
  border-radius: 6px;
  margin-top: auto;
}

.mockup-player-bar {
  margin-top: 14px;
  background: rgba(10, 12, 18, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-player-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-art {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f59e0b, #ec4899);
}

.mini-title {
  font-size: 0.78rem;
  font-weight: 700;
}

.mini-artist {
  font-size: 0.68rem;
  color: var(--text-dim);
}

.mockup-player-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 200px;
}

.mockup-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.85rem;
}

.play-circle {
  font-size: 1.1rem;
  color: var(--accent-spotify);
}

.mockup-progress {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.mockup-progress-fill {
  width: 65%;
  height: 100%;
  background: var(--accent-spotify);
}

.mockup-player-right {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ==========================================================================
   SECCIÓN DE CARACTERÍSTICAS (GRID)
   ========================================================================== */
.features-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.icon-cyan { background: rgba(56, 189, 248, 0.15); color: var(--accent-cyan); }
.icon-violet { background: rgba(139, 92, 246, 0.15); color: var(--accent-violet); }
.icon-emerald { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); }
.icon-rose { background: rgba(244, 63, 94, 0.15); color: var(--accent-rose); }
.icon-amber { background: rgba(245, 158, 11, 0.15); color: var(--accent-amber); }
.icon-blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 22px;
  flex: 1;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-pills span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   SECCIONES PROFUNDAS (EXPLORER Y PLAYER)
   ========================================================================== */
.deep-dive-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.deep-dive-section.alt-bg {
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.deep-dive-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.deep-dive-grid.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.deep-dive-content .section-title {
  text-align: left;
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.deep-dive-content .section-subtitle {
  text-align: left;
  margin-bottom: 28px;
}

.deep-dive-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.deep-dive-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--text-main);
}

.deep-dive-list li svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-spotify);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Visuales Interactivos de Sección */
.interactive-preview-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.preview-card-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
}

.preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

.preview-song-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.song-avatar {
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

.song-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.song-meta strong {
  font-size: 0.92rem;
  color: var(--text-main);
}

.song-meta span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.song-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(30, 215, 96, 0.15);
  color: var(--accent-spotify);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Showcase de Reproductor */
.player-showcase-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.player-showcase-header {
  margin-bottom: 20px;
}

.status-pill {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-spotify);
  background: rgba(30, 215, 96, 0.1);
  border: 1px solid rgba(30, 215, 96, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.player-big-cover {
  width: 220px;
  height: 220px;
  margin: 0 auto 20px auto;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.player-details h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.player-details p {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.player-bar-visual {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-bottom: 20px;
  overflow: hidden;
}

.player-fill-visual {
  height: 100%;
  background: var(--accent-spotify);
  border-radius: 3px;
}

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

.player-visual-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.player-visual-btn svg {
  width: 19px;
  height: 19px;
  transition: transform 0.2s ease;
}

.player-visual-btn:hover {
  color: #ffffff;
  transform: scale(1.14);
}

.player-visual-btn.is-active {
  color: var(--accent-spotify);
}

.player-visual-btn.is-active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-spotify);
  box-shadow: 0 0 6px var(--accent-spotify);
}

.play-btn-large {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-spotify);
  border: none;
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(30, 215, 96, 0.45);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
  padding: 0;
}

.play-btn-large svg {
  width: 20px;
  height: 20px;
  fill: #000000;
  margin-left: 2px;
}

.play-btn-large:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(30, 215, 96, 0.65);
}

/* ==========================================================================
   SECCIÓN DE DONACIONES (KO-FI)
   ========================================================================== */
.donate-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.donate-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 94, 91, 0.12) 0%, rgba(18, 22, 34, 0.95) 60%);
  border: 1px solid rgba(255, 94, 91, 0.3);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(255, 94, 91, 0.15);
}

.donate-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 94, 91, 0.25), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.donate-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.donate-badge-wrap {
  margin-bottom: 18px;
}

.donate-badge {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ff8c8a;
  background: rgba(255, 94, 91, 0.15);
  border: 1px solid rgba(255, 94, 91, 0.35);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.donate-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.donate-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.btn-kofi-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ff5e5b;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 15px 32px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(255, 94, 91, 0.4);
  transition: all 0.3s ease;
}

.btn-kofi-primary:hover {
  transform: translateY(-3px) scale(1.02);
  background: #ff4743;
  box-shadow: 0 16px 40px rgba(255, 94, 91, 0.6);
}

.kofi-icon {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   PREGUNTAS FRECUENTES (FAQ)
   ========================================================================== */
.faq-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-dim);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  stroke: var(--accent-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  padding-bottom: 20px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta-section {
  position: relative;
  z-index: 1;
  padding: 80px 0 120px 0;
}

.final-cta-card {
  background: radial-gradient(circle at center, rgba(56, 189, 248, 0.15) 0%, rgba(14, 17, 26, 0.95) 70%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 60px 30px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.final-cta-title {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.final-cta-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 34px auto;
}

.final-cta-card .hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.final-cta-card .btn-hero-primary,
.final-cta-card .btn-hero-linux {
  margin: 0;
  display: inline-flex;
}

/* El dropdown en la tarjeta final abre HACIA ARRIBA para que NUNCA se recorte abajo */
.final-cta-card .download-dropdown-menu {
  top: auto;
  bottom: calc(100% + 12px);
  transform: translateX(-50%) translateY(-8px);
}

.final-cta-card .download-dropdown-wrap:hover .download-dropdown-menu,
.final-cta-card .download-dropdown-wrap:focus-within .download-dropdown-menu,
.final-cta-card .download-dropdown-wrap.is-open .download-dropdown-menu {
  transform: translateX(-50%) translateY(0);
}

.final-cta-card .download-dropdown-menu::before {
  top: auto;
  bottom: -16px;
  height: 16px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  position: relative;
  z-index: 1;
  background: #06070a;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-tagline {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-top: 14px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col h4 {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 4px;
}

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

.footer-links-col a:hover {
  color: var(--text-main);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 14px;
}

.footer-lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-lang-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.footer-lang-btn.active, .footer-lang-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   RESPONSIVIDAD (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 992px) {
  .deep-dive-grid, .deep-dive-grid.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .mockup-body {
    grid-template-columns: 1fr;
    height: auto;
  }

  .mockup-sidebar {
    display: none;
  }

  .mockup-cards-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .section-title {
    font-size: 2.1rem;
  }

  .mockup-cards-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-trust-bar {
    gap: 20px;
  }
}

/* ==========================================================================
   CONSENTIMIENTO DE COOKIES & PRIVACIDAD (ACCESIBLE, BILINGÜE)
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-cookie-link {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
  display: inline-block;
}

.footer-cookie-link:hover {
  color: var(--text-main);
}

.footer-cookie-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.footer-cookie-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

/* Banner flotante en parte inferior */
.prism-cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  width: calc(100% - 32px);
  max-width: 1040px;
  background: rgba(14, 16, 24, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 9999;
  padding: 22px 28px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.prism-cookie-banner.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.prism-cookie-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.prism-cookie-text-col {
  flex: 1;
}

.prism-cookie-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.prism-cookie-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-spotify);
  flex-shrink: 0;
}

.prism-cookie-title-row h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.prism-cookie-text-col p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

.prism-cookie-text-col code {
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 0.82rem;
  color: var(--accent-cyan);
}

.prism-cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.prism-cookie-btn {
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.prism-cookie-btn-accept {
  background: var(--accent-spotify);
  color: #051c14;
  border: none;
  font-weight: 700;
}

.prism-cookie-btn-accept:hover {
  background: #25eb6e;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(30, 215, 96, 0.35);
}

.prism-cookie-btn-reject {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-main);
}

.prism-cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.prism-cookie-btn-settings {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 9px 10px;
}

.prism-cookie-btn-settings:hover {
  color: var(--text-main);
}

.prism-cookie-btn-primary {
  background: var(--accent-cyan);
  color: #041926;
  border: none;
  font-weight: 700;
}

.prism-cookie-btn-primary:hover {
  background: #5eead4;
  transform: translateY(-1px);
}

/* Modal de configuración de cookies */
.prism-cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 10, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.prism-cookie-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.prism-cookie-modal-card {
  background: #0f121a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.prism-cookie-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 18px;
}

.prism-cookie-modal-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 6px 0;
}

.prism-cookie-modal-subtitle {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.prism-cookie-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.prism-cookie-close-btn svg {
  width: 18px;
  height: 18px;
}

.prism-cookie-close-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text-main);
}

.prism-cookie-modal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prism-cookie-cat-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 18px;
  transition: border-color 0.2s ease;
}

.prism-cookie-cat-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.prism-cookie-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.prism-cookie-cat-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.prism-cookie-cat-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.prism-cookie-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.prism-cookie-badge.active {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.prism-cookie-badge.optional {
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.prism-cookie-cat-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Switch toggle interactivo */
.prism-cookie-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
  cursor: pointer;
}

.prism-cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.prism-cookie-slider {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  transition: background-color 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.prism-cookie-slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #cbd5e1;
  border-radius: 50%;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.prism-cookie-switch input:checked + .prism-cookie-slider {
  background-color: var(--accent-spotify);
  border-color: var(--accent-spotify);
}

.prism-cookie-switch input:checked + .prism-cookie-slider::before {
  transform: translateX(20px);
  background-color: #051c14;
}

.prism-cookie-switch input:focus-visible + .prism-cookie-slider {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

.prism-cookie-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
}

@media (max-width: 768px) {
  .prism-cookie-banner {
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 18px;
  }

  .prism-cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .prism-cookie-actions {
    flex-direction: column;
    width: 100%;
  }

  .prism-cookie-btn {
    width: 100%;
  }

  .prism-cookie-modal-card {
    padding: 22px 18px;
  }

  .prism-cookie-modal-footer {
    flex-direction: column;
  }

  .prism-cookie-modal-footer .prism-cookie-btn {
    width: 100%;
  }
}
