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

html, body {
    background-color: #000;
    font-family: Arial, sans-serif;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.swiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.swiper-slide {
    width: 100%;
    height: 100%;
    /* Optimisation pour le pixel art */
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    transform: translateZ(0);
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 600px;
    background-color: #000;
    padding: 20px;
    
    z-index: 2;
}

@media screen and (max-width: 768px) {
    .main-container {
        bottom: 0px;
        width: 100%;
        right: 0px;
        left: 0px;
        margin: 0 auto;
    }

    .swiper {
        height: calc(100vh - var(--main-container-height));
        touch-action: pan-y pinch-zoom;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .swiper-slide {
        height: 100%;
    }

    .swiper-slide img {
        height: 100%;
        object-fit: cover;
    }

    .logo-container {
        justify-content: space-between;
    }

    .logo-container img {
        width: 150px !important;
    }

    .swiper-pagination {
        display: none !important;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none !important;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 15px !important;
    }

    .text-content p {
        font-size: 0.8rem !important;
    }

    .logo-circle {
        width: 35px !important;
        height: 35px !important;
    }
}

.logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    width: 100%;
    gap: 20px;
}

.logo-container img {
    width: 200px;
    height: auto;
    display: block;
    flex-shrink: 0;
}

@media screen and (max-width: 768px) {
    .logo-container img {
        width: 120px;
    }
}

.text-content {
    margin-bottom: 20px;
}

.text-content p {
    color: white;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.secondary-logos {
    display: flex;
    gap: 10px;
    align-items: center;
}

.logo-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    text-decoration: none;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.content p {
    font-size: 1.2rem;
    max-width: 100%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.pagination-container {
    display: flex;
    align-items: center;
}

.swiper-pagination {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    width: auto !important;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    z-index: 10;
    justify-content: flex-end;
    flex: 1;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    border-radius: 50%;
    display: inline-block;
    margin: 0;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
}

.swiper-pagination-bullet::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    cursor: pointer;
}

.swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
}

.swiper-pagination-bullet-active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid #fff;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@media screen and (max-width: 768px) {
    .swiper-pagination {
        display: none;
    }

    .swiper-button-prev,
    .swiper-button-next {
        position: relative !important;
        width: 30px !important;
        height: 30px !important;
        margin: 0 !important;
        color: #fff !important;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 20px !important;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.swiper-button-prev,
.swiper-button-next {
    display: none;
}

.text-content p {
    font-size: 1rem;
}

.logo-circle {
    width: 40px;
    height: 40px;
} 