/* =========================================
   INICIO CSS - FINAL (FIX CLICKS + CHATGPT GO)
   ========================================= */

#ambient-light {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 120vw; height: 120vh;
    background: radial-gradient(circle, var(--active-theme) 0%, transparent 70%);
    opacity: 0.15; z-index: 1; pointer-events: none; transition: background 0.5s ease;
}

header { opacity: 0; transform: translateY(-100%); animation: headerEntrance 1s ease-out forwards 2.8s; }
@keyframes headerEntrance { 0% { opacity: 0; transform: translateY(-100%); } 100% { opacity: 1; transform: translateY(0); } }

.hero {
    position: relative; display: flex; align-items: center; justify-content: center;
    width: 100%; min-height: 100vh; padding: 150px 0 100px 0;
    background-color: #050505; z-index: 0; overflow: hidden; 
}

.hero::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6)), url('../img/hero-streaming.jpg');
    background-size: cover; background-position: center; background-attachment: fixed; 
    z-index: 1; animation: backgroundFadeOut 1s ease-in forwards 2.5s;
}
@keyframes backgroundFadeOut { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.05); } }
@media (max-width: 768px) { .hero::before { background-attachment: scroll; } }

.hero-content { position: relative; width: 100%; max-width: 1300px; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 10; }

.hero-text-wrapper {
    position: absolute; top: 45%; left: 50%; transform: translate(-50%, -50%);
    width: 100%; text-align: center; z-index: 20;
    animation: textExit 0.8s ease-in forwards 2.5s; pointer-events: none;
}
@keyframes textExit { 0% { opacity: 1; transform: translate(-50%, -50%); } 100% { opacity: 0; transform: translate(-50%, -50%); } }

.hero-visuals-wrapper {
    width: 100%; text-align: center; opacity: 0; visibility: hidden;
    animation: logosEntrance 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 2.8s;
    position: relative; margin-top: 20px;
}
@keyframes logosEntrance { 
    0% { opacity: 0; transform: scale(0.8); filter: blur(5px); visibility: visible; }
    100% { opacity: 1; transform: scale(1); filter: blur(0px); visibility: visible; }
}

.hero-content h2 {
    font-size: 4.5rem; margin-bottom: 20px; font-weight: 800;
    background: linear-gradient(90deg, #fff, #e50914, #fff); background-size: 200%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shineText 3s linear infinite; line-height: 1.1;
}
@keyframes shineText { to { background-position: 200% center; } }
.hero-content p { font-size: 1.5rem; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }

.hero-logos-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-bottom: 60px; perspective: 1000px; }

.logo-card {
    background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 15px; padding: 15px;
    text-align: center; width: 120px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
    transform-style: preserve-3d; z-index: 50; cursor: pointer;
}
.logo-card img { width: 100%; border-radius: 10px; margin-bottom: 8px; transform: translateZ(30px); }
.logo-card span { display: block; font-size: 0.85rem; color: #ddd; font-weight: 600; transform: translateZ(15px); transition: color 0.3s ease; }

/* COLORES */
.netflix:hover { border-color: #e50914; box-shadow: 0 0 20px rgba(229, 9, 20, 0.6); } .netflix:hover span { color: #e50914; }
.disney:hover { border-color: #0063e5; box-shadow: 0 0 20px rgba(0, 99, 229, 0.6); } .disney:hover span { color: #0063e5; }
.max:hover { border-color: #24097c; box-shadow: 0 0 20px rgba(36, 9, 124, 0.6); } .max:hover span { color: #a08bff; }
.prime:hover { border-color: #00a8e1; box-shadow: 0 0 20px rgba(0, 168, 225, 0.6); } .prime:hover span { color: #00a8e1; }
.spotify:hover { border-color: #1ed760; box-shadow: 0 0 20px rgba(30, 215, 96, 0.6); } .spotify:hover span { color: #1ed760; }
.crunchyroll:hover { border-color: #f47521; box-shadow: 0 0 20px rgba(244, 117, 33, 0.6); } .crunchyroll:hover span { color: #f47521; }
.youtube:hover { border-color: #ff0000; box-shadow: 0 0 20px rgba(255, 0, 0, 0.6); } .youtube:hover span { color: #ff0000; }
.paramount:hover { border-color: #0064ff; box-shadow: 0 0 20px rgba(0, 100, 255, 0.6); } .paramount:hover span { color: #0064ff; }
.canva:hover { border-color: #8b3dff; box-shadow: 0 0 20px rgba(139, 61, 255, 0.6); } .canva:hover span { color: #8b3dff; }
.wintv:hover { border-color: #ff6a00; box-shadow: 0 0 20px rgba(255, 106, 0, 0.6); } .wintv:hover span { color: #ff6a00; }
.vix:hover { border-color: #ff4b00; box-shadow: 0 0 20px rgba(255, 75, 0, 0.6); } .vix:hover span { color: #ff4b00; }

/* CHATGPT GO COLOR */
.chatgpt:hover { border-color: #10a37f; box-shadow: 0 0 20px rgba(16, 163, 127, 0.6); } .chatgpt:hover span { color: #10a37f; }

.btn-primary {
    display: inline-block; padding: 15px 50px; text-decoration: none; border-radius: 50px;
    font-weight: bold; font-size: 1.2rem; text-transform: uppercase;
    background: rgba(0,0,0,0.6); position: relative; transition: 0.3s;
    border: 2px solid var(--active-theme); color: var(--active-theme); box-shadow: 0 0 15px var(--active-theme);
}
.btn-primary:hover { background: var(--active-theme); color: white; transform: translateY(-5px); box-shadow: 0 0 40px var(--active-theme); }

.benefits, .testimonials { padding: 80px 10%; text-align: center; position: relative; z-index: 2; }
.benefits h2, .testimonials h2 { font-size: 2.5rem; margin-bottom: 50px; color: white; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }

@keyframes flotarSimple { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }
.benefit-item {
    background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; padding: 40px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); transform-style: preserve-3d;
    transform: perspective(1000px); animation: flotarSimple 5s ease-in-out infinite; 
}
.benefit-item:hover { border-color: #e50914; animation-play-state: paused; }
.benefit-item img { width: 70px; margin-bottom: 20px; filter: drop-shadow(0 0 8px rgba(255,255,255,0.4)); transform: translateZ(40px); }
.benefit-item h3 { color: white; margin-bottom: 10px; transform: translateZ(20px); }
.benefit-item p { color: #aaa; transform: translateZ(20px); }

.glide__track { padding: 20px 0; }
.testimonial-item { background: rgba(20, 20, 20, 0.7); border: 1px solid rgba(255, 255, 255, 0.05); padding: 30px; border-radius: 15px; transform-style: preserve-3d; transform: perspective(1000px); }
.testimonial-item p { color: #ccc; font-style: italic; margin-bottom: 20px; transform: translateZ(20px); }
.testimonial-item span { display: block; color: #e50914; font-weight: bold; text-align: right; transform: translateZ(20px); }
@media (max-width: 768px) { .hero-content h2 { font-size: 2.5rem; } }

/* MODAL */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px); align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.modal.show { display: flex; opacity: 1; }
.modal-content { background: rgba(20, 20, 20, 0.9); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 0 30px rgba(229, 9, 20, 0.2); border-radius: 20px; width: 90%; max-width: 600px; padding: 30px; position: relative; transform: scale(0.8); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); text-align: left; }
.modal.show .modal-content { transform: scale(1); }
.close-btn { color: #aaa; float: right; font-size: 28px; font-weight: bold; cursor: pointer; transition: 0.2s; }
.close-btn:hover { color: #fff; }
.modal-header { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
.modal-header img { width: 60px; border-radius: 10px; }
.modal-header h2 { font-size: 1.8rem; color: white; margin: 0; }
.modal-body { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.modal-column h4 { margin-bottom: 10px; text-transform: uppercase; font-size: 0.9rem; }
.modal-column ul { list-style: none; padding: 0; }
.modal-column ul li { color: #ccc; font-size: 0.95rem; margin-bottom: 5px; padding-left: 10px; border-left: 2px solid #333; }
.modal-footer { margin-top: 25px; text-align: center; }
.btn-modal { display: inline-block; padding: 10px 30px; background: #e50914; color: white; text-decoration: none; border-radius: 30px; font-weight: bold; transition: 0.3s; }
@media (max-width: 600px) { .modal-body { grid-template-columns: 1fr; } }