* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: Arial, sans-serif;
    background-color: black; 
    background-size: cover;
    color: #333;
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /** padding-left: 20px; */
    background-color: #000;
    color: white;
}


.header-container {
    display: flex;
    justify-content: space-between; 
    width: 100%;
    height: 100vh; 
}


.left-section {
    width: 25%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#header-form-desktop {
    display: flex;
    flex-direction: column;
    align-items: center;  
    gap: 5px; 
    margin-top: auto;
    margin-bottom: auto;
}

#header-form-mobile {
    display: none;
    flex-direction: column;
    align-items: center;  
    gap: 5px; 
    margin-top: auto;  
    margin-bottom: auto;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.logo img {
    max-width: 100%;
    height: auto;
}

.fight-name h2 {
    font-size: 1.5rem;
    margin-top: 10px;
    text-align: center;
}

.watch-form {
    margin-top: 20px;
    text-align: center;
}

.watch-form label {
    display: block;
    margin-bottom: 5px;
}

.watch-form input {
    width: 80%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.watch-form button {
    width: 80%;
    padding: 18px; 
    background-color: black;
    color: white;
    border: 1px solid #f39c12;
    border-radius: 26px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#watch-button:hover {
    background-color: #f39c12;
    color: black;
    border: 2px solid black;
}


.payment-options {
    background-color: orange;
    border-radius: 10px;
    margin: 5px 0 8px 0;
    padding: 10px;
    text-align: center;
    cursor: pointer;
}

.payment-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    cursor: pointer;
}

.payment-btn {
    width: 65px;
    height: 65px;
    background-color: transparent;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.payment-btn img {
    max-width: 100%;
    height: auto;
}

.payment-options p {
    font-size: 0.9rem;
    color: white;
}

.right-section {
    width: 75%;
    padding: 0px;
    text-align: center;
}

.code-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

#hero {
    background-color: #1a1a1a;
    padding: 40px;
    text-align: center;
    color: white;
}

#hero .slider {
    display: flex;
    justify-content: center;
    gap: 10px;
}

#hero img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
}

#hero h1 {
    font-size: 2rem;
    margin-top: 20px;
}

#hero p {
    margin-top: 10px;
    font-size: 1.1rem;
}

#hero #view-all {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #f39c12;
    border: none;
    color: white;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
}

#recent-events {
    padding: 40px;
    text-align: center;
}

#recent-events h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.events-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.event {
    background-color: #333;
    color: white;
    padding: 15px;
    text-align: center;
    border-radius: 5px;
}

/* Combat section */
#combat {
    background-color: #1a1a1a;
    padding: 40px;
    text-align: center;
    color: white;
}

#combat h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

#combat p {
    font-size: 1.1rem;
}

/* Contact section */
#contact {
    padding: 40px;
    text-align: center;
}

#contact h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

#contact p {
    font-size: 1.1rem;
    margin-top: 10px;
}

footer {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, #FF9500 100%);
    color: white;
    padding: 20px;
    padding-top: 120px;
    text-align: center;
}

footer a {
    color: white;
    text-decoration: none;
}



.autres {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 50px;
    padding-right: 0px;
    width: 100%;
    box-sizing: border-box;
    /* background-color: black; */
}

.autres-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
}

.autres-title {
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
}

.arrow-icon {
    font-size: 1.5rem;
    color: white; 
    cursor: pointer;
}

.autres-widget-list {
    display: flex;
    gap: 15px; 
    overflow-x: auto; 
    scroll-behavior: smooth; 
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.autres-widget-list::-webkit-scrollbar {
    display: none; 
}

.autres-widget-list .widget-item {
    flex: 0 0 auto; 
    width: 300px; 
    border-radius: 10px;
    overflow: hidden;
    background-color: transparent;
    color: #fff;
}

.widget-item {
    flex: 0 0 auto;
    width: 200px; 
    border-radius: 10px;
    overflow: hidden;
    background-color: transparent;
    color: #fff;
    gap: 10px;
}


.top-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: all 0.3s ease;
}


.top-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.progress-bar {
    position: absolute;
    bottom: 10px; 
    left: 50%;
    transform: translateX(-50%); 
    height: 6px;
    width: 80%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    background-image: linear-gradient(90deg, #B55904 0%, #FF3E41 100%);
    animation: loading 5s infinite;
    transition: filter 0.3s ease;
}

@keyframes loading {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0 0;
    }
}


.bottom-content {
    text-align: left;
    padding: 5px 10px;
    width: 100%;
}

.item-title {
    font-size: 1rem;
    color: white;
    margin: 0;
    padding: 0;
}


.play-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 1; 
}

.play-btn {
    background-color: transparent;
    border: 2px solid white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.play-btn img {
    width: 20px;
    height: 20px;
}


.widget-item:hover .play-buttons {
    opacity: 1;
}

.widget-item:hover .top-content {
    position: relative;
}

.widget-item:hover .top-content::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, black 100%);
    pointer-events: none;
    z-index: 0;
}


@media screen and (max-width: 768px) {
    .widget-item {
        width: 100%;
        height: auto;
    }
/* 
    .top-content img {
        height: 100%;
    } */
}


.evenements-recentes {
    padding-left: 50px;
    padding-top: 60px;
    padding-bottom: 30px;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(170deg, #090401 24%, #7b2c01 100%);
}

.evenements-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
}

.evenements-title {
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
}

.arrow-icon {
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}


.evenements-widget-list {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 15px;
    padding-bottom: 20px;
}

.evenements-widget-list::-webkit-scrollbar {
    display: none;  
}

.evenements-widget-list .widget-item {
    flex: 0 0 auto; 
    width: 548px; 
    height: 307px; 
    border-radius: 10px;
    overflow: hidden;
    background: #111;
    color: #fff;
}


.widget-item {
    position: relative;
    width: 548px; 
    height: 307px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.top-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: all 0.3s ease;
}

.top-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.progress-bar {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    height: 6px;
    width: 80%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    background-image: linear-gradient(90deg, #B55904 0%, #FF3E41 100%);
    animation: loading 5s infinite;
}

@keyframes loading {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0 0;
    }
}


.bottom-content {
    text-align: left;
    padding: 5px 10px;
    width: 100%;
}

.item-title {
    font-size: 1rem;
    color: white; 
    margin: 0;
    padding: 0;
}


.play-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 1;
}

.play-btn {
    background-color: transparent;
    border: 2px solid white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.play-btn img {
    width: 20px;
    height: 20px;
}

.widget-item:hover .play-buttons {
    opacity: 1;
}

.widget-item:hover .top-content {
    position: relative;
}

.widget-item:hover .top-content::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, black 100%);
    pointer-events: none;
    z-index: 0; 
}

.widget-item:hover {
    opacity: 1;
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 768px) {
    .widget-item {
        width: 100%;
        height: auto;
    }

    /* .top-content img {
        height: 150px;
    } */
}

.spectacles {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background: linear-gradient(135deg, #290f00 15%, #64342d 100%);
    color: white;
    box-sizing: border-box;
    gap: 20px;
}


.spectacles-content {
    width: 33.33%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
    height: 100%;
    padding-left: 10px;
    box-sizing: border-box;
}

.spectacles-content h2 {
    font-size: 2rem;
    font-weight: bold;
}

.spectacles-content p {
    font-size: 1rem;
    margin: 0;
}

.view-all-btn {
    padding: 10px 20px;
    background-color: rgba(255, 149, 0, 1);
    color: white;
    border: none;
    border-radius: 26px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.view-all-btn:hover {
    background-color: rgba(255, 130, 0, 1);
}

.spectacles-list {
    width: 66.67%;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}


.spectacles-list::-webkit-scrollbar {
    display: none;
}

.spectacles-list .widget-item {
    width: 200px;
    height: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.spectacles-list .widget-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.spectacles-list .widget-item:hover {
    opacity: 0.9;
    cursor: pointer;
}


.spectacles-list .widget-item .top-content .play-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 1;
}

.spectacles-list .widget-item .top-content .play-buttons .play-btn {
    background-color: transparent;
    border: 2px solid white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.spectacles-list .widget-item .top-content .play-buttons .play-btn img {
    width: 20px;
    height: 20px;
}

.spectacles-list .widget-item.widget-item:hover .play-buttons {
    opacity: 1;
}



.customer-service {
    display: flex;
    justify-content: space-between;
    padding-top: 100px;
    padding-left: 180px;
    padding-right: 180px;
    /* background-color: #090401;  Background color */
    color: white;
}

.customer-service-content {
    display: flex;
    gap: 20px;
    width: 100%;
}

.service-info {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
}

.service-info h2 {
    font-size: 1.8rem;
    font-weight: bold;
}

.service-info p {
    font-size: 1rem;
    margin: 0;
}

.contact-btn {
    padding: 10px 20px;
    background-color: rgba(255, 149, 0, 1);
    color: white;
    border: none;
    border-radius: 26px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background-color: rgba(255, 130, 0, 1);
}

.service-image {
    width: 50%;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}
.service-image img {
    width: 360px;
    height: 360px;
    border-radius: 10px;
    object-fit: cover;
}
.service-info a {
    color: white;
    text-decoration: none;
}

.service-info a:hover {
    text-decoration: underline;
}

#code {
    font-size: 22px;
    text-align: center;
    padding: 16px;
  }

  #code::placeholder {
    text-align: center;
    font-size: 20px;
  }

  
@media screen and (max-width: 768px) {
    /* Header */
    .header-container {
        flex-direction: column;
        align-items: center;
    }

    .left-section, .right-section {
        width: 100%;
        text-align: center;
    }

    .right-section {
        margin-top: 20px;
    }

    .watch-form input, .watch-form button {
        width: 90%;
    }

    .payment-buttons {
        justify-content: center;
        gap: 20px;
    }

    .payment-btn {
        width: 30px;
        height: 30px;
    }

    #hero .slider {
        flex-direction: column;
    }

    .events-list {
        grid-template-columns: repeat(2, 1fr);
    }

    #combat h2 {
        font-size: 1.5rem;
    }

    #contact h2 {
        font-size: 1.5rem;
    }

    footer {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    /* Header */
    .watch-form input, .watch-form button {
        width: 100%;
    }

    .payment-buttons {
        flex-direction: column;
    }

    .payment-btn {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }

    .events-list {
        grid-template-columns: 1fr;
    }

    #hero img {
        max-width: 100%;
    }
}

/* Desktop / TV */
@media screen and (min-width: 1200px) {
    /* .autres-widget-list .widget-item,
    .spectacles-list .widget-item,
    .evenements-widget-list .widget-item {
        width: 280px;
        height: 400px;
    } */

    /* Hover zoom effect */
    /* .autres-widget-list .widget-item:hover,
    .spectacles-list .widget-item:hover,
    .evenements-widget-list .widget-item:hover {
        transform: scale(1.15);
        z-index: 10;
    } */
}

/* Desktop large / Laptop */
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .autres-widget-list .widget-item,
    .spectacles-list .widget-item,
    .evenements-widget-list .widget-item {
        width: 240px;
        height: 350px;
    }

    /* .autres-widget-list .widget-item:hover,
    .spectacles-list .widget-item:hover,
    .evenements-widget-list .widget-item:hover {
        transform: scale(1.1);
        z-index: 10;
    } */
}

/* Tablette */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .autres-widget-list .widget-item,
    .spectacles-list .widget-item,
    .evenements-widget-list .widget-item {
        width: 200px;
        height: 300px;
    }

    /* .autres-widget-list .widget-item:hover,
    .spectacles-list .widget-item:hover,
    .evenements-widget-list .widget-item:hover {
        transform: scale(1.05);
        z-index: 5;
    } */
}

/* Mobile / Petit écran */
@media screen and (max-width: 767px) {
    .autres-widget-list,
    .spectacles-list,
    .evenements-widget-list {
        padding-left: 10px;
        padding-right: 10px;
        gap: 8px;
    }

    .autres-widget-list .widget-item,
    .spectacles-list .widget-item,
    .evenements-widget-list .widget-item {
        width: 140px;
        height: 200px;
        margin-right: 10px;
    }

    /* Désactiver hover zoom sur mobile */
    .autres-widget-list .widget-item:hover,
    .spectacles-list .widget-item:hover,
    .evenements-widget-list .widget-item:hover {
        transform: none;
    }

    
    
    
    .customer-service {
        padding: 40px 20px;
    }

    .customer-service-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .service-image {
        width: 100%;
        margin-bottom: 20px;
    }

    .service-image img {
        width: 80%;
        height: auto;
    }

    .service-info {
        width: 100%;
    }

    .service-info h2 {
        font-size: 1.5rem;
    }

    .service-info p {
        font-size: 1rem;
    }

    .contact-btn {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
    }

    /** bloc paiement mobile  */
    .payment-options {
        width: 100%;
        padding: 20px 10px;
        box-sizing: border-box;
        text-align: center;
    }

    .payment-buttons {
        display: flex; 
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: nowrap;
        width: 100%;
        gap: 15px;     
    }

    .payment-btn {
        width: 60px;
        height: 60px;
    }

    .payment-options p {
        font-size: 1rem;
    }

    /** header bloc */
    .header-container {
        flex-direction: column;
        align-items: center;
    }

    #header-form-desktop {
        display: none;
    }

    #header-form-mobile {
        display: block;
        width: 95%;
        text-align: center;
        margin-top: 15px;
    }

    .right-section {
        width: 100%;
        text-align: center;
        margin: 15px 0;
    }

    .logo {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

    /** section autres */
    .autres {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }

    .autres-widget-list {
        gap: 10px;
    }

    .autres-widget-list .widget-item {
        width: 65%;
        flex: 0 0 auto;
    }

    /** section evenements */
    .evenements-recentes {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }

    .evenements-widget-list {
        gap: 0px;
    }

    .evenements-widget-list .widget-item {
        width: 100%;
        flex: 0 0 auto;
    }

    /** spectacles */
    .spectacles {
        flex-direction: column;
        padding: 20px 10px;
    }

    .spectacles-content,
    .spectacles-list {
        width: 100%; 
        margin-bottom: 20px; 
    }

    .spectacles-list {
        overflow-x: auto; 
        gap: 10px; 
    }

    .spectacles-list .widget-item {
        flex: 0 0 auto;
        width: 200px;  
    }

    /** customer service */
    .customer-service-content {
        flex-direction: column-reverse;
        align-items: center;
        padding: 20px;
    }

    .service-info,
    .service-image {
        width: 100%; 
        text-align: center;
        margin-bottom: 20px;
    }

    .service-image img {
        width: 100%;
        height: auto;
        max-width: 360px;
        margin: 0 auto; 
    }

    .service-info h2 {
        font-size: 1.5rem;
    }

    .service-info p {
        font-size: 1rem; 
    }
}

/* Ultra petit écran */
@media screen and (max-width: 480px) {
    .payment-buttons {
        gap: 10px;
    }

    .payment-btn {
        width: 50px;
        height: 50px;
    }

    .payment-options p {
        font-size: 0.9rem;
    }

}

.autres-widget-list,
.spectacles-list,
.evenements-widget-list {
    scroll-snap-type: x mandatory;
}

.autres-widget-list .widget-item,
.spectacles-list .widget-item,
.evenements-widget-list .widget-item {
    scroll-snap-align: start;
}

.autres-widget-list,
.spectacles-list,
.evenements-widget-list {
    scroll-behavior: smooth;
}
