@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body {
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    font-style: normal;
    min-height: 100vh;
    overflow-x: hidden;
    background: #2B2B2BFF;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.logo {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    margin-left: auto;
    margin-right: 2rem;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: dimgray;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links.active a:not(.mobile-get-app)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-links.active a:not(.mobile-get-app):hover::after {
    width: 100%;
}

.get-app-btn {
    background: white;
    color: black;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.get-app-btn:hover {
    background-color: #f0f0f0;
}

.navbar.hidden {
    transform: translateY(-100%);
}

.nav-links.active {
    right: 0;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
}

/* Menu Button Styles */
.menu-btn {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.menu-btn__burger {
    width: 30px;
    height: 2px;
    background: white;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease-in-out;
}

.menu-btn__burger::before,
.menu-btn__burger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: white;
    transition: all 0.3s ease-in-out;
}

.menu-btn__burger::before {
    transform: translateY(-8px);
}

.menu-btn__burger::after {
    transform: translateY(8px);
}

/* Animación del menú hamburguesa */
.menu-btn.open .menu-btn__burger {
    background: transparent;
}

.menu-btn.open .menu-btn__burger::before {
    transform: rotate(45deg);
}

.menu-btn.open .menu-btn__burger::after {
    transform: rotate(-45deg);
}

/* Animación inversa al cerrar */
.menu-btn.closing .menu-btn__burger {
    background: white;
    transition-delay: 0.3s;
}

.menu-btn.closing .menu-btn__burger::before {
    transform: translateY(-8px);
    transition: transform 0.3s ease-in-out;
}

.menu-btn.closing .menu-btn__burger::after {
    transform: translateY(8px);
    transition: transform 0.3s ease-in-out;
}

/* Sidebar Styles */
.close-btn {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn__lines {
    width: 30px;
    height: 2px;
    background: transparent;
    position: relative;
}

.close-btn__lines::before,
.close-btn__lines::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: white;
    transition: all 0.3s ease-in-out;
    left: 0;
}

/* Posición inicial (X) */
.close-btn__lines::before {
    transform: rotate(45deg);
}

.close-btn__lines::after {
    transform: rotate(-45deg);
}

/* Animación al cerrar (hamburguesa) */
.close-btn.closing .close-btn__lines::before {
    transform: translateY(-8px);
}

.close-btn.closing .close-btn__lines::after {
    transform: translateY(8px);
}

.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    transition: right 0.3s ease-in-out;
}

.sidebar.active {
    right: 0;
}

.sidebar-content {
    padding: 80px 2rem 2rem;
    height: 100%;
}

.sidebar-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-content ul li {
    margin-bottom: 2rem;
}

.sidebar-content ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    font-family: "Kanit", sans-serif;
    transition: color 0.3s ease;
    display: block;
    position: relative; /* Added for underline positioning */
}

.sidebar-content ul li a:hover {
    color: dimgray;
}

.sidebar-content ul li a.mobile-get-app {
    background: white;
    color: black;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 500;
    text-align: center;
    margin-top: 1rem;
}

.sidebar-content ul li a.mobile-get-app:hover {
    background-color: #f0f0f0;
}

.sidebar-content ul li a:not(.mobile-get-app) {
    padding-bottom: 4px; /* Space for underline */
}

.sidebar-content ul li a:not(.mobile-get-app)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

.sidebar-content ul li a:not(.mobile-get-app):hover {
    color: dimgray;
}

.sidebar-content ul li a:not(.mobile-get-app):hover::after {
    width: 100%;
}

.overlay-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.overlay-sidebar.active {
    display: block;
    opacity: 1;
}

/* Hero Section Styles */
.hero {
    min-height: 100vh;
    width: 100%;
    background-image: url('../assets/images/fondo_banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    padding: 5% 5%;
    overflow-x: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3));
    z-index: 1;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Volvemos a center para mantener la alineación original */
    width: 100%;
    position: relative;
    z-index: 2;
    gap: 2rem;
    padding-right: 2rem;
}

.hero-text {
    flex: 1;
    padding-top: 0; /* Removemos el padding-top para mantener la posición original */
}

.hero-title {
    color: white;
    font-size: 80px;
    font-weight: 900;
    font-style: normal;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.store-buttons {
    display: flex;
    gap: 1rem;
}

.store-button {
    height: 80px;
    transition: transform 0.3s ease;
}

.store-button:hover {
    transform: scale(1.05);
}

.phone-mockup {
    flex: 1.5;
    display: flex;
    justify-content: flex-end;
    padding-top: 240px;
    margin-right: 2.5%;
}

.phone-image {
    max-height: 659px; /* Aumentado ligeramente */
    width: auto;
    object-fit: contain;
}

.promo-container {
    position: relative;
    width: 100%;
    min-height: 200vh;
    background-image: url('../assets/images/1_1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5% 5%;
    margin-top: 0;
}

.promo-container .overlay {
    position: relative;
    width: 98%; /* Aumentado de 95% a 98% */
    max-width: 1400px; /* Aumentado de 1200px a 1400px */
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 60px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.promo-container .title {
    color: white;
    text-align: center;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    max-width: 1800px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.promo-container .subtitle {
    color: #8c8c8c;
    text-align: center;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 300;
    margin-bottom: 2rem;
    max-width: 1000px;
}

.video-container {
    width: 100%;
    max-width: 1000px; /* Aumentado proporcionalmente */
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.promo-container .logo-container {
    margin-top: 2rem;
    text-align: center;
    justify-content: center;
}

.promo-container .logo-container img {
    height: 80px;
    width: auto;
}

/* Contenedor principal del carousel */
.carousel-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto 2rem;
    position: relative;
    overflow: hidden;
}

/* Contenedor de slides */
.carousel-slides {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease;
    position: relative;
    height: 0;
    padding-bottom: 56.25%; /* Mantiene el ratio 16:9 */
}

/* Estilos para cada slide */
.carousel-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Contenedor de imágenes del carousel */
.carousel-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Controles de navegación */
.carousel-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
    width: 100%;
    z-index: 2;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin: 0 10px;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

/* Indicadores de posición */
.carousel-indicators {
    display: flex;
    gap: 10px;
    margin: 0 15px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

.about-section {
    background-color: #000000;
    background-image: url('../assets/images/2_11.png');
    background-size: cover; /* Cambiado a cover para que cubra todo el espacio */
    background-position: center;
    background-repeat: no-repeat;
    min-height: 260vh;
    width: 100%;
    padding: 4rem 5%;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden; /* Previene scroll horizontal */
}

.about-text {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 2rem;
    z-index: 2; /* Asegura que el texto esté por encima de la imagen */
}

.about-title {
    color: white;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-subtitle {
    color: #8c8c8c;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    line-height: 1.5;
}

.connection-section {
    position: relative;
    width: 100%;
    min-height: 150vh;
    background-color: black;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5% 5%;
    overflow: hidden;
}

.connection-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
    z-index: 1;
}

.connection-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    text-align: center;
    padding: 2rem;
}

.connection-title {
    color: white;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.connection-subtitle {
    color: #8c8c8c;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.iphones-showcase {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.iphones-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    object-fit: contain;
}

.container-clubes {
    position: relative;
    width: 100%;
    min-height: 200vh; /* Aumento de 100vh a 110vh para expandir verticalmente */
    background-image: url('../assets/images/unsplash_hGlBGfql5Kc.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding-bottom: 3rem; /* Añade espacio abajo */
}

.container-overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150%; /* Aumento de 30% a 40% para extender el degradado negro hacia abajo */
    background: linear-gradient(to bottom, rgba(0,0,0,1), transparent);
    z-index: 1;
}

.container-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%; /* Ajustado para mejor balance en dispositivos móviles */
    background: linear-gradient(to top, rgba(0,0,0,1), transparent);
    z-index: 1;
}

.container-clubes-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding-top: 70px; /* Aumentado para dar más espacio con el degradado superior */
    max-width: 2000px;
    max-height: 2000px;
    margin: 0 auto;
}

.container-clubes-text-content {
    margin-bottom: 40px; /* Más espacio antes de la imagen */
    padding: 0 20px;
}

.container-clubes-title {
    font-size: clamp(2rem, 5vw, 2.8rem); /* Responsive */
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    text-transform: uppercase;
}

.container-clubes-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.7rem); /* Responsive */
    font-weight: 200;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.iphones-image-container-clubes {
    width: 100%;
    max-width: 1600px;
    height: 100%;
    max-height: 2000px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.iphones-image-container-clubes img {
    width: 100%; /* Aumentado de valores anteriores para hacer las imágenes más grandes */
    max-width: 1600px;
    height: 100%;
    max-height: 2000px;
}

.hero-premios {
    background-color: black;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.hero-content-premios {
    max-width: 1800px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-premios-title {
    text-align: center;
    font-family: "Kanit", sans-serif;
    color: white;
    font-size: 3.5rem;
    max-width: 900px;
    margin: 0 auto 1rem;
    font-weight: bold;
}

.hero-premios-description {
    font-family: "Kanit", sans-serif;
    text-align: center;
    color: #8c8c8c;
    font-size: 1.2rem;
    max-width: 1000px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-premios-image {
    width: 100%;
    max-width: 1200px;
    height: 100%;
    max-height: 1600px;
    margin-top: 2rem;
}

.novedades-container {
    background-color: black;
    min-height: 110vh;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow-x: hidden;
    margin: 0;
}

.titulo-principal {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    color: white;
    margin-bottom: 40px;
    letter-spacing: 1px;
    width: 100%; /* Ensure full width */
}
/* Contenedor de tarjetas */
.contenedor-tarjetas {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Estilos de tarjeta modificados */
.tarjeta {
    flex: 1;
    min-width: 300px;
    background-color: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    padding-top: 20px; /* Añadido para crear margen superior */
}

.tarjeta:hover {
    transform: translateY(-5px);
}

/* Contenedor de imagen - modificado para tener margen */
.imagen-contenedor {
    width: 90%; /* Reducido para crear margen lateral */
    height: 220px;
    overflow: hidden;
    margin: 0 auto; /* Centrado horizontal */
    border-radius: 10px; /* Bordes redondeados para la imagen */
}

.imagen-contenedor img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tarjeta:hover .imagen-contenedor img {
    transform: scale(1.05);
}

/* Contenido de la tarjeta */
.contenido {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Para que ocupe todo el espacio disponible */
}

.titulo {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: white;
}

.subtitulo {
    color: #ff9933;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.descripcion {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
    flex-grow: 1; /* Para empujar el botón hacia abajo */
}

/* Contenedor para centrar el botón */
.boton-container {
    display: flex;
    justify-content: center;
    margin-top: auto; /* Empuja el botón hacia abajo */
}

/* Botón */
.boton-leer {
    display: inline-block;
    background-color: #006400;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.boton-leer:hover {
    background-color: #008800;
}

.download-container {
    width: 100%;
    background-color: black;
    padding: 4rem 2rem;
}

.download-section {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    background-color: black;
}

.content-wrapper {
    position: relative;
    width: 100%;
    min-height: 709px;
    background-image: url('../assets/images/Rectangle_35.jpg');
    background-size: cover;
    background-position: center;
    padding: 8rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1.5rem;
    border-radius: 32px;
    overflow: hidden;
}

.footer {
    background-color: #1e1e1e;
    color: white;
    padding: 40px 20px 20px;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
        "logo social social"
        "apps email email"
        "links links links"
        "copyright copyright copyright";
    gap: 20px;
}

.footer-logo {
    grid-area: logo;
    justify-self: start;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.app-buttons {
    grid-area: apps;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
}

.app-button {
    display: block;
    width: 280px;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.app-button:hover {
    transform: scale(1.05);
}

.app-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-social {
    grid-area: social;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Mantiene alineación a la derecha en desktop */
    text-align: right;
    justify-content: center;
}

.follow-text {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
    padding-right: 0px; /* Padding fijo para alinear con iconos en desktop */
    position: relative; /* Para posicionamiento absoluto en el pseudo-elemento */
}

.social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon img {
    width: 30px;
    height: 30px;
}

.contact-email {
    grid-area: email;
    text-align: right;
    font-size: 16px;
    color: white;
    align-self: flex-start;
    justify-self: end;
}

.footer-links {
    grid-area: links;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ccc;
}

.footer-copyright {
    grid-area: copyright;
    text-align: center;
    color: #888;
    font-size: 14px;
    padding-top: 10px;
}

.policy-body {
    background-image: url('../assets/images/Fondo_Policy.png');
    background-attachment: fixed;
    background-size: 20.5%; /* Reducido del 50% original a 40% para que sea más pequeña */
    background-position: center top 115px;
    background-repeat: no-repeat;
    justify-items: center;
    color: white;
}

.policy-container {
    max-width: 1200px;
    margin: 100px auto 80px;
    padding: 30px 40px;
    background: rgba(51, 51, 51, 0.75);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(225, 224, 224, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 20px;
}

.policy-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.policy-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
}

.policy-content {
    line-height: 1.8;
}

.policy-content h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.policy-content h3 {
    font-size: 1.4rem;
    color: #fff; /* Blue accent color from the image */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.policy-content p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.policy-content ul {
    margin-bottom: 25px;
    padding-left: 25px;
}

.policy-content li {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

.policy-content li::before {
    content: "•";
    color: #3a86ff; /* Blue bullet points */
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.policy-content a {
    color: white;
    text-decoration: none;
    border-bottom: 1px dotted #b3b3b3;
    transition: all 0.3s ease;
}

.policy-content a:hover {
    border-bottom: 1px solid #fbfbfb;
    color: #888888;
}

.back-button {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    background-color: #1a1a1a;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.back-button:hover {
    background-color: #202020;
}

/* Enlaces para dispositivos móviles */
.browser-link {
    word-break: break-word;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: inline-block;
    max-width: 100%;
    hyphens: auto;
}

.policy-container .logo-container {
    margin-top: 2rem;
    text-align: center;
    justify-content: center;
}

.policy-container .logo-container img {
    height: 60px;
    width: auto;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.5s forwards;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cookie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cookie-header h3 {
    margin: 0;
    font-size: 18px;
}

.cookie-close {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 5px;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cookie-btn.accept {
    background-color: #4CAF50;
    color: white;
}

.cookie-btn.reject {
    background-color: #f44336;
    color: white;
}

.cookie-btn.settings {
    background-color: #2196F3;
    color: white;
}

.cookie-btn:hover {
    opacity: 0.9;
}

/* Estilos para el Modal de Configuración */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.cookie-settings-modal.show {
    display: flex;
    animation: fadeIn 0.3s forwards;
}

.modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 5px;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: right;
}

.cookie-option {
    margin-bottom: 20px;
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.option-header h4 {
    margin: 0;
    color: #333;
}

/* Estilos para el interruptor (switch) */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}


@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        gap: 1rem;
    }
    .hero-title{
        font-size: 47px;
    }

    .phone-mockup{
        width: 230px;
        height: 500px;
    }

    .phone-image {
        max-height: 500px;
    }

    .store-button{
        height: 57px;
    }
    .policy-container {
        margin: 50px 15px;
        padding-top: 20px;
    }

    .policy-header h1 {
        font-size: 2rem;
        padding-top: 20px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 1rem;
    }

    .nav-links {
        display: none;
    }

    .logo {
        height: 30px;
    }

    .hero {
        padding: 80px 5% 2rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        margin-bottom: 1.5rem;
    }

    .store-buttons {
        justify-content: center;
    }
    .store-button{
        height: 57px;
    }

    .phone-mockup {
        margin-top: 2rem;
        justify-content: center;
        padding-top: 20px;
    }

    .phone-image {
        max-height: 400px;
        max-width: 90%;
    }
    .policy-container {
        margin: 50px 15px;
        padding: 15px;
    }

    .policy-header h1 {
        font-size: 2rem;
    }

    .policy-body{
        background-size: 78%;
    }

    /* Mejora para enlaces en móviles */
    .browser-link {
        padding: 60px 1rem 1rem;
    }

    .store-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-button {
        height: 57px;
    }

    .phone-image {
        max-height: 350px;
    }

    .get-app-btn {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    .policy-container {
        margin: 80px 20px;
        padding: 25px;
    }

    .policy-header h1 {
        font-size: 2rem;
    }

    .policy-content h2 {
        font-size: 1.5rem;
    }

    .policy-content h3 {
        font-size: 1.2rem;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 1200px) {
    .phone-mockup {
        padding-top: 100px;
        margin-right: -3%;
    }

    .phone-image {
        max-height: 600px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-right: 0;
        justify-content: center; /* Asegura centrado vertical en móvil */
        align-items: center; /* Asegura centrado horizontal en móvil */
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centra el contenido en móvil */
        justify-content: center;
        width: 100%; /* Asegura que tome todo el ancho disponible */
    }

    .hero-title {
        max-width: 100%;
        margin-top: 2rem; /* Añade espacio arriba en móvil */
    }

    .phone-mockup {
        margin: 2rem auto 0;
        justify-content: center;
        padding-top: 60px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem; /* Ajuste específico para pantallas muy pequeñas */
        margin-top: 1.5rem;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        background-attachment: scroll; /* Mejor rendimiento en móviles */
        min-height: 120vh; /* Asegura cobertura extra en landscape */
    }
}

@media (max-width: 768px) {
    .phone-mockup {
        margin: 2rem 0 0;
        justify-content: center;
        padding-top: 20px;
        width: 100%;
        display: flex;
        align-items: center;
    }

    .phone-image {
        max-height: 400px;
        max-width: 90%;
        margin: 0 auto; /* Centra horizontalmente */
        display: block;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-right: 0;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .promo-container {
        height: auto; /* Permite que se ajuste al contenido en móvil */
        padding: 2rem 1rem;
    }

    .promo-container .overlay {
        padding: 2rem 1rem;
        width: 95%;
    }

    .promo-container .title {
        font-size: clamp(1.5rem, 3vw, 2rem);
    }

    .promo-container .subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .video-container {
        max-width: 100%;
    }

    .promo-container .logo-container img {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .promo-container {
        padding: 1rem;
    }

    .promo-container .overlay {
        padding: 1.5rem 1rem;
    }

    .promo-container .title {
        font-size: 1.3rem;
    }

    .video-container {
        margin: 1rem auto;
    }
}

@media (max-width: 768px) {
    .promo-container {
        height: auto;
        padding: 4rem 1rem; /* Aumentado el padding vertical para mejor espaciado */
    }

    .promo-container .overlay {
        width: 99%; /* Aumentado de 98% a 99% */
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .promo-container {
        padding: 2rem 0.5rem;
    }

    .promo-container .overlay {
        width: 100%; /* Aumentado de 99% a 100% */
        padding: 1.5rem 0.8rem;
    }
}

@media (max-width: 768px) {
    .promo-container {
        min-height: 110vh; /* Un poco menos alargado en tablets */
        height: auto;
        padding: 4rem 1rem;
    }
}

@media (max-width: 480px) {
    .promo-container {
        min-height: 100vh; /* Altura normal en móviles */
        padding: 2rem 0.5rem;
    }
}

@media (max-width: 1024px) {
    .about-section {
        background-size: cover;
        background-position: center bottom;
    }
}

@media (max-width: 980px) {
    .about-section {
        min-height: 320vh;
        padding: 3rem 1rem;
        background-size: cover;
        background-position: center bottom;
    }
}

@media (max-width: 768px) {
    .about-section {
        min-height: 150vh;
        padding: 3rem 1rem;
    }

    .about-text {
        padding-top: 1rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        min-height: 140vh;
        padding: 0.15rem 1rem;
    }
    .about-title {
        font-size: 1.8rem;
    }

    .about-subtitle {
        font-size: 1rem;
    }
}

/* Para pantallas muy grandes */
@media (min-width: 1440px) {
    .about-section {
        background-size: cover;
        background-position: center;
    }
}

@media (max-width: 1024px) {
    .connection-section {
        min-height: 90vh;
    }

    .iphones-image {
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .connection-section {
        background-attachment: scroll;
        padding: 4rem 1rem;
        min-height: 80vh;
    }

    .connection-content {
        padding: 1rem;
    }

    .connection-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .iphones-image {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .connection-section {
        padding: 3rem 0.5rem;
        min-height: 70vh;
    }

    .connection-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .connection-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .connection-content {
        padding: 0.5rem;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
        margin-left: auto;
        margin-right: 1rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 80px 2rem;
        transition: right 0.3s ease-in-out;
        z-index: 999;
        margin: 0;
        gap: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        color: white;
        text-decoration: none;
        font-size: 1rem;
        font-weight: 400;
        display: block;
        text-align: left;
        width: 100%;
        transition: color 0.3s ease;
        font-family: "Kanit", sans-serif;
    }

    .nav-link:hover {
        color: #cccccc;
    }

    .mobile-get-app {
        background: white;
        color: black;
        padding: 0.5rem 1.5rem;
        border-radius: 20px;
        text-decoration: none;
        font-size: 1rem;
        font-weight: 500;
        text-align: center;
        transition: background-color 0.3s ease;
        margin-top: 1rem;
        display: inline-block;
    }

    .mobile-get-app:hover {
        background-color: #f0f0f0;
    }

    /* Ocultar el botón original en móvil */
    .navbar > .get-app-btn {
        display: none;
    }

    .close-btn {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 1.5rem;
        color: white;
        cursor: pointer;
        z-index: 1000;
    }

    .overlay-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        z-index: 998;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }

    .overlay-sidebar.active {
        display: block;
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
        margin-left: auto;
        margin-right: 1rem;
    }

    .nav-links {
        display: none;
    }

    .navbar > .get-app-btn {
        display: none;
    }
}

@media (min-width: 769px) {
    .sidebar,
    .menu-btn,
    .overlay-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links a::after {
    }
}

/* Media queries para responsividad */
@media (max-width: 768px) {
    .container-clubes {
        min-height: 100vh;
    }

    .container-overlay-top {
        height: 80%; /* Más negro en la parte superior en móviles */
    }

    .container-overlay-bottom {
        height: 30%; /* Más negro en la parte superior en móviles */
    }

    .container-clubes-content {
        padding-top: 60px;
    }

    .iphones-image-container-clubes img {
        width: 100%; /* Mayor porcentaje en tablets */
        max-width: none; /* Elimina la restricción de tamaño máximo */
    }
}

@media (max-width: 480px) {
    .container-clubes-title {
        font-size: 1.7rem; /* Más pequeño para móviles muy pequeños */
    }

    .container-clubes-subtitle {
        font-size: 1.1rem; /* Más pequeño para móviles muy pequeños */
        margin-top: 10px;
    }

    .container-clubes-text-content {
        margin-bottom: 25px;
    }

    .container-clubes-content {
        padding-top: 50px;
    }

    .iphones-image-container-clubes {
        padding: 0 10px; /* Reduce el padding lateral */
    }

    .iphones-image-container-clubes img {
        width: 100%; /* Ocupar todo el ancho disponible */
        margin-top: 15px; /* Añade un poco más de espacio arriba */
    }
}

/* Para teléfonos muy pequeños */
@media (max-width: 360px) {
    .iphones-image-container-clubes {
        padding: 0 5px; /* Padding mínimo */
    }

    .iphones-image-container-clubes img {
        width: 105%; /* Un poco más grande que el contenedor para maximizar tamaño */
        margin-left: -2.5%; /* Compensar el tamaño extra */
        margin-right: -2.5%; /* Compensar el tamaño extra */
    }
}

@media (max-width: 768px) {
    .hero-premios-title {
        font-size: 2.5rem;
        width: 100%;
        padding: 0 1rem;
        margin: 0 auto 1rem;
    }

    .hero-premios-description {
        width: 100%;
        font-size: 1rem;
        padding: 0 1rem;
        margin: 0 auto 2rem;
    }
}

@media (max-width: 480px) {
    .hero-premios-title {
        font-size: 2rem;
        width: 100%;
        padding: 0 0.5rem;
    }

    .hero-premios-description {
        width: 100%;
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    .hero-premios {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .carousel-btn {
        width: 36px;
        height: 36px;
    }

    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .carousel-navigation {
        margin-top: 1rem;
    }

    .carousel-btn {
        width: 32px;
        height: 32px;
    }

    .carousel-btn svg {
        width: 16px;
        height: 16px;
    }

    .indicator {
        width: 6px;
        height: 6px;
    }
}

/* Media queries para responsividad */
/* Pantallas grandes */
@media (min-width: 1200px) {
    .novedades-container{
        max-width: 100%;
    }
    .tarjeta {
        flex-basis: calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }
}

/* Tablets y pantallas medianas */
@media (max-width: 1199px) and (min-width: 768px) {
    .novedades-container{
        max-width: 100%;
    }
    .titulo-principal {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }

    .tarjeta {
        flex-basis: calc(50% - 15px);
        max-width: calc(50% - 15px);
    }

    .titulo {
        font-size: 1.6rem;
    }
}

/* Tablets pequeñas y teléfonos grandes */
@media (max-width: 767px) and (min-width: 481px) {
    .novedades-container{
        max-width: 100%;
    }
    .titulo-principal {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .contenedor-tarjetas {
        gap: 15px;
    }

    .tarjeta {
        flex-basis: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .imagen-contenedor {
        height: 200px;
    }

    .titulo {
        font-size: 1.5rem;
    }

    .subtitulo {
        font-size: 1rem;
    }
}

/* Teléfonos móviles */
@media (max-width: 480px) {
    .novedades-container{
        max-width: 100%;
    }
    .titulo-principal {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .contenedor-tarjetas {
        gap: 15px;
    }

    .tarjeta {
        flex-basis: 100%;
        min-width: unset;
        margin-bottom: 15px;
    }

    .imagen-contenedor {
        width: 92%;
        height: 180px;
    }

    .contenido {
        padding: 15px;
    }

    .titulo {
        font-size: 1.4rem;
    }

    .subtitulo {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .descripcion {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .boton-leer {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* Media queries para responsividad */
@media (max-width: 768px) {
    .download-container {
        padding: 2rem 1rem;
    }

    .download-section {
        width: 100%;
    }

    .content-wrapper {
        padding: 2rem 1.5rem;
        min-height: 250px;
    }
}

@media (max-width: 480px) {
    .download-container {
        padding: 1.5rem 0.5rem;
    }

    .content-wrapper {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "logo"
            "apps"
            "social"
            "email"
            "links"
            "copyright";
        text-align: center;
    }

    .footer-logo {
        justify-self: center;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .app-buttons {
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    .footer-social {
        align-items: center;
        text-align: center;
    }

    .follow-text {
        padding-right: 0; /* Elimina el padding en móviles */
        text-align: center;
        width: 100%;
    }

    .social-icons {
        justify-content: center;
    }
    .contact-email {
        width: 100%;
        text-align: center;
        justify-self: center;
        margin: 15px 0;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 20px;
        margin: 25px 0;
        padding-top: 25px;
    }

    .footer-copyright {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 15px 15px;
    }

    .app-button {
        width: 180px;
    }

    .social-icon {
        width: 45px;
        height: 45px;
    }

    .follow-button {
        padding-right: 0px;
    }

    .footer-links {
        gap: 15px;
    }

    .footer-link {
        font-size: 15px;
    }
}

@media (max-width: 320px) {
    .app-button {
        width: 160px;
    }

    .social-icons {
        gap: 10px;
    }

    .follow-button {
        padding-right: 0px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .follow-text {
        padding-right: 45px;
    }
}