/* === RESET & BASE === */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

:root {
    --gold: #D4AF37;
    --dark: #000000; /* Negro puro para mayor contraste */
    --glass-bg: rgba(255, 255, 255, 0.03); /* Vidrio más sutil */
    --glass-border: rgba(255, 255, 255, 0.15);
    --liquid-shine: rgba(255, 255, 255, 0.05);
}

body {
    background-color: var(--dark);
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
}

/* === PRELOADER === */
#preloader {
    position: fixed; inset: 0; background: #000; z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    animation: vanish 0.5s ease-out 2.5s forwards; pointer-events: all;
}
@keyframes vanish { 100% { opacity: 0; visibility: hidden; pointer-events: none; } }
.spinner {
    width: 50px; height: 50px; border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--gold); border-radius: 50%; animation: spin 0.8s infinite linear;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* === FONDO === */
.bg-video { position: fixed; inset: 0; z-index: -1; }
.bg-video video { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.3), #000); }

/* === NAV LIQUID GLASS (EL NOTCH GRANDE) === */
.glass-nav {
    position: fixed; top: 25px; left: 50%; transform: translateX(-50%);
    width: 95%; max-width: 800px; /* MÁS GRANDE */
    padding: 18px 40px; /* MÁS ALTO */
    
    /* EFECTO LIQUID GLASS REAL */
    background: rgba(15, 15, 15, 0.6); 
    backdrop-filter: blur(30px) saturate(180%); 
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    
    border-radius: 100px; 
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000; transition: 0.3s;
}

.logo { font-weight: 800; font-size: 1.4rem; letter-spacing: -1px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.gold { color: var(--gold); }

.nav-links { display: flex; gap: 35px; list-style: none; }
.nav-links a { 
    color: rgba(255,255,255,0.8); text-decoration: none; font-size: 1rem; 
    font-weight: 500; transition: 0.3s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: white; text-shadow: 0 0 10px rgba(255,255,255,0.5); }

/* === SECCIONES PRINCIPALES === */
.hero-section {
    min-height: 100vh; display: flex; flex-direction: column;
    justify-content: center; align-items: center; padding: 120px 20px 40px; gap: 40px;
}
.profile-card { text-align: center; animation: slideUp 1s ease; }
.avatar { 
    width: 130px; height: 130px; border-radius: 50%; 
    border: 3px solid var(--gold); object-fit: cover; margin-bottom: 20px; 
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.25); 
}
h1 { font-size: 3.5rem; letter-spacing: -2px; margin-bottom: 10px; line-height: 1; }
.subtitle { color: rgba(255,255,255,0.6); font-size: 1.2rem; }

/* === CHAT (Estilo Glass) === */
.chat-wrapper {
    width: 100%; max-width: 550px;
    background: rgba(30, 30, 30, 0.4); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 30px; backdrop-filter: blur(20px);
    display: flex; flex-direction: column; overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: slideUp 1s ease 0.2s backwards;
}
.chat-window { height: 250px; overflow-y: auto; padding: 25px; display: flex; flex-direction: column; gap: 15px; }
.chat-window::-webkit-scrollbar { display: none; }
.msg { padding: 14px 20px; border-radius: 20px; font-size: 1rem; max-width: 85%; line-height: 1.5; }
.msg.ai { background: rgba(255,255,255,0.05); align-self: flex-start; color: #eee; border: 1px solid rgba(255,255,255,0.05); }
.msg.user { background: var(--gold); align-self: flex-end; color: #000; font-weight: 700; box-shadow: 0 5px 15px rgba(212,175,55,0.3); }
.input-container { padding: 12px; background: rgba(0,0,0,0.3); display: flex; gap: 10px; align-items: center; }
.input-container input { flex: 1; background: transparent; border: none; color: white; outline: none; padding: 10px; font-size: 1rem; }
#sendBtn { background: var(--gold); border: none; width: 45px; height: 45px; border-radius: 50%; cursor: pointer; color: black; transition: 0.2s; display: grid; place-items: center; }
#sendBtn:hover { transform: scale(1.1); }

/* === TARJETAS DE CRISTAL (Para Blog y Secciones) === */
.section-container { max-width: 1000px; margin: 0 auto; padding: 80px 20px; }
.glass-card {
    background: rgba(25, 25, 25, 0.6); 
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 30px; padding: 40px; margin-bottom: 30px;
    transition: 0.4s; position: relative; overflow: hidden;
}
.glass-card:hover { border-color: var(--gold); transform: translateY(-5px); background: rgba(30,30,30,0.7); }

/* === REDES SOCIALES (Botones Grandes) === */
.social-section { text-align: center; padding: 60px 20px 100px; }
.social-icons { display: flex; justify-content: center; gap: 25px; margin-top: 30px; flex-wrap: wrap; }
.social-btn {
    width: 70px; height: 70px; background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 25px; /* Cuadrado redondeado estilo App */
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.8rem; transition: 0.3s; text-decoration: none;
    backdrop-filter: blur(10px);
}
.social-btn:hover { background: var(--gold); color: black; transform: translateY(-8px) scale(1.05); box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3); border-color: var(--gold); }

/* === BLOG GRID ESTÉTICO === */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 25px; }
.blog-card-item {
    background: rgba(20,20,20,0.6); border-radius: 30px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05); transition: 0.4s; text-decoration: none; color: white;
    display: flex; flex-direction: column; height: 100%;
}
.blog-card-item:hover { transform: translateY(-8px); border-color: rgba(255,255,255,0.2); box-shadow: 0 15px 40px rgba(0,0,0,0.4); }
.blog-img-wrap { height: 220px; overflow: hidden; position: relative; }
.blog-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.blog-card-item:hover .blog-img-wrap img { transform: scale(1.05); }
.blog-content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.blog-desc { font-size: 0.95rem; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.read-more { margin-top: auto; color: var(--gold); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* === CONTACTO FORM === */
.contact-form input, .contact-form textarea {
    width: 100%; padding: 18px; margin-bottom: 20px;
    background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px; color: white; outline: none; font-size: 1rem; transition: 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); background: rgba(0,0,0,0.5); }
.submit-btn {
    width: 100%; padding: 18px; background: var(--gold); border: none;
    border-radius: 15px; color: black; font-weight: 800; font-size: 1.1rem; 
    cursor: pointer; transition: 0.3s; letter-spacing: 1px;
}
.submit-btn:hover { background: #fff; box-shadow: 0 0 20px rgba(255,255,255,0.4); }

@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .glass-nav { 
        top: auto; bottom: 20px; /* Abajo en móvil */
        width: 88%; padding: 15px 25px; 
        justify-content: center;
        background: rgba(10, 10, 10, 0.8); /* Fondo más oscuro en móvil */
    }
    .logo { display: none; } /* Solo iconos */
    .nav-links { gap: 30px; width: 100%; justify-content: space-around; }
    .nav-links a { font-size: 1.1rem; }
    h1 { font-size: 2.8rem; }
    .hero-section { padding-top: 60px; padding-bottom: 120px; }
    .social-btn { width: 55px; height: 55px; font-size: 1.5rem; }
}



/* === NUEVO ESTILO DE CONTACTO (GRID) === */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(25, 25, 25, 0.6);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 40px 20px;
    text-decoration: none;
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.contact-card:hover { transform: translateY(-10px); }

/* Iconos Gigantes */
.icon-box {
    font-size: 4rem;
    margin-bottom: 20px;
    transition: 0.4s;
    /* Efecto de brillo detrás del icono */
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.contact-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.contact-card p { opacity: 0.6; margin-bottom: 25px; font-size: 0.95rem; }

.btn-text {
    color: var(--gold); font-weight: 700; text-transform: uppercase; 
    font-size: 0.9rem; letter-spacing: 1px; transition: 0.3s;
}

/* === COLORES ESPECÍFICOS AL HOVER === */

/* Telegram (Azul) */
.contact-card.telegram:hover { border-color: #0088cc; background: rgba(0, 136, 204, 0.1); }
.contact-card.telegram:hover .icon-box { color: #0088cc; transform: scale(1.1) rotate(-10deg); }
.contact-card.telegram:hover .btn-text { color: #0088cc; }

/* TikTok (Efecto RGB) */
.contact-card.tiktok:hover { border-color: #fe2c55; background: rgba(254, 44, 85, 0.1); }
.contact-card.tiktok:hover .icon-box { 
    color: #fe2c55; transform: scale(1.1); 
    text-shadow: 2px 2px 0px #25f4ee; /* Efecto Glitch */
}
.contact-card.tiktok:hover .btn-text { color: #fe2c55; }

/* Instagram (Gradiente) */
.contact-card.instagram:hover { border-color: #E1306C; background: rgba(225, 48, 108, 0.1); }
.contact-card.instagram:hover .icon-box { 
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
    background-clip: text;
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
    transform: scale(1.1);
}
.contact-card.instagram:hover .btn-text { color: #E1306C; }


::selection { background: var(--gold); color: black; }
html { scroll-behavior: smooth; }



/* === SECCIÓN DE MÚSICA (NUEVO) === */

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.music-card {
    background: rgba(30, 30, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.music-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* Parte de arriba: Nombre de la lista o Vibe */
.music-vibe {
    padding: 30px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    /* --- ESTO ES LO QUE ARREGLA EL TAMAÑO --- */
    background-size: cover;        /* Obliga a la imagen a cubrir el área sin deformarse */
    background-position: center;   /* Centra la imagen para que se vea lo importante */
    background-repeat: no-repeat;  /* Evita que se repita tipo mosaico */
    
    background-blend-mode: overlay;
    background-color: rgba(0,0,0,0.6); 
}

.music-vibe h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.music-vibe p {
    font-size: 0.9rem;
    color: var(--gold);
    font-style: italic;
}

/* Parte de abajo: El degradado con el player */
.music-player {
    /* EL DEGRADADO QUE PEDISTE */
    background: linear-gradient(to top, #000 0%, rgba(20, 20, 20, 0.95) 80%, rgba(20,20,20,0) 100%);
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* El "Logo" de la música (Portada) */
.music-cover {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: 0.3s;
}

.music-card:hover .music-cover {
    transform: scale(1.1) rotate(5deg); /* Efecto giratorio al pasar el mouse */
}

.music-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.music-title {
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-artist {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* === AJUSTES MÓVILES PARA MÚSICA === */
@media (max-width: 768px) {
    .music-grid {
        gap: 15px; /* Menos espacio entre tarjetas para que se vea mejor en pantalla chica */
    }

    .music-card {
        height: 280px; /* Un poco más compactas en celular */
    }
    
    /* IMPORTANTE: Esto evita que el menú flotante de abajo tape el contenido */
    .section-container {
        padding-bottom: 120px; 
    }
}

/* Botón de Play */
.play-btn {
    width: 45px;
    height: 45px;
    background: var(--gold);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: black;
    font-size: 1.2rem;
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.play-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    background: white;
}