@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
    --accent: #8b5cf6;
    --text: #ffffff;
    --text-dim: #a3a3a3;
    --bg-card: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; scroll-behavior: smooth; }

body {
    margin: 0; padding: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: linear-gradient(-45deg, #050505, #0f0a1a, #1a0f2e, #050505);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    display: flex; flex-direction: column; align-items: center;
    min-height: 100vh; overflow-x: hidden;
}

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

/* NAVBAR Y SELECTOR DE IDIOMA */
.navbar {
    width: 100%; padding: 20px;
    display: flex; justify-content: center;
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    position: fixed; top: 0; z-index: 1000;
}

.nav-container {
    width: 100%; max-width: 1000px;
    display: flex; justify-content: space-between; align-items: center;
}

.brand { font-family: 'JetBrains Mono', monospace; font-weight: bold; letter-spacing: 2px; }

/* ESTILO DEL MUNDITO (SIN BLOQUE BLANCO) */
.lang-pill {
    display: flex; align-items: center; gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 12px; border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
}

.lang-pill:hover { border-color: var(--accent); background: rgba(255, 255, 255, 0.1); }

.lang-pill i { color: var(--accent); font-size: 0.8rem; }

.lang-pill select {
    background: transparent;
    color: #fff;
    border: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    cursor: pointer;
    outline: none;
    appearance: none; /* Quita la flecha del sistema */
    padding-right: 2px;
}

/* HERO SECTION */
.hero { text-align: center; padding: 180px 20px 80px; max-width: 900px; }

h1 { font-size: clamp(2.2rem, 8vw, 4rem); margin-bottom: 15px; font-weight: 300; line-height: 1.1; }

.hero p { color: var(--text-dim); font-size: 1.1rem; max-width: 600px; margin: 0 auto 30px; line-height: 1.6; }

.social-links { display: flex; justify-content: center; gap: 25px; }
.social-links a { color: var(--text-dim); font-size: 1.4rem; transition: 0.3s; }
.social-links a:hover { color: var(--accent); transform: scale(1.15); }

/* CONTENT & CARDS */
.content-wrapper { width: 100%; max-width: 1000px; padding: 0 20px; }

.section-title {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 5px;
    color: var(--accent); margin: 80px 0 40px; text-align: center;
}

.grid-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }

.card {
    background: var(--bg-card); border: 1px solid var(--glass-border);
    padding: 35px; border-radius: 16px; backdrop-filter: blur(10px);
    transition: 0.4s ease;
}

.card:hover { border-color: var(--accent); transform: translateY(-8px); }

.tag { font-size: 0.65rem; color: var(--accent); font-family: 'JetBrains Mono'; margin-bottom: 15px; display: block; }

.btn-sm {
    display: inline-block; color: var(--text); text-decoration: none;
    font-size: 0.85rem; font-weight: 600; border-bottom: 2px solid var(--accent);
    padding-bottom: 4px; transition: 0.3s;
}

/* GRID DE MÚSICA */
.grid-music { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; margin-bottom: 120px; }

.music-item {
    background: rgba(255, 255, 255, 0.02); padding: 22px; border-radius: 12px;
    text-align: center; text-decoration: none; color: var(--text-dim);
    font-size: 0.9rem; border: 1px solid transparent; transition: 0.3s;
}

.music-item:hover { color: #fff; background: var(--accent); border-color: #fff; }

.footer { padding: 80px 20px; text-align: center; width: 100%; color: var(--text-dim); font-size: 0.75rem; }
