/* ==========================================
   RESET GENERAL
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #050505;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================
   NAVIGATION BAR
   ========================================== */
header {
    background-color: #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 50px;
    border-bottom: 1px solid #111111;
    position: relative;
    z-index: 1000; /* Asegura que el header esté sobre el contenido */
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: #ffffff;
    cursor: default;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

nav ul li a {
    color: #555555;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 5px;
}

/* ==========================================
   MENÚ HAMBURGUESA (MOBILE)
   ========================================== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.04) 0%, #050505 35%, #000000 100%);
}

.hero-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 5px;
    margin-bottom: 15px;
    color: #ffffff;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.05rem;
    color: #444444;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 50px;
}

/* ==========================================
   CALL TO ACTION BUTTONS
   ========================================== */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.btn {
    padding: 16px 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #ffffff;
    color: #000000;
}

.btn-primary:hover {
    background-color: #e2e2e2;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.03);
}

.btn-secondary {
    border: 1px solid #222222;
    color: #ffffff;
    background-color: transparent;
}

.btn-secondary:hover {
    border-color: #ffffff;
    background-color: #0b0b0b;
    transform: translateY(-2px);
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    background-color: #000000;
    text-align: center;
    padding: 25px;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #333333;
    border-top: 1px solid #111111;
}

/* ==========================================
   SECCIÓN DE VÍDEOS
   ========================================== */
.videos-container {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 20px;
}

.videos-header {
    text-align: center;
    margin-bottom: 50px;
}

.videos-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.videos-header p {
    color: #444444;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.video-card {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: scale(1.02);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-info {
    padding: 15px 0 0 0;
}

.video-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    color: #cccccc;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.video-card:hover .video-info h3 {
    color: #ffffff;
}

/* ==========================================
   SECCIÓN DE BEATS
   ========================================== */
.beats-container {
    flex: 1;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 20px 140px 20px;
}

.beats-header {
    text-align: center;
    margin-bottom: 40px;
}

.beats-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.beats-header p {
    color: #444444;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.beats-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.beat-row {
    background-color: #000000;
    border: 1px solid #111111;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInBeat 0.4s ease forwards;
}

.beat-row:hover {
    border-color: #333333;
    transform: translateX(4px);
}

.beat-main {
    display: flex;
    align-items: center;
    gap: 25px;
}

.play-btn {
    background-color: #ffffff;
    color: #000000;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    transition: transform 0.2s ease;
}

.play-btn:hover {
    transform: scale(1.1);
}

.beat-details h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.beat-bpm {
    font-size: 0.8rem;
    color: #666666;
    margin-right: 15px;
}

.beat-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.buy-btn {
    background-color: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 12px 25px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-btn:hover {
    background-color: #ffffff;
    color: #000000;
}

.buy-link-btn {
    text-decoration: none;
    display: inline-block;
}

/* ==========================================
   REPRODUCTOR MAESTRO INFERIOR FIJO
   ========================================== */
.global-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #000000;
    border-top: 1px solid #111111;
    padding: 0 40px;
    box-sizing: border-box;
    z-index: 9999;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.9);
    height: 75px;
    display: flex;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.global-player.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.player-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 250px 1fr 250px;
    align-items: center;
    gap: 30px;
}

.player-track-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-track-info h4 {
    margin: 0 0 2px 0;
    font-family: 'Orbitron', sans-serif;
    color: #ffffff;
    font-size: 0.9rem;
    letter-spacing: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-track-info span {
    font-family: 'Montserrat', sans-serif;
    color: #555555;
    font-size: 0.7rem;
    font-weight: 700;
}

.player-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.player-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.ctrl-btn {
    background: none;
    border: none;
    color: #444444;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    padding: 5px;
}

.ctrl-btn:hover {
    color: #ffffff;
}

.ctrl-btn.main-play {
    color: #000000;
    font-size: 0.9rem;
    background-color: #ffffff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.ctrl-btn.main-play:hover {
    transform: scale(1.05);
    background-color: #e2e2e2;
}

.player-timeline {
    width: 100%;
    max-width: 500px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.time-code {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    color: #333333;
    font-weight: 700;
    min-width: 35px;
    text-align: center;
}

.progress-container {
    flex: 1;
    height: 3px;
    background: #111111;
    position: relative;
    cursor: pointer;
    border-radius: 2px;
    transition: height 0.15s ease;
}

.progress-container:hover {
    height: 5px;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background-color: #ffffff;
    border-radius: 2px;
    position: absolute;
    top: 0;
    left: 0;
}

.player-utility {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.vol-icon {
    font-size: 0.8rem;
    color: #333333;
}

.vol-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 80px;
    height: 2px;
    background: #111111;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    cursor: pointer;
}

/* ==========================================
   SOUND KITS & VSTS
   ========================================== */
.kits-container {
    flex: 1;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 20px;
}

.kits-header {
    text-align: center;
    margin-bottom: 50px;
}

.kits-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.kits-header p {
    color: #444444;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.kits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.kit-card {
    background-color: #000000;
    border: 1px solid #111111;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

.kit-card:hover {
    border-color: #333333;
    transform: translateY(-4px);
}

.kit-cover {
    background: linear-gradient(135deg, #111111 0%, #000000 100%);
    border-bottom: 1px solid #111111;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.kit-cover span {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 4px;
    color: #222222;
}

.free-kit {
    background: linear-gradient(135deg, #1c1c1c 0%, #0a0a0a 100%);
}

.kit-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Solución multilínea limpia con prefijo WebKit para evitar advertencias amarillas */
.kit-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
    
    /* 1. Propiedad estándar oficial (Esto quitará el aviso amarillo) */
    line-clamp: 1;
    
    /* 2. Propiedades WebKit necesarias para que funcione hoy en día */
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    
    overflow: hidden;
    text-overflow: ellipsis;
    height: 1.4em;
}

.kit-info p {
    color: #555555;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 25px;
    
    /* 1. Propiedad estándar oficial (Esto quitará el aviso amarillo) */
    line-clamp: 2;
    
    /* 2. Propiedades WebKit necesarias para que funcione hoy en día */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    
    overflow: hidden;
    text-overflow: ellipsis;
    height: 2.8em;
}

.kit-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.kit-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.kit-price.free {
    color: #ffffff;
}

.kit-btn {
    background-color: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.kit-btn:hover {
    background-color: #ffffff;
    color: #000000;
}

.free-btn {
    background-color: #ffffff;
    color: #000000;
    cursor: pointer;
}

.free-btn:hover {
    background-color: #cccccc;
}

/* ==========================================
   PÁGINA INDIVIDUAL DE KIT
   ========================================== */
.single-kit-container {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
}

.kit-main-section {
    display: flex;
    gap: 50px;
    align-items: center;
    background: #0d0d0d;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #1a1a1a;
    margin-bottom: 60px;
}

.kit-main-cover {
    flex-shrink: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #222, #050505);
    border: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

/* Control estricto de la imagen de portada interna */
.kit-detail-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kit-main-cover span {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.kit-main-cover.free-kit {
    border-color: #555;
    background: linear-gradient(135deg, #1f1f1f, #111);
}

.kit-main-details {
    flex-grow: 1;
}

.kit-badge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #888;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.kit-main-details h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0 0 15px 0;
    letter-spacing: 1px;
}

.kit-tagline {
    font-size: 1.05rem;
    color: #b3b3b3;
    line-height: 1.6;
    margin: 0 0 30px 0;
}

.kit-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 35px;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
    padding: 20px 0;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.meta-label {
    font-size: 0.7rem;
    color: #666;
    font-weight: 700;
    letter-spacing: 1px;
}

.meta-value {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.meta-value.free {
    color: #ffffff;
    background: #222;
    padding: 2px 8px;
    border-radius: 4px;
    width: fit-content;
    border: 1px solid #444;
}

.download-main-btn {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    padding: 16px 40px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.download-main-btn:hover {
    background: #e6e6e6;
    transform: translateY(-2px);
}

.kit-specs-section {
    background: #050505;
    border: 1px solid #111;
    padding: 30px;
    border-radius: 6px;
}

.kit-specs-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
}

.kit-specs-section p {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.7;
    margin: 0;
}

/* ==========================================
   SECCIÓN DE CONTACTO
   ========================================== */
.contact-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
}

.contact-header {
    margin-bottom: 40px;
}

.contact-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.contact-header p {
    color: #444444;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.contact-card {
    background-color: #000000;
    border: 1px solid #111111;
    padding: 30px 20px;
    text-decoration: none;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: #333333;
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 1.5rem;
    color: #666666;
    transition: color 0.3s ease;
}

.contact-card:hover .contact-icon {
    color: #ffffff;
}

.contact-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
}

.contact-card p {
    font-size: 0.85rem;
    color: #555555;
    font-weight: 500;
}

/* ==========================================
   ANIMACIONES
   ========================================== */
@keyframes fadeInBeat {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 900px) {
    .kit-main-section {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    .kit-meta-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .meta-value.free {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /* HEADER MOBILE */
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 20px 25px;
    }

    /* HAMBURGUESA VISIBLE */
    .hamburger {
        display: flex;
    }

    /* NAV DESPLEGABLE */
    nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #000000;
        border-bottom: 1px solid #111111;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
    }

    nav.open {
        max-height: 300px;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    nav ul li a {
        display: block;
        padding: 14px 25px;
        border-bottom: 1px solid #0a0a0a;
    }

    nav ul li a:hover,
    nav ul li a.active {
        border-bottom: 1px solid #0a0a0a;
        padding-bottom: 14px;
    }

    /* BEATS */
    .beat-row {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .beat-main {
        flex-direction: column;
        gap: 15px;
    }

    .beat-actions {
        width: 100%;
        justify-content: center;
        border-top: 1px solid #111111;
        padding-top: 15px;
    }

    /* REPRODUCTOR - Adaptable en pantallas pequeñas */
    .global-player {
        height: auto;
        padding: 20px;
    }

    .player-container {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }

    .player-utility {
        display: none;
    }

    /* CONTACTO */
    .contact-container {
        padding: 50px 20px;
    }

    /* HERO */
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2rem;
        letter-spacing: 3px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}