* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    position: relative;
}

.desktop-bg-video {
    display: none;
}

.container {
    width: 100%;
    max-width: 100vw;
    position: relative;
    z-index: 1;
    overflow-x: hidden;
}

/* Header */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 15px;
}

.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.logo svg {
    filter: drop-shadow(0 0 10px rgba(0, 255, 209, 0.5));
}

.company-name {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.tagline {
    font-size: 20px;
    color: white;
    font-weight: 300;
}

/* Botones */
.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    width: 50%;
    position: relative;
    min-height: 60px;
}

/* Loading Spinner */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 40px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(1, 248, 209, 0.2);
    border-top-color: #01F8D1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.button {
    color: #0a0a0f;
    text-decoration: none;
    padding: 16px 24px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: block;
    border-radius: 6px;
    background: #01F8D1;
    box-shadow: 0 0 20px 0 rgba(82, 255, 136, 0.40);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px 0 rgba(1, 248, 209, 0.70);
    background: #1AFFD9;
}

.button:active {
    transform: translateY(0);
}

/* Redes Sociales */
.social-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    color: #00FFD1;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.country{
    transition: all 0.3s ease;
}

.social-link:hover, .country:hover {
    transform: translateY(-3px) scale(1.1);
}

.social-link:hover svg {
    filter: drop-shadow(0 0 8px rgba(1, 248, 209, 0.8));
}

.social-link:hover svg path {
    fill: #1AFFD9;
}

/* Carrusel */
.carousel-container {
    padding-bottom: 30px;
    padding-top: 30px;
    border-top: 1px solid #00FFEA;
    width: 100%;
    overflow: hidden;
}

.carousel-swiper {
    width: 100%;
    overflow: visible;
}

.carousel-swiper .swiper-wrapper {
    align-items: center;
    transition-timing-function: linear !important;
}

.carousel-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.carousel-item:hover {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 480px) {
    body {
        background-image: url('images/fondo-mobile.png');
    }
    .container {
        border-radius: 20px;
    }

    .company-name {
        font-size: 28px;
    }

    .button {
        height: 40px;
        padding: 12px 20px;
        font-size: 15px;
    }

    .carousel-item {
        width: 70px;
        height: 35px;
    }
    .buttons-container {
        width: 80%;
    }
    
    .spinner {
        width: 30px;
        height: 30px;
        border-width: 3px;
    }
}

.links-container{
    display: flex;
    justify-content: center;
}

.container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.header{
    margin-top: 50px;
}

.highlight{
    font-weight: 500;
}


@media (max-width: 768px){
    .logo {
        max-width: 150px;
    }
}
@media (min-width: 768px) {
    .logo {
        max-width: 240px;
    }
    .container {
        height: 100vh;
    }
    body {
        background-color: #0a0a12;
        background-image: url('images/fondo.png');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .desktop-bg-video {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        min-height: 100%;
        object-fit: cover;
        object-position: center;
        z-index: 0;
        pointer-events: none;
        opacity: 0.4;
    }
}

.country-image{
    width: 30px;
    height: 30px;
}

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