/* ==========================================================================
   GEP MASTER VISUAL STYLE — MODERN WHITE EDITORIAL & REVEAL ANIMATIONS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&family=Syne:wght@500;700;800&display=swap');

:root {
    --bg-white: #FFFFFF;
    --bg-light: #F4F4F5;
    --text-dark: #111111;
    --text-muted: #777777;
    --border-fine: #E0E0E4;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-nav: 'Syne', sans-serif;
    --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-family: var(--font-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Cursor Interactivo Desktop */
@media (min-width: 993px) {
    *, *::before, *::after {
        cursor: none;
    }
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    border: 1px solid rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-cinematic), height 0.3s var(--ease-cinematic), background-color 0.3s ease;
}

.custom-cursor.active {
    width: 46px;
    height: 46px;
    background-color: rgba(0, 0, 0, 0.05);
    border-color: #000000;
}

/* Header Flotante */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 4rem;
    z-index: 100;
}

.nav-brand {
    font-family: var(--font-nav);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--text-dark);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-brand:hover {
    opacity: 0.6;
}

.nav-links a {
    font-family: var(--font-nav);
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin-left: 2.5rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.nav-links a:hover {
    opacity: 0.5;
    transform: translateY(-1px);
}

/* Botón Hamburguesa */
.hamburger-btn {
    display: none;
    background: transparent;
    border: none;
    flex-direction: column;
    gap: 6px;
    padding: 0.5rem;
    z-index: 101;
}

.hamburger-btn span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: var(--text-dark);
    transition: transform 0.4s var(--ease-cinematic), opacity 0.3s ease;
}

.hamburger-btn.open span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
}

.hamburger-btn.open span:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
}

/* Overlay Menú Mobile */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-cinematic);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
}

.mobile-link {
    font-family: var(--font-nav);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: 0.1em;
}

/* SECCIÓN 1: HERO CINEMATOGRÁFICO CON ZOOM INTENSIFICADO */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: flex-end;
    padding: 4rem;
    overflow: hidden;
    background-color: var(--bg-light);
}

.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    filter: contrast(0.95) brightness(1.02);
    animation: intenseKenBurns 16s infinite alternate cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes intenseKenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.12) translate(-1%, -1%);
    }
    100% {
        transform: scale(1.2) translate(1%, 0.5%);
    }
}

.hero-overlay-light {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(244,244,245,0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-giant-title {
    font-size: clamp(2.8rem, 8vw, 8rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.hero-subtitle-tag {
    font-family: var(--font-nav);
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    font-weight: 700;
}

.hero-bottom-bar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.15);
    padding-top: 1.5rem;
}

.btn-solid {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    font-family: var(--font-nav);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-decoration: none;
    transition: all 0.4s var(--ease-cinematic);
    background: var(--text-dark);
    color: var(--bg-white);
    border: 1px solid var(--text-dark);
}

.btn-solid:hover {
    background: transparent;
    color: var(--text-dark);
}

.reveal-hero {
    animation: clipRevealHero 1.2s var(--ease-cinematic) forwards;
}

@keyframes clipRevealHero {
    from {
        opacity: 0;
        clip-path: inset(10% 0 10% 0);
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translateY(0);
    }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease-cinematic), transform 1s var(--ease-cinematic);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* SECCIÓN 2: REPRODUCTOR */
.player-section {
    min-height: 100vh;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-fine);
}

.category-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid var(--border-fine);
    background: var(--bg-white);
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-nav);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    font-weight: 700;
    padding: 0.5rem 0.8rem;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    color: var(--text-dark);
}

.split-viewport {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 80px);
}

.vinyl-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border-fine);
    padding: 4rem 2rem;
}

.vinyl-wrapper {
    width: 440px;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vinyl-record {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, #222 18%, #111 19%, #1a1a1a 40%, #050505 41%, #252525 70%, #111 100%);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.7s var(--ease-cinematic);
}

.vinyl-record.spinning {
    animation: spinVinyl 8s linear infinite;
}

@keyframes spinVinyl {
    100% { transform: rotate(360deg); }
}

.vinyl-label {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 5px solid #FFFFFF;
}

.info-stage {
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.editorial-title {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    margin-bottom: 0.8rem;
}

.editorial-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 440px;
    margin-bottom: 1.5rem;
}

.fine-divider {
    border: none;
    height: 1px;
    background: var(--border-fine);
    margin: 1.5rem 0;
}

.micro-label {
    font-family: var(--font-nav);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    font-weight: 700;
}

.track-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 0.3rem;
}

.track-artist {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
}

.playback-controls-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.player-btn {
    background: transparent;
    border: 1px solid var(--border-fine);
    color: var(--text-dark);
    width: 42px;
    height: 42px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.player-btn:hover {
    border-color: var(--text-dark);
    background: rgba(0, 0, 0, 0.04);
}

.main-play-btn {
    width: 48px;
    height: 48px;
    background: var(--text-dark);
    color: var(--bg-white);
    border: none;
}

.main-play-btn:hover {
    background: #333333;
}

/* Control de Volumen Estilizado */
.volume-control-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    margin-left: 0.5rem;
}

.volume-btn {
    font-size: 1rem;
}

.volume-slider-box {
    display: flex;
    align-items: center;
    width: 80px;
}

.volume-slider-box input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 3px;
    background: var(--border-fine);
    outline: none;
}

.volume-slider-box input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-dark);
}

.scrubber-wrapper {
    margin-bottom: 2rem;
}

.progress-bg {
    width: 100%;
    height: 3px;
    background: var(--border-fine);
    position: relative;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: var(--text-dark);
}

.timestamps {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.metadata-table {
    border-top: 1px solid var(--border-fine);
    border-bottom: 1px solid var(--border-fine);
    padding: 1.2rem 0;
    margin-bottom: 1.5rem;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.meta-row:last-child { margin-bottom: 0; }
.meta-key { color: var(--text-muted); letter-spacing: 0.1em; }
.meta-val { font-weight: 500; }

.enter-index-btn {
    width: 100%;
    padding: 0.9rem;
    background: transparent;
    border: 1px solid var(--border-fine);
    color: var(--text-dark);
    font-family: var(--font-nav);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.enter-index-btn:hover {
    border-color: var(--text-dark);
    background: var(--text-dark);
    color: var(--bg-white);
}

.tracklist-drawer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s var(--ease-cinematic);
}

.tracklist-drawer.open {
    max-height: 220px;
    margin-top: 1.2rem;
    overflow-y: auto;
}

.track-items li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-fine);
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.track-items li:hover, .track-items li.active {
    color: var(--text-dark);
    font-weight: 600;
    padding-left: 0.4rem;
}

/* SECCIÓN INTERMEDIA: OTROS SITIOS (NETWORK) */
.network-section {
    padding: 7rem 4rem;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-fine);
}

.network-container {
    max-width: 1200px;
    margin: 0 auto;
}

.network-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    margin: 0.8rem 0 3rem 0;
}

.network-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.network-card {
    background: var(--bg-light);
    border: 1px solid var(--border-fine);
    padding: 3rem;
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s var(--ease-cinematic), border-color 0.5s ease;
}

.network-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: var(--text-dark);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.card-num {
    font-family: var(--font-nav);
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-muted);
}

.card-arrow {
    font-size: 1.4rem;
    transition: transform 0.4s var(--ease-cinematic);
}

.network-card:hover .card-arrow {
    transform: translate(4px, -4px);
}

.card-title {
    font-family: var(--font-nav);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.6rem;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.card-footer-line {
    height: 2px;
    width: 0%;
    background: var(--text-dark);
    position: absolute;
    bottom: 0;
    left: 0;
    transition: width 0.5s var(--ease-cinematic);
}

.network-card:hover .card-footer-line {
    width: 100%;
}

/* SECCIÓN 3: CONTACTO */
.contact-section {
    padding: 6rem 2rem 4rem 2rem;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-fine);
    text-align: center;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    margin: 1rem 0 2rem 0;
}

.contact-icons-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 1px solid var(--border-fine);
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.contact-icon-btn:hover {
    background: var(--text-dark);
    color: var(--bg-white);
    border-color: var(--text-dark);
}

.contact-raw-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.raw-item {
    font-weight: 500;
    color: var(--text-dark);
}

/* Botón Volver Arriba */
.back-to-top-wrapper {
    border-top: 1px solid var(--border-fine);
    padding-top: 2rem;
}

.back-to-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-nav);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: 0.15em;
    transition: transform 0.3s ease;
}

.back-to-top-btn:hover {
    transform: translateY(-4px);
}

/* RESPONSIVE DESIGN AVANZADO */
@media (max-width: 992px) {
    .split-viewport { grid-template-columns: 1fr; }
    .vinyl-stage { border-right: none; border-bottom: 1px solid var(--border-fine); padding: 3rem 1rem; }
    .vinyl-wrapper { width: 360px; height: 360px; }
    .vinyl-record { width: 340px; height: 340px; }
    .vinyl-label { width: 120px; height: 120px; }
    .main-header { padding: 1.5rem 2rem; }
    .nav-links { display: none; }
    .hamburger-btn { display: flex; }
    .hero-section { padding: 2rem; }
    .info-stage { padding: 2.5rem 1.5rem; }
    .network-section { padding: 4rem 2rem; }
    .network-grid { grid-template-columns: 1fr; }
    .custom-cursor { display: none; }
}

@media (max-width: 600px) {
    .main-header { padding: 1.2rem 1rem; }
    .nav-brand { font-size: 0.75rem; }
    .hero-section { padding: 1.5rem; }
    .hero-giant-title { font-size: 2.3rem; }
    .hero-subtitle-tag { font-size: 0.7rem; }
    .vinyl-wrapper { width: 260px; height: 260px; }
    .vinyl-record { width: 240px; height: 240px; }
    .vinyl-label { width: 85px; height: 85px; }
    .category-bar { gap: 0.2rem; padding: 1rem 0.5rem; }
    .filter-btn { font-size: 0.65rem; padding: 0.4rem 0.5rem; }
    .network-card { padding: 2rem 1.5rem; }
    .contact-raw-info { flex-direction: column; gap: 0.4rem; }
    .raw-divider { display: none; }
}