/* --- CONFIGURACIÓN GENERAL E IMPORTACIÓN DE FUENTE --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    background-color: #000000;
    position: relative;
    overflow-x: hidden;
}

/* --- FONDO ANIMADO CON EFECTO OLAS --- */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        linear-gradient(160deg, rgba(50, 50, 255, 0.5) 0%, transparent 40%),
        linear-gradient(340deg, rgba(0, 0, 200, 0.4) 10%, transparent 50%),
        linear-gradient(45deg, rgba(150, 0, 150, 0.5) 0%, transparent 45%),
        linear-gradient(225deg, rgba(100, 0, 100, 0.4) 10%, transparent 55%),
        linear-gradient(90deg, rgba(255, 0, 255, 0.5) 0%, transparent 50%),
        linear-gradient(270deg, rgba(200, 0, 200, 0.4) 10%, transparent 60%);
    background-size: 350% 350%;
    animation: moveWaves 30s ease-in-out infinite alternate;
    filter: brightness(1.1);
}

@keyframes moveWaves {
    0% { background-position: 0% 0%; }
    20% { background-position: 100% 0%; }
    40% { background-position: 0% 100%; }
    60% { background-position: 100% 100%; }
    80% { background-position: 50% 50%; }
    100% { background-position: 0% 0%; }
}

/* --- NAVEGACIÓN --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    height: 40px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.1);
}

.nav-icons {
    display: flex;
    gap: 25px;
}

.nav-icons a {
    color: #ffffff;
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.nav-icons a:hover {
    transform: scale(1.2);
}

/* --- ESTILOS DE SECCIONES GENERALES --- */
section {
    padding: 100px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
}

section h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* --- SECCIÓN DE INTRODUCCIÓN CON FOTO --- */
#intro {
    position: relative;
    background-image: url('tu-foto-de-artista.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-bottom: 120px;
}

#intro::before {
    content: none;
}

.intro-logo {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 800px;
    height: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 25px rgba(0, 0, 0, 0.8)); 
}

.intro-socials {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 30px;
}

.intro-socials a {
    color: #ffffff;
    font-size: 2.5rem;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
}

.intro-socials a:hover {
    transform: translateY(-5px) scale(1.1);
    color: #c37dff;
}

.scroll-down-arrow {
    position: absolute;
    bottom: 100px; /* ¡POSICIÓN AJUSTADA Y SUBIDA! */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: #fff;
    font-size: 2rem;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    animation: bounce 2.5s infinite ease-in-out;
}

.scroll-down-arrow:hover {
    animation-play-state: paused;
    transform: translateX(-50%) scale(1.1);
}

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

/* --- SECCIÓN DE VÍDEO --- */
#video {
    padding-top: 50px;
}

.video-container {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    overflow: hidden;
}

.video-container iframe {
    width: 100%;
    height: 100%;
}

/* --- SECCIÓN DE DISCOGRAFÍA --- */
#music {
    min-height: auto;
}

.music-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    max-width: 800px;
}

.song-item {
    display: flex;
    align-items: center;
    gap: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
}

.song-cover {
    width: 120px;
    height: 120px;
    border-radius: 5px;
    object-fit: cover;
}

.song-info {
    flex-grow: 1;
}

.song-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.song-info p {
    color: #e0e0e0;
    margin-bottom: 15px;
}

.streaming-links a {
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 20px;
    margin-right: 10px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.streaming-links a .fa-brands {
    margin-right: 8px;
}

.spotify { background-color: #1DB954; }
.spotify:hover { background-color: #1ed760; }

.youtube { background-color: #FF0000; }
.youtube:hover { background-color: #e62117; }

.applemusic { background-color: #FA57C1; }
.applemusic:hover { background-color: #fc7dc9; }

.no-applemusic {
    color: #bbb;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 15px;
    border-radius: 20px;
    margin-right: 10px;
    font-size: 0.9rem;
    display: inline-block;
    opacity: 0.7;
}

/* --- SECCIÓN DE INSTAGRAM --- */
#instagram {
    min-height: auto;
    padding-bottom: 150px;
}

.instagram-feed {
    width: 100%;
    max-width: 1000px;
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 40px 20px;
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    color: #ffffff;
    font-size: 1.8rem;
    margin: 0 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: #c37dff;
    transform: scale(1.2);
}

/* --- REPRODUCTOR DE MÚSICA --- */
.music-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 200;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    padding: 0 40px;
    color: #fff;
}

.player-left {
    display: flex;
    align-items: center;
}

#player-cover-art {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    margin-right: 15px;
    object-fit: cover;
}

.song-details {
    display: flex;
    flex-direction: column;
}

#song-title {
    font-size: 1.1rem;
    font-weight: 700;
}

#song-artist {
    font-size: 0.9rem;
    color: #aaa;
}

.player-main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.player-controls {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.player-controls button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    margin: 0 15px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.player-controls button:hover {
    transform: scale(1.2);
}

#play-pause-btn {
    font-size: 2rem;
}

.timeline {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: #aaa;
}

.progress-bar {
    flex-grow: 1;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    cursor: pointer;
}

#progress {
    height: 100%;
    width: 0%;
    background: #fff;
    border-radius: 5px;
}

.volume-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.volume-controls button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

#volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100px;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    outline: none;
    margin-left: 10px;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
}

/* --- ADAPTACIÓN A MÓVILES --- */
@media (max-width: 768px) {
    header { padding: 15px 20px; }
    .header-logo { height: 35px; }
    .intro-logo { max-width: 500px; }
    .intro-socials a { font-size: 2rem; }
    section h2 { font-size: 2rem; }
    .song-item { flex-direction: column; text-align: center; }
    .song-info { width: 100%; }
    .streaming-links { display: flex; flex-direction: column; gap: 10px; align-items: center; }
    .streaming-links a, .no-applemusic { width: 80%; text-align: center; }
    .music-player { grid-template-columns: 1fr auto; grid-template-rows: auto; height: auto; padding: 15px; gap: 10px; }
    .player-main { grid-column: 1 / -1; order: 2; width: 100%; }
    .player-left { order: 1; }
    .volume-controls { order: 3; }
    #player-cover-art { width: 50px; height: 50px; }
    .volume-controls { display: none; }
}