/**
 * Me Vuelves Loco - Estilos CSS Refinados
 * Suhail Serghini - Versión PHP 2024
 */

/* Variables CSS Refinadas */
:root {
    /* Colores principales */
    --primary: #e91e63;
    --primary-dark: #c2185b;
    --secondary: #9c27b0;
    --accent: #ff6b35;
    --orange: #ff6b35;
    --orange-dark: #e55a2b;
    --orange-light: #ff8a65;
    --purple: #8a2be2;
    --purple-dark: #7b27d4;
    --purple-light: #9c4dcc;
    --music-dark: #0a0a0a;
    --black: #000000;
    --white: #ffffff;
    --dark-bg: #111111;
    --card-bg: #1a1a1a;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    
    /* Gradientes refinados */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    --gradient-orange: linear-gradient(135deg, var(--orange-light) 0%, var(--orange) 50%, var(--orange-dark) 100%);
    --gradient-purple: linear-gradient(135deg, var(--purple-light) 0%, var(--purple) 50%, var(--purple-dark) 100%);
    --gradient-dark: linear-gradient(135deg, var(--music-dark) 0%, var(--dark-bg) 50%, var(--black) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(10, 10, 10, 0.85) 0%, rgba(15, 15, 15, 0.75) 50%, rgba(0, 0, 0, 0.9) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(138, 43, 226, 0.15) 100%);
    
    /* Sombras refinadas */
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.4);
    --shadow-orange: 0 8px 32px rgba(255, 107, 53, 0.35);
    --shadow-purple: 0 8px 32px rgba(138, 43, 226, 0.35);
    --shadow-glow-orange: 0 0 25px rgba(255, 107, 53, 0.4);
    --shadow-glow-purple: 0 0 25px rgba(138, 43, 226, 0.4);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.15);
    
    /* Transiciones suaves */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Fuentes */
    --font-montserrat: 'Montserrat', sans-serif;
    --font-poppins: 'Poppins', sans-serif;
}

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-montserrat);
    background: var(--gradient-dark);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-glass);
    z-index: -1;
    opacity: 0.3;
    pointer-events: none;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-montserrat);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    letter-spacing: -0.01em;
}

p {
    font-family: var(--font-poppins);
    font-weight: 400;
    color: var(--white);
    line-height: 1.7;
}

/* Utilidades */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-gradient {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite;
}

/* Efectos glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
}

/* Botones refinados */
.music-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-orange);
}

.music-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left var(--transition-slow);
}

.music-btn:hover {
    background: var(--gradient-purple);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-orange);
}

.music-btn:hover::before {
    left: 100%;
}

.music-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.music-btn:hover::after {
    opacity: 1;
}

.music-btn.secondary {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-purple);
    border: 1px solid var(--glass-border);
}

.music-btn.secondary:hover {
    background: var(--gradient-purple);
    border-color: var(--purple);
    box-shadow: var(--shadow-glow-purple);
}

/* Card de música refinada */
.music-card {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.music-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.6;
}

.music-card:hover {
    border-color: var(--orange);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-orange);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-content {
    text-align: center;
    max-width: 300px;
}

.music-logo {
    font-size: 4rem;
    color: var(--orange);
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.loading-text {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.loading-bar {
    width: 100%;
    height: 4px;
    background: var(--dark-bg);
    border-radius: 2px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: var(--gradient-orange);
    border-radius: 2px;
    animation: loading 2s ease-in-out infinite;
}

/* Main Content */
.main-content {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.main-content.loaded {
    opacity: 1;
}

/* Hero Section refinado */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/fondo.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.6) contrast(1.1);
    z-index: 0;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    padding: 2rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 300;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInScale 0.8s ease 0.5s forwards;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--white);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
}

.scroll-text {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--orange);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 4px;
}

.scroll-dot {
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: scrollDot 1.5s infinite;
}

/* Elementos decorativos refinados */
.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-orange);
    opacity: 0.15;
    filter: blur(60px);
    animation: float 8s ease-in-out infinite;
}

.floating-circle.circle-1 {
    top: 25%;
    left: -5%;
    width: 300px;
    height: 300px;
    animation-delay: 0s;
}

.floating-circle.circle-2 {
    bottom: 25%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: var(--gradient-purple);
    animation-delay: 1s;
    animation-duration: 7s;
}

/* Music Player Section refinado */
.music-player-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background: var(--dark-bg);
}

.sound-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    opacity: 0.4;
    overflow: hidden;
}

.sound-waves svg {
    width: 100%;
    height: 100%;
}

.sound-waves path {
    fill: var(--orange);
}

.player-container {
    max-width: 900px;
    margin: 0 auto;
}

.player-card {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-xl);
}

.album-art {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1;
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.album-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.album-art:hover img {
    transform: scale(1.05);
}

.vinyl-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-slow);
    backdrop-filter: blur(8px);
}

.vinyl-overlay.playing {
    opacity: 1;
}

.vinyl-record {
    width: 75%;
    height: 75%;
    border-radius: 50%;
    border: 4px solid var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spin 10s linear infinite;
    animation-play-state: paused;
    box-shadow: var(--shadow-glow-orange);
}

.vinyl-record.spinning {
    animation-play-state: running;
}

.vinyl-center {
    width: 20%;
    height: 20%;
    background: var(--gradient-orange);
    border-radius: 50%;
    box-shadow: var(--shadow-inset);
}

.player-controls {
    width: 100%;
    max-width: 500px;
    space-y: 1.5rem;
}

.track-info {
    text-align: center;
    margin-bottom: 2rem;
}

.track-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.track-artist {
    color: var(--orange);
    font-size: 1rem;
}

.visualizer {
    display: flex;
    align-items: end;
    justify-content: center;
    height: 40px;
    gap: 4px;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--glass-bg);
    border-radius: 1rem;
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

.visualizer-bar {
    width: 4px;
    background: var(--gradient-orange);
    border-radius: 2px;
    transition: height var(--transition-fast);
    box-shadow: 0 0 8px rgba(255, 107, 53, 0.4);
}

.visualizer.playing .visualizer-bar {
    animation: visualizer 0.5s ease-in-out infinite alternate;
}

.progress-container {
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--glass-bg);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.progress-fill {
    height: 100%;
    background: var(--gradient-orange);
    border-radius: 4px;
    position: relative;
    transition: width var(--transition-fast);
    box-shadow: 0 0 12px rgba(255, 107, 53, 0.3);
}

.progress-handle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-fast);
}

.progress-handle:hover {
    transform: translate(50%, -50%) scale(1.2);
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--orange);
    margin-bottom: 1.5rem;
}

.controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.volume-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--orange);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.volume-btn:hover {
    background: var(--orange);
    color: var(--white);
    box-shadow: var(--shadow-glow-orange);
}

.volume-slider {
    width: 80px;
    accent-color: var(--orange);
}

.play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-orange);
    border: none;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all var(--transition-bounce);
    box-shadow: var(--shadow-orange);
    position: relative;
    overflow: hidden;
}

.play-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-purple);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.play-btn:hover {
    background: var(--gradient-purple);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow-orange);
}

.play-btn:hover::before {
    opacity: 1;
}

.play-btn i {
    position: relative;
    z-index: 1;
}

/* Streaming Links Section */
.streaming-section {
    padding: 5rem 0;
    background: var(--music-dark);
}

.streaming-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--white);
}

.streaming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.streaming-card {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--glass-border);
}

.streaming-card:hover {
    transform: translateY(-4px);
    border-color: var(--orange);
    box-shadow: var(--shadow-glow-orange);
}

.streaming-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 1rem;
    overflow: hidden;
}

.streaming-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: var(--dark-bg);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--white);
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--white);
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background: var(--music-dark);
}

.gallery-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 1rem;
    cursor: pointer;
    transition: transform var(--transition-normal);
    position: relative;
    border: 2px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover {
    transform: scale(1.02);
    border-color: var(--orange);
    box-shadow: var(--shadow-glow-orange);
}

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

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

/* Contact Section refinada */
.contact-section {
    padding: 5rem 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: contactFloat 15s ease-in-out infinite;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.contact-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--white);
    opacity: 0.9;
}

/* Footer refinado */
.footer {
    padding: 3rem 0 2rem;
    background: var(--black);
    text-align: center;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-primary);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--orange);
    text-decoration: none;
    font-size: 1.25rem;
    transition: all var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-orange);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.social-link:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-glow-orange);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link i {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.footer-text {
    color: var(--orange);
    font-size: 0.875rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: -40px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    background: var(--orange);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.modal-close:hover {
    background: var(--purple);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0 -60px;
}

.modal-nav-btn {
    background: var(--orange);
    border: none;
    color: var(--white);
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all var(--transition-normal);
}

.modal-nav-btn:hover {
    background: var(--purple);
}

/* Animaciones refinadas */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes loading {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

@keyframes scrollDot {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(20px); opacity: 0; }
}

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

@keyframes visualizer {
    from { height: 4px; }
    to { height: 40px; }
}

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

@keyframes heroZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.1); }
}

@keyframes contactFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(15px, -15px) rotate(180deg); }
}

/* Animaciones de scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}

.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
    
    .player-card {
        flex-direction: row;
        gap: 3rem;
    }
    
    .album-art {
        max-width: 350px;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 6rem;
    }
}

/* Animaciones adicionales para barras de visualizador */
.visualizer-bar:nth-child(1) { animation-delay: 0.1s; }
.visualizer-bar:nth-child(2) { animation-delay: 0.2s; }
.visualizer-bar:nth-child(3) { animation-delay: 0.3s; }
.visualizer-bar:nth-child(4) { animation-delay: 0.4s; }
.visualizer-bar:nth-child(5) { animation-delay: 0.5s; }
.visualizer-bar:nth-child(6) { animation-delay: 0.4s; }
.visualizer-bar:nth-child(7) { animation-delay: 0.3s; }
.visualizer-bar:nth-child(8) { animation-delay: 0.2s; }
.visualizer-bar:nth-child(9) { animation-delay: 0.1s; }
.visualizer-bar:nth-child(10) { animation-delay: 0s; }

/* Estilos para diferentes alturas de barras */
.visualizer-bar:nth-child(odd) { height: 8px; }
.visualizer-bar:nth-child(even) { height: 16px; }
.visualizer-bar:nth-child(3n) { height: 24px; }
.visualizer-bar:nth-child(5n) { height: 32px; }

.visualizer.playing .visualizer-bar:nth-child(odd) { 
    animation: visualizer-low 0.8s ease-in-out infinite alternate;
}
.visualizer.playing .visualizer-bar:nth-child(even) { 
    animation: visualizer-mid 0.6s ease-in-out infinite alternate;
}
.visualizer.playing .visualizer-bar:nth-child(3n) { 
    animation: visualizer-high 0.4s ease-in-out infinite alternate;
}

@keyframes visualizer-low {
    from { height: 4px; }
    to { height: 20px; }
}

@keyframes visualizer-mid {
    from { height: 8px; }
    to { height: 30px; }
}

@keyframes visualizer-high {
    from { height: 12px; }
    to { height: 40px; }
}