
body {
    margin: 0;
    font-family: system-ui, Arial, sans-serif;
    background: black;
    color: #fff;
    overflow-x: hidden;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

main.sims-layout {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    color: white;
}


header {
    height: 80px;
    background: linear-gradient(135deg, #4db745, #3fa03a);
    display: flex;
    justify-content: center; 
    align-items: center;    
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* NAV */
header nav {
    width: 100%;
    display: flex;
    justify-content: center;
}


.menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}


.menu a {
    color: white;
    font-weight: 600;
    text-decoration: none;
    position: relative;
}


.menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    transition: 0.3s ease;
    transform: translateX(-50%);
}

.menu a:hover::after {
    width: 100%;
}


/* FOOTER */
footer {
    background: #4db745;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 3rem;
    z-index: 10;
    position: relative;
}

footer .menu {
    display: flex;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
}

footer .menu li a {
    color: white;
    text-decoration: none;
}

footer .menu li a:hover {
    opacity: 0.8;
}

html, body { 
    cursor: url('../images/s4normal.cur') 16 16, default; 
} 

a, a:hover, a:focus,
 .menu a, 
 button, 
 input[type="submit"], 
 input[type="button"], 
 select, 
 [data-clickable], 
 [role="button"] { 
    cursor: url('../images/s4link.cur') 16 16, pointer;
 } 
 table th, 
 table td { 
    cursor: url('../images/s4link.cur') 16 16, pointer; 
} 
.dataTables_wrapper th, 
.dataTables_wrapper td { 
    cursor: url('../images/s4link.cur') 16 16, pointer !important; 
}


.home-layout {
    display: flex;
    align-items: center;     
    justify-content: center;  
    gap: 40px;               
    width: 100%;
} 


.top-zone {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}


.left-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex: 0 0 240px;
}

.left-block .main-image {
    width: 100%;
    aspect-ratio: 9/16;
    overflow: hidden;
    border-radius: 12px;
}

.left-block video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.moodlet img {
    width: 200px;
    border-radius: 8px;
}


.middle-block {
    flex: 1; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 400px;
    padding: 0 1rem;
}

.middle-block p {
    line-height: 1.5;
    text-align: justify;
}


.right-block {
    flex: 0 0 420px; 
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.right-block .content-video {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    object-fit: cover;
}

.content-text h2 {
    margin: 0.5rem 0;
    text-align: center;
}

.content-text p {
    text-align: justify;
    line-height: 1.4;
}


.posters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
}

.posters img {
    width: 100%;        
    height: auto;        
    max-height: 100%;    
    border-radius: 12px;
    display: block;
    object-fit: cover;    
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 0 #4db745) brightness(0.8);
}

.posters img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 4px 4px #4db745;
    filter: none;
}


.button-container {
    text-align: center;
    margin: 3rem 0;
}


.green-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background-color: #4db745;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 0 8px rgba(255,255,255,0); 
    transition: all 0.3s ease;
}

.green-button:hover {
    box-shadow: 0 0 12px 4px rgba(255,255,255,0.6);
    transform: translateY(-2px);
}


@media (max-width: 900px) {
    .top-zone {
        flex-direction: column;
        align-items: center;
    }

    .left-block {
        flex-direction: row;
        gap: 1.5rem;
    }

    .main-image {
        width: 180px;
    }

    .moodlet {
        width: 50px;
    }

    .posters {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .left-block {
        flex-direction: column;
        align-items: center;
    }

    .main-image {
        width: 140px;
    }

    .moodlet {
        width: 40px;
    }

    .posters {
        grid-template-columns: 1fr;
    }
}




body.page-donnees {
    background-color: black;
    color: #fff;
    font-family: system-ui, Arial, sans-serif;
}

.page-donnees h1 {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.page-donnees p {
    text-align: center;
    margin-bottom: 2rem;
    color: #ccc;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}


#sims_wrapper {
    max-width: 1150px;
    margin: 0 auto 3rem auto;
    padding: 1rem;
    background: #111; 
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

#sims {
    width: 100% !important;
    border-collapse: collapse;
    font-size: 0.9rem;
}

#sims thead th {
    background-color: #4db745;
    color: #fff;
    font-weight: 600;
    padding: 10px;
    text-align: center;
}

#sims tbody td {
    padding: 8px;
    text-align: center;
    color: #eee;
}

#sims tbody tr:nth-child(even) {
    background-color: rgba(255,255,255,0.05);
}

/* Boutons DataTables (export) */
.dt-button {
    background-color: #4db745 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px;
    padding: 6px 12px !important;
    margin: 2px !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dt-button:hover {
    box-shadow: 0 0 10px #fff;
}


.dataTables_filter input {
    background-color: #222;
    color: #fff;
    border: 1px solid #4db745;
    border-radius: 6px;
    padding: 4px 8px;
}


.dataTables_paginate .paginate_button {
    color: #fff !important;
    background-color: #222 !important;
    border-radius: 6px;
    margin: 2px;
    padding: 4px 8px;
    cursor: pointer;
}

.dataTables_paginate .paginate_button.current {
    background-color: #4db745 !important;
    color: #fff !important;
}

.dataTables_paginate .paginate_button:hover {
    background-color: #4db745 !important;
    color: #fff !important;
}


@media (max-width: 900px) {
    #sims_wrapper {
        padding: 0.5rem;
    }
    #sims thead th,
    #sims tbody td {
        font-size: 0.8rem;
        padding: 6px;
    }
    .dt-button {
        padding: 4px 8px !important;
        font-size: 0.8rem !important;
    }
}


body.page-donnees footer {
    background: #4db745;
    color: white;
    text-align: center;
    padding: 1rem !important;      
    margin-top: 3rem !important;
    font-size: 1rem !important;   
    line-height: 1.5 !important;
}



.galerie {
    display: grid;
    grid-template-columns: repeat(3, minmax(50px, 1fr)); 
    gap: 1rem;
    margin-top: 2rem;
}

.galerie h1 {
    text-align: center;
}

.galerie-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.galerie-item img {
    width: 100%;
    aspect-ratio: 1 / 1; 
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.galerie-item:hover img {
    transform: scale(1.05);
}


.galerie-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem;
    background: rgba(0,0,0,0.6);
    color: #fff;
    text-align: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.galerie-item:hover .overlay {
    opacity: 1;
    transform: translateY(0);
}


.upload-form {
    margin-top: 3rem;
    text-align: center;
}

.upload-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.upload-form input[type="file"] {
    margin-bottom: 1rem;
}

.upload-form input[type="submit"] {
    background-color: #4db745;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(255,255,255,0);
}

.upload-form input[type="submit"]:hover {
    box-shadow: 0 0 12px 4px rgba(255,255,255,0.6);
    transform: translateY(-2px);
}



body {
    background: black;
    color: white;
    font-family: system-ui, Arial, sans-serif;
}


.contact-section {
    max-width: 650px;
    margin: 3rem auto;
    padding: 2rem;
    background: #111;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.contact-section h1 {
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.en-tete {
    display: flex;
    gap: 1rem;
}

.champ {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.champ label {
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.champ label span {
    color: #4db745;
}

.champ input,
.champ textarea {
    background: #222;
    border: 1px solid #4db745;
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    color: white;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.champ input:focus,
.champ textarea:focus {
    outline: none;
    box-shadow: 0 0 10px #66ff77;
    border-color: #66ff77;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.radio-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
}

.radio-item input {
    accent-color: #4db745;
    cursor: pointer;
}

input[type="submit"] {
    margin: 1.5rem auto 0;
    padding: 0.8rem 2.4rem;
    font-size: 1rem;
    color: white;
    background: #4db745;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 rgba(255,255,255,0);
}

input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 16px rgba(255,255,255,0.6);
}

.popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: #111;
    padding: 2rem;
    border-radius: 14px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 0 30px rgba(0,0,0,0.9);
}

.popup-content button {
    margin-top: 1rem;
    background: #4db745;
    border: none;
    color: white;
    padding: 0.6rem 2rem;
    border-radius: 999px;
    cursor: pointer;
}


@media (max-width: 600px) {
    .en-tete {
        flex-direction: column;
    }

    .radio-group {
        flex-direction: column;
        gap: 0.6rem;
    }
}


@media (max-width: 600px) {
    .contact-form .row {
        flex-direction: column;
    }

    .contact-form input[type="submit"] {
        width: 100%;
    }
}


.partners-container {
   display: flex;
   flex-direction: column;
   gap: 3rem;
   margin: 2rem 0;
}


.partner-block {
   position: relative;
   width: 100%;
   max-width: 1080px;
   margin: 2rem auto;
   border: 3px solid #00ffea;
   border-radius: 20px;
   overflow: hidden;
   box-shadow: 0 0 20px #00ffea;
   height: 400px;
}

.partner-banner {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%; 
   background-size: cover;
   background-position: center;
   z-index: 0; 
}


.partner-photo {
   width: 120px;
   height: 120px;
   object-fit: cover;
   border-radius: 50%;
   border: 3px solid #00ffea;
   position: relative; 
   top: 20px; 
   left: 50%;
   transform: translateX(-50%);
   z-index: 2;
}


.partner-info {
   background-color: rgba(255,255,255,0.8); 
   padding: 80px ; 
   text-align: center;
   position: relative;
   z-index: 1;
   margin-top: -60px; 
   border-radius: 0 0 20px 20px; 
}


.partner-info h2 {
   font-family: 'DynaPuff', sans-serif;
   margin: 0 0 0.3rem 0;
   font-size: 2rem;
   color: #222;
}


.partner-info h3 {
   font-size: 1rem;
   margin: 0 0 0.5rem 0;
   font-weight: 400;
   color: #555;
}


.partner-info p {
   font-size: 0.9rem;
   margin-bottom: 1rem;
   color: #333;
}


.partner-link {
   display: inline-block;
   padding: 0.5rem 1rem;
   background-color: #00ffea;
   color: #000;
   text-decoration: none;
   border-radius: 10px;
   font-weight: bold;
   transition: all 0.3s;
}


.partner-link:hover {
   background-color: #ffffff;
   box-shadow: 0 0 10px #ffffff;
}


#barbie{
   border: 3px solid hotpink;
   box-shadow: 0 0 20px hotpink;
}


#barbie .partner-photo{
   border: 3px solid hotpink;
}


#barbie .partner-link{
   background-color: hotpink;
}


#laylow{
   border: 3px solid limegreen;
   box-shadow: 0 0 20px limegreen;
}


#laylow .partner-photo{
   border: 3px solid limegreen;
}


#laylow .partner-link{
   background-color: limegreen;
}

#kpop{
   border: 3px solid hotpink;
   box-shadow: 0 0 20px hotpink;
}


#kpop .partner-photo{
   border: 3px solid hotpink;
}


#kpop .partner-link{
   background-color: hotpink;
}

#sims{
   border: 3px solid limegreen;
   box-shadow: 0 0 20px limegreen;
}


#sims .partner-photo{
   border: 3px solid limegreen;
}


#sims .partner-link{
   background-color: limegreen;
}

.credits-page {
    max-width: 600px;
    margin: 3rem auto;
    text-align: center;
    padding: 0 1rem;
}

.credits-page h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}


.credit-block {
    border: 2px solid #4db745;   
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    background-color: rgba(255,255,255,0.05); 
    transition: all 0.3s ease;
}

.credit-block:hover {
    border-color: #66ff77;
    background-color: rgba(255,255,255,0.1);
}

.credit-block p {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.credit-block a {
    display: inline-block;
    text-decoration: none;
    color: #4db745;
    font-weight: bold;
    border: 1px solid #4db745;
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    transition: all 0.3s ease;
}

.credit-block a:hover {
    background-color: #4db745;
    color: black;
    box-shadow: 0 0 8px #4db745;
}

.truc-container {
    display: flex;
    justify-content: center;  
    gap: 1rem;              
    flex-wrap: wrap;          
    margin-top: 2rem;
}

.truc {
    display: inline-block;
    text-decoration: none;
    color: #4db745;
    font-weight: bold;
    border: 2px solid #4db745;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.truc:hover {
    background-color: #4db745;
    color: black;
    box-shadow: 0 0 8px #4db745;
}