body { font-family: 'Poppins', sans-serif; background-color: #fcfcfc; }
        .container-det { max-width: 1200px; margin: 40px auto; padding: 0 20px; }
        .back-btn { display: inline-block; margin-bottom: 20px; color: #ff0000; text-decoration: none; font-weight: 800; text-transform: uppercase; transition: 0.3s; }
        .back-btn:hover { transform: translateX(-5px); }
        
        .hero-section { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; background: #fff; padding: 40px; border-radius: 30px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); margin-bottom: 50px; }
        @media (max-width: 768px) { .hero-section { grid-template-columns: 1fr; padding: 20px; } }
        
        .img-principal { width: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); object-fit: cover; aspect-ratio: 4/3; }
        .cat-tag { background: #111; color: #fff; padding: 6px 18px; border-radius: 50px; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; display: inline-block; margin-bottom: 15px; }
        .title-det { font-size: 2.8rem; font-weight: 900; line-height: 1.1; margin-bottom: 15px; color: #111; }
        .precio-det { font-size: 2rem; font-weight: 900; color: #00a389; margin-bottom: 25px; }
        .desc-corta { font-size: 1.1rem; color: #555; margin-bottom: 30px; font-weight: 600; border-left: 4px solid #ff0000; padding-left: 15px; }
        .desc-larga { font-size: 1rem; color: #444; line-height: 1.8; margin-bottom: 30px; white-space: pre-wrap; }
        
        .btn-down { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: #00a389; color: #fff; padding: 18px; border-radius: 12px; font-weight: 900; font-size: 1.1rem; text-transform: uppercase; text-decoration: none; transition: 0.3s; box-shadow: 0 10px 20px rgba(0,163,137,0.2); }
        .btn-down:hover { background: #00826e; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
        
        .box-lock { background: #fffcfc; border: 2px dashed #ff0000; padding: 25px; border-radius: 15px; text-align: center; }
        .box-lock h3 { color: #111; font-weight: 900; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; gap: 10px; }
        .box-lock p { color: #666; font-size: 0.9rem; margin-bottom: 20px; }
        .btn-buy { background: #ff0000; color: #fff; padding: 12px 30px; border-radius: 50px; font-weight: 800; text-decoration: none; display: inline-block; transition: 0.3s; border: none; cursor: pointer; font-size: 1rem; }
        .btn-buy:hover { background: #111; }
        .btn-login-outline { background: transparent; color: #111; border: 2px solid #111; padding: 10px 25px; border-radius: 50px; font-weight: 800; text-decoration: none; display: inline-block; transition: 0.3s; cursor: pointer; }
        .btn-login-outline:hover { background: #111; color: #fff; }

        .section-title { font-size: 2rem; font-weight: 900; color: #111; text-align: center; margin-bottom: 30px; text-transform: uppercase; }
        .section-title span { color: #ff0000; }
        .masonry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
        .masonry-item { border-radius: 15px; overflow: hidden; cursor: pointer; position: relative; aspect-ratio: 1/1; box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
        .masonry-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
        .masonry-item::after { content: '🔍 Ampliar'; position: absolute; inset: 0; background: rgba(0,0,0,0.5); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; opacity: 0; transition: 0.3s; backdrop-filter: blur(2px); }
        .masonry-item:hover img { transform: scale(1.1); }
        .masonry-item:hover::after { opacity: 1; }

        .video-section { background: #0a0a0a; padding: 60px 20px; border-radius: 40px; margin-top: 60px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); position: relative; overflow: hidden; }
        .video-section .section-title { color: #fff; }
        .video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; max-width: 1000px; margin: 0 auto; position: relative; z-index: 2; }
        .vid-wrapper { border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); border: 2px solid #333; aspect-ratio: 16/9; background: #000; }
        .vid-wrapper iframe, .vid-wrapper video { width: 100%; height: 100%; display: block; border: none; }

        .video-locked-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10,10,10,0.85); backdrop-filter: blur(10px); z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; border-radius: 40px; }
        .video-locked-overlay h3 { color: #fff; font-size: 2.5rem; font-weight: 900; margin-bottom: 15px; }
        .video-locked-overlay p { color: #aaa; font-size: 1.1rem; max-width: 600px; margin-bottom: 30px; }

        #lightbox { display: none; position: fixed; z-index: 99999; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); backdrop-filter: blur(8px); justify-content: center; align-items: center; cursor: zoom-out; }
        #lightbox img { max-width: 90%; max-height: 90vh; border-radius: 10px; box-shadow: 0 10px 50px rgba(0,0,0,0.5); object-fit: contain; }
        .close-lb { position: absolute; top: 20px; right: 40px; color: #fff; font-size: 40px; font-weight: bold; cursor: pointer; transition: 0.3s; }
        .close-lb:hover { color: #ff0000; }

        /* ================= ESTILOS DEL MODAL DE AUTH ================= */
        .auth-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(5px); z-index: 999999; justify-content: center; align-items: center; }
        .auth-overlay.active { display: flex; }
        .auth-modal { background: #fff; padding: 40px; border-radius: 25px; width: 90%; max-width: 400px; position: relative; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
        .close-modal { position: absolute; top: 15px; right: 20px; font-size: 30px; border: none; background: none; cursor: pointer; color: #888; transition: 0.3s; }
        .close-modal:hover { color: #ff0000; }
        .auth-container { display: flex; flex-direction: column; gap: 15px; }
        .auth-container.hidden { display: none; }
        .auth-modal h2 { font-weight: 900; color: #111; font-size: 2rem; margin-bottom: 5px; }
        .auth-modal p { color: #666; margin-bottom: 20px; }
        .auth-modal input { width: 100%; padding: 15px; border: 2px solid #eee; border-radius: 12px; font-family: inherit; font-size: 1rem; outline: none; transition: 0.3s; box-sizing: border-box; margin-bottom: 15px; }
        .auth-modal input:focus { border-color: #ff0000; }
        .pass-wrapper { position: relative; width: 100%; }
        .toggle-pass { position: absolute; right: 15px; top: 25px; transform: translateY(-50%); cursor: pointer; color: #888; width: 20px; }
        .btn-auth { width: 100%; background: #ff0000; color: #fff; padding: 15px; border: none; border-radius: 12px; font-size: 1.1rem; font-weight: 800; cursor: pointer; transition: 0.3s; }
        .btn-auth:hover { background: #111; }
        .auth-switch { margin-top: 10px; font-size: 0.9rem; }
        .auth-switch a { color: #ff0000; font-weight: 800; text-decoration: none; cursor: pointer; }
   