:root {
    --primary: #ff0055;
    --accent: #00d4ff;
    --dark: #0f0f1a;
    --light: #ffffff;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    scroll-behavior: smooth;
}

.container { max-width: 1100px; margin: auto; padding: 0 20px; }

/* Header */
header {
    background: rgba(15, 15, 26, 0.95);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo { font-size: 24px; font-weight: bold; }
.logo span { color: var(--primary); }

nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 20px; }
nav ul li a { color: white; text-decoration: none; transition: 0.3s; }
nav ul li a:hover { color: var(--primary); }

/* Hero Section */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1516280440614-37939bbacd81?auto=format&fit=crop&w=1500') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top:0; left:0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(15, 15, 26, 0.8), var(--dark));
}

.hero-content { position: relative; z-index: 1; }
.hero h1 { font-size: 4rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 5px; }

/* Player Card */
.player-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.play-trigger {
    width: 60px; height: 60px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.play-trigger:hover { transform: scale(1.1); box-shadow: 0 0 20px var(--primary); }

/* Visualizer Animation */
.visualizer { display: flex; gap: 3px; height: 30px; align-items: flex-end; }
.visualizer span {
    width: 4px; background: var(--accent);
    animation: bounce 1s infinite alternate;
}
.visualizer span:nth-child(2) { animation-delay: 0.2s; }
.visualizer span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce { 
    from { height: 5px; } 
    to { height: 25px; } 
}

/* Sections */
.section { padding: 100px 0; }
.bg-dark { background: #0a0a12; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.img-rounded { width: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item img {
    width: 100%; border-radius: 10px; cursor: pointer;
    transition: 0.4s; filter: grayscale(50%);
}
.gallery-item img:hover { filter: grayscale(0); transform: scale(1.05); }

/* Form */
.contact-form { max-width: 600px; margin: auto; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 15px; margin-bottom: 15px;
    background: #1a1a2e; border: 1px solid #333; color: white; border-radius: 5px;
}
.btn-submit {
    width: 100%; padding: 15px; background: var(--primary);
    border: none; color: white; font-weight: bold; cursor: pointer;
}

footer { padding: 40px; text-align: center; border-top: 1px solid #222; }

@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
}
.whatsapp-float {
    position: fixed;
    bottom: 20px; /* Un poco más arriba para que no estorbe la navegación de Android */
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    padding: 12px 20px; /* Tamaño ajustado para dedos */
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    z-index: 9999; /* Máxima prioridad para que no lo tape nada */
    display: flex;
    align-items: center;
    gap: 8px;
    
    /* Esto asegura que la animación funcione en Android */
    -webkit-animation: pulse-wa 2s infinite;
    animation: pulse-wa 2s infinite;
    
    /* Evita que el texto se vea azul al tocarlo en el cel */
    -webkit-tap-highlight-color: transparent;
}

/* Animación compatible con todos los navegadores móviles */
@-webkit-keyframes pulse-wa {
    0% { -webkit-box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { -webkit-box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { -webkit-box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 768px) {
    .whatsapp-float span {
        display: none; /* En celular ocultamos el texto y dejamos solo el icono para que no tape la pantalla */
    }
    .whatsapp-float {
        padding: 15px;
        border-radius: 50%; /* Se vuelve un círculo perfecto en móvil */
    }
    .whatsapp-float i {
        font-size: 30px; /* Icono más grande para tocarlo fácil con el pulgar */
        margin: 0;
    }
}