/* Reset y Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
}

/* Navbar con Logo */
.navbar {
    background: #3b017c;
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: none;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(59, 1, 124, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 60px;
    width: auto;
}

.logo-text {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.15);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Carrusel Hero */
.hero {
    position: relative;
    margin-top: 57px;
    height: 80vh;
    max-height: 800px;
    min-height: 500px;
    overflow: hidden;
    background: linear-gradient(to bottom, #3b017c 5%, #ffffff 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.carousel {
    position: relative;
    width: 90%; /* Reducimos el ancho para que no llegue a los bordes */
    max-width: 1200px; /* Limitamos el ancho máximo */
    height: 80%; /* Reducimos la altura */
    border-radius: 15px; /* Añadimos bordes redondeados */
    overflow: hidden; /* Para que los bordes redondeados se apliquen */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); /* Sutil sombra para profundidad */
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.prev {
    left: 20px; /* Ajustamos la posición */
}

.next {
    right: 20px; /* Ajustamos la posición */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(59, 1, 124, 0.5), rgba(59, 1, 124, 0.2));
}

.slide:nth-child(1) {
    background-image: url('../images/lcdlf.jpeg');
}

.slide:nth-child(2) {
    background-image: url('../images/leagues.jpg');
}

.slide:nth-child(3) {
    background-image: url('../images/nba.webp');
}

.slide:nth-child(4) {
    background-image: url('../images/madrid.jpg');
}

.slide:nth-child(5) {
    background-image: url('../images/series.jpg');
}

.slide:nth-child(6) {
    background-image: url('../images/movies.webp');
}



.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    color: white;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.slide.active .slide-content {
    transform: translateY(0);
}

.slide h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.slide p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Controles del carrusel */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.4);
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}

/* Indicadores */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

/* Botones */
.cta-button {
    background: #FFD700;
    color: #000;
    border: none;
    padding: 12px 40px;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background: #00FFAA;
    transform: translateY(-3px);
}

/* Nueva sección "¿Quieres más?" */
.more-content {
    background: white;
    padding: 80px 20px;
    text-align: center;
}

.more-content h2 {
    color: #3b017c;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.highlight-box {
    background: linear-gradient(to right, #3b017c, #5e02c5);
    color: white;
    border-radius: 15px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto 40px;
    box-shadow: 0 10px 30px rgba(59, 1, 124, 0.2);
}

.highlight-box p {
    font-size: 1.0rem;
    margin-bottom: 25px;
    line-height: 1.6;
    font-weight: 600;
}

.highlight-box .gold-text {
    color: #FFD700;
}

.highlight-box .green-text {
    color: #00FFAA;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: left;
    margin: 35px 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature span:first-child {
    color: #FFD700;
    font-size: 1.5rem;
}

.testimonial-text {
    font-size: 1.9rem;
    margin-top: 25px;
    background: rgba(0,0,0,0.2);
    padding: 12px;
    border-radius: 8px;
    display: inline-block;
}


/* Sección de Planes */
.pricing {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(to right, #3b017c, #5e02c5);
    position: relative;
}

.pricing h2 {
    color: white;
    text-align: center;
    margin-bottom: 50px;
}

.pricing-tables {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    width: 300px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 1px solid #eee;
}

.pricing-card.highlighted {
    transform: scale(1.05);
    border: 2px solid #FFD700;
}

.badge {
    background: #00FFAA;
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    position: absolute;
    top: -15px;
    right: 20px;
    font-weight: bold;
}
.original-price {
    text-decoration: line-through;
    color: #999 !important;
    font-size: 1.0rem !important;
    font-weight: normal !important;
    margin-right: 10px;
}

.discount-badge {
    background: #00FFAA;
    color: #000;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
}

.price-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.price {
    font-size: 2.3rem;
    font-weight: bold;
    margin: 20px 0;
    color: #3b017c;
}

.discount {
    font-size: 0.9rem;
    color: #00AA55;
    display: block;
    margin-top: 5px;
}

.benefits {
    list-style: none;
    text-align: left;
    margin: 25px 0;
}

.benefits li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.benefits li:before {
    content: "✔";
    color: #00FFAA;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.select-button {
    background: #3b017c;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    width: 100%;
}

.select-button:hover {
    background: #48047f;
}

/* Sección Compatibilidad */
.compatibility {
    padding: 60px 20px;
    text-align: center;
    background: white;
}

.compatibility h2 {
    color: #3b017c;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.devices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 20px auto 0;
    padding: 20px;
}

.device {
    text-align: center;
}

.device-icon {
    font-size: 2.5rem;
    background: #f5f5f5;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.device p {
    font-weight: 600;
    color: #3b017c;
}

/* Sección Descarga */
.download {
    padding: 60px 20px;
    text-align: center;
    background: #f9f9f9;
}

.download h2 {
    color: #3b017c;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.download-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    text-align: center;
  }
  
  .section-title {
    color: #1a73e8;
    margin-bottom: 0.5rem;
  }
  
  .section-subtitle {
    color: #5f6368;
    margin-bottom: 2rem;
  }
  
  /* Grid de dispositivos */
  .device-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
  }
  
  .device-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  .device-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  
  .device-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
  }
  
  .device-card h3 {
    color: #202124;
    font-size: 1.2rem;
  }
  
  /* Estilos del modal */
  .modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
  }
  
  .modal-content {
    background: white;
    margin: 5% auto;
    padding: 2rem;
    width: 90%;
    max-width: 700px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    animation: modalopen 0.4s;
  }
  
  @keyframes modalopen {
    from {opacity: 0; transform: translateY(-50px)}
    to {opacity: 1; transform: translateY(0)}
  }
  
  .close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    color: #5f6368;
    cursor: pointer;
  }
  
  .instructions-content {
    text-align: left;
    margin: 1.5rem 0;
    line-height: 1.6;
  }
  
  .instructions-content ol {
    padding-left: 1.5rem;
  }
  
  .download-action {
    margin-top: 2rem;
    text-align: center;
  }
  
  .download-button {
    background: #1a73e8;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s;
  }
  
  .download-button:hover {
    background: #0d5bba;
  }
  
  .file-info {
    color: #5f6368;
    font-size: 0.9rem;
    margin-top: 0.5rem;
  }

.store-button {
    background: #333;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 180px;
}

.store-button:hover {
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 1024px) {
    .pricing-card {
        width: 280px;
    }
    
    .slide h1 {
        font-size: 2.5rem;
    }
    
    .slide p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 20px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #3b017c;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }
    
    .nav-links.show {
        transform: translateY(0);
    }
    
    .hero {
        height: 70vh;
        min-height: 400px;
    }
    
    .slide h1 {
        font-size: 2rem;
    }
    
    .slide p {
        font-size: 1.1rem;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .more-content {
        padding: 60px 15px !important;
    }
    
    .more-content h2 {
        font-size: 2rem !important;
    }
    
    .highlight-box {
        padding: 30px 20px !important;
    }
    
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .highlight-box p {
        font-size: 1.2rem !important;
    }
    
    .pricing-tables {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card.highlighted {
        transform: none;
    }
    
    .devices {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-img {
        height: 30px;
    }
    
    .hero {
        height: 60vh;
        min-height: 350px;
    }
    
    .slide h1 {
        font-size: 1.8rem;
    }
    
    .slide p {
        font-size: 1rem;
    }
    
    .carousel-control {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .carousel-indicators {
        bottom: 20px;
    }
    
    .cta-button, .select-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .store-button {
        width: 100%;
        max-width: 220px;
    }
}