/* assets/css/main.css */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=Montserrat:wght@300;400;500;600;700&family=Rajdhani:wght@500;600;700&display=swap');

/* variables CSS globales */
:root {
    --color-bg-base: #05050a;
    --color-bg-surface: rgba(12, 13, 25, 0.65);
    --color-bg-elevated: #15182e;
    
    --color-neon-blue: #0052ff;
    --color-neon-cyan: #00f0ff;
    --color-neon-magenta: #ff007a;
    --color-neon-violet: #8b00ff;
    
    --color-text-primary: #ffffff;
    --color-text-secondary: #a3a8cc;
    --color-text-muted: #53577a;
    
    --gradient-primary: linear-gradient(135deg, var(--color-neon-cyan) 0%, var(--color-neon-blue) 50%, var(--color-neon-magenta) 100%);
    --gradient-glow: linear-gradient(90deg, var(--color-neon-cyan), var(--color-neon-magenta));
    --glass-blur: blur(16px);
    --glass-border: rgba(255, 255, 255, 0.06);
    --transition-timing: 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset y Bases */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

body {
    background-color: var(--color-bg-base);
    color: var(--color-text-primary);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-base);
}
::-webkit-scrollbar-thumb {
    background: var(--color-bg-elevated);
    border-radius: 4px;
    border: 2px solid var(--color-bg-base);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-neon-cyan);
}

/* Tipografía */
h1, h2, h3, h4, h5, h6, .font-display {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.1em;
}

.font-tech {
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Clases Utilitarias de Maquetación */
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pt-6 { padding-top: 1.5rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }
.pointer-events-none { pointer-events: none; }
.rounded-full { border-radius: 9999px; }

/* Responsive Grid / Flex System */
@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:flex-row { flex-direction: row; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:gap-12 { gap: 3rem; }
}

/* Colores */
.text-white { color: #ffffff; }
.text-neon-cyan { color: var(--color-neon-cyan); }
.text-neon-magenta { color: var(--color-neon-magenta); }
.text-neon-blue { color: var(--color-neon-blue); }
.text-text-secondary { color: var(--color-text-secondary); }
.text-text-muted { color: var(--color-text-muted); }
.bg-bg-surface { background-color: var(--color-bg-surface); }
.bg-bg-elevated { background-color: var(--color-bg-elevated); }
.border-glass-border { border-color: var(--glass-border); }
.border-t { border-top: 1px solid var(--glass-border); }

/* Efectos Glow */
.drop-shadow-cyan { filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.6)); }
.drop-shadow-magenta { filter: drop-shadow(0 0 8px rgba(255, 0, 122, 0.6)); }
.blur-\[100px\] { filter: blur(100px); }

/* Glassmorphism General */
.glass-panel {
    background: var(--color-bg-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

/* Cabecera / Header Scroll Comportamiento */
#global-header.scrolled {
    background: rgba(5, 5, 10, 0.85);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Enlaces Navegación */
.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: var(--transition-timing);
    position: relative;
    padding: 0.5rem 0;
}
.nav-link:hover {
    color: #ffffff;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-glow);
    transition: var(--transition-timing);
    border-radius: 10px;
}
.nav-link:hover::after {
    width: 100%;
}

.mobile-nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: var(--transition-timing);
    font-size: 1.5rem;
}
.mobile-nav-link:hover, .mobile-nav-link:active {
    color: var(--color-neon-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

/* Botones Premium */
.btn-primary-sm {
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
    text-decoration: none;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    box-shadow: 0 4px 15px rgba(0, 82, 255, 0.3);
    transition: var(--transition-timing);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-primary-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.5);
}

.btn-cyber {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-timing);
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.btn-cyber-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 82, 255, 0.4);
}
.btn-cyber-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.6), 0 0 15px rgba(255, 0, 122, 0.3);
}

.btn-cyber-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    border: 1px solid var(--color-neon-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}
.btn-cyber-secondary:hover {
    transform: translateY(-3px);
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

/* Hero Section */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 1;
}

/* Portada Destacada con Neon Edge */
.cover-premium-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8);
    transition: var(--transition-timing);
}
.cover-premium-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, var(--color-neon-cyan), transparent, var(--color-neon-magenta));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.cover-premium-container:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.25);
}

/* Tarjeta de Plataforma de Streaming */
.streaming-card {
    background: rgba(21, 24, 46, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-decoration: none;
    color: #ffffff;
    transition: var(--transition-timing);
}
.streaming-card:hover {
    background: rgba(21, 24, 46, 0.8);
    transform: translateY(-4px);
    border-color: var(--hover-color);
    box-shadow: 0 8px 24px -8px var(--hover-color), 0 0 15px -5px var(--hover-color);
}
.streaming-card-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    transition: var(--transition-timing);
}
.streaming-card:hover .streaming-card-icon {
    border-color: var(--hover-color);
    color: var(--hover-color);
    background: rgba(255, 255, 255, 0.05);
}

/* Discografía Grid & Overlays */
.release-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: var(--color-bg-surface);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: var(--transition-timing);
}
.release-card:hover {
    transform: translateY(-8px);
    border-color: var(--vibe-color);
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.8), 0 0 20px -5px var(--vibe-color);
}
.release-cover-wrapper {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
}
.release-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.release-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-timing);
}
.release-card:hover .release-cover-img {
    transform: scale(1.1);
}
.release-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 10, 0.85);
    backdrop-filter: blur(4px);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-timing);
    padding: 1.5rem;
    text-align: center;
}
.release-card:hover .release-overlay {
    opacity: 1;
}

/* Galería Grid & Masonry-like */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.gallery-card {
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    transition: var(--transition-timing);
}
.gallery-card:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}
.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-timing);
}
.gallery-card:hover .gallery-placeholder {
    transform: scale(1.08);
}
.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(5, 5, 10, 0.95) 0%, transparent 100%);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-timing);
}
.gallery-card:hover .gallery-info {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 10, 0.95);
    backdrop-filter: blur(15px);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 300ms ease;
    padding: 2rem;
}
.lightbox-modal.active {
    display: flex;
    opacity: 1;
}
.lightbox-content-wrapper {
    max-width: 900px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-col: column;
    align-items: center;
    position: relative;
}
.lightbox-media {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.15);
}
.lightbox-caption {
    margin-top: 1rem;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    color: #ffffff;
    letter-spacing: 0.05em;
}

/* Noticias Cards */
.news-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--color-bg-surface);
    transition: var(--transition-timing);
}
.news-card:hover {
    border-color: var(--color-neon-blue);
    box-shadow: 0 10px 30px rgba(0, 82, 255, 0.15);
    transform: translateY(-4px);
}
.news-img-placeholder {
    height: 200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Inputs de Formulario Seguros */
.input-premium {
    width: 100%;
    background: rgba(5, 5, 10, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition-timing);
}
.input-premium:focus {
    border-color: var(--color-neon-cyan);
    background: rgba(5, 5, 10, 0.8);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.input-premium-select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Enfoque accesible */
.focus-visible-ring:focus-visible {
    outline: 2px solid var(--color-neon-cyan);
    outline-offset: 4px;
}

/* Waveform Artwork animada */
.waveform-container {
    height: 60px;
    display: flex;
    align-items: flex-end;
    gap: 3px;
    padding: 10px 0;
}
.waveform-bar {
    flex: 1;
    background: var(--gradient-glow);
    border-radius: 2px;
    transition: height 0.3s ease;
}

/* Utilidades adicionales */
.transition-premium {
    transition: var(--transition-timing);
}
.tracking-widest { letter-spacing: 0.2em; }
.leading-relaxed { line-height: 1.8; }
