@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&display=swap');

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    min-height: stretch;
    line-height: 1;
    background-color: #020613;
    color: #fff;

    font-family: 'Play', sans-serif;
    font-family: 'Roboto', sans-serif;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    display: flex;
    align-items: end;
    justify-content: flex-end;
    padding: 1rem;
}

a {
    background-color: transparent;
    text-decoration: none;
    color: inherit;
    outline: none;
}

h3 {
    text-align: center;
}

img {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    width: 100%;
}

p.center {
    text-align: center;
}

.site-header {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
}

.site-header-logo {
    width: 340px;
    padding: 1rem;
}

.duo-cover {
    position: relative;
    overflow: hidden;
}

.duo-cover-bg video {
    width: 100%;
    object-fit: cover;
}

.du-wrapper-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1rem 0;
    justify-content: center;
    align-items: center;
}

.du-wrapper-buttons .btn {
    margin-bottom: 0.5rem;
}

.du-cover-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.du-cover-overlay .logo {
    max-width: 600px;
    transform: translateY(-100px);
}

.du-cover-note-info {
    background: linear-gradient(to right, transparent, #000000c2, transparent);
    padding: 0.5rem;
}

.du-cover-note-info p {
    text-shadow: 2px 2px 4px #000;
    text-align: center;
    line-height: 1.5;
}

.du-cover-overlay .btn {
    max-width: 400px;
}

.btn {
    display: flex;
    flex-direction: row;

    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    padding: 1rem;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    width: 100%;

    align-items: center;
    justify-content: center;
}

.btn:hover {
    text-decoration: none;
}

.btn img {
    width: 32px;
    margin: 0 1rem;
}

.du-button {
    border: 2px solid;
    border-radius: 30px;
    border-color: #45494C;
    background-image: url('img/btn/btn_normal_bg.webp');
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.du-button:hover, .du-button.active {
    border-color: #FFF;
    box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.4);
    background-image: url('img/btn/btn_hover_bg.webp');
}

/* Animated star */
.du-button:hover::before, .du-button.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 1;
    border-radius: inherit;
    background-position: center;
    background-size: 20%;
    background-repeat: repeat;
    background-image: url('img/btn/btn_particle_bg.webp');
    animation: move-stars 20s linear infinite;
}

.du-btn-lang {
    width: 300px;
} 

/* Footer  */
.du-site-footer {
    padding: 3rem;
    background-color: #2c303c;
}

a[href].hover-opacity {
    transition: opacity .3s;
}

a[href].hover-opacity:hover {
    opacity: 0.5;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.du-site-footer-sns-title h3 {
    font-size: 1.8em;
}

.du-site-footer-sns-button {
    display: block;
    width: 32px;
    margin: 0.5rem;
}

.du-site-footer-sns {
    display: flex;
    justify-content: center;
    align-items: center;
}

.du-site-footer-cmn-text {
    padding: 1rem 0;
    text-align: center;
}

.du-site-footer-cmn-text img {
    width: 32px;
}

.du-site-footer-center {
    display: flex;
    justify-content: center;
}

.du-inline-ic-text{
    display: flex;
    align-items: center;
    gap: 10px;
}

.alpha-footer-bar {
    width: 100%;
    height: 10px;
    background: linear-gradient(135deg, #48b9ff, #c4dbff, #0d69ff);
}

.mini-bar {
    height: 1px;
}

.mobile-logo {
    width: 100%;
    position: absolute;
    top: 0;
}

.mobile-logo a {
    display: block;
}

.du-tribal-separator {
    width: 100%;
    height: 12px;
    background-image: url('img/tribal_line_separator.webp');
    background-size: contain;
    background-repeat: repeat-x;
}

.du-section-feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: 800px;
    color: #fff;
}

.du-section-feature.small {
    height: auto;
}

/* Fond de couleur dégradé transparent vers la droite */
.du-section-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0,0.4));
    z-index: 1;
}

/* Ajout d'une image de fond pour la section */
.du-section-feature {
    background-color: #000;
    /* Couleur de base de secours */
    background-size: cover;
    background-position: center;
}

/* Feature */
.du-section-feature-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    max-width: 50%;
    height: 100%;
}

.du-section-feature-content.full{
    width: 100%;
    max-width: 100%;
}

.du-section-feature-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    padding: 1.5rem 6rem;
    margin-top: 6rem;
    margin-bottom: 5rem;
    text-shadow: 2px 2px 4px #ffffff56;
    background-image: url('img/h2_bg.webp');
    background-size: cover;
    background-position: center;
}

.du-section-feature-content h2.center {
    background-image: none;
    text-align: center;
    width: 100%;
}

.du-section-feature-content div {
    padding: 1rem 6rem;
    background: linear-gradient(to right, rgba(47, 99, 255, 0.18), rgba(0, 0, 0, 0));
}

.du-section-feature-content div.secondary {
    background: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.du-section-feature-content p {
    font-size: 1.6em;
    line-height: 1.5;
    opacity: 0.9;
    text-shadow: 2px 2px 4px #000;
}


.du-section-align-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.du-section-align-right::before {
    background: linear-gradient(to left, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
}

.du-section-align-right .du-section-feature-content div {
    background: linear-gradient(to left, rgba(47, 99, 255, 0.18), rgba(0, 0, 0, 0));
}


.du-section-align-right .du-section-feature-content h2 {
    background-image: url('img/h2_left_bg.webp');
}


@keyframes move-stars {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: -100% -100%;
    }
}

/* Style général pour le conteneur du dropdown */
.du-dropdown {
    position: relative;
    display: inline-block;
}

.du-dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
}

.du-dropdown-content a {
    color: #FFF;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.du-dropdown-content a:hover {
    background: linear-gradient(to right, rgba(140, 222, 255, 1), rgb(4, 108, 255));
}

.du-dropdown.active .du-dropdown-content {
    display: block;
}


@media only screen and (max-width: 768px) {
    .is-pc {
        display: none;
    }

    .is-mobile {
        display: block;
    }

    #game-cover {
        scale: 2;
    }

    .du-cover-overlay .logo {
        padding-top: 1rem;
        width: 80%;
        transform: translateY(-10px);
    }

    .du-btn-lang {
        width: auto;
    }

    .duo-cover-bg {
        display: flex;
        justify-content: center;
        width: auto;
        height: 600px;
    }

    .du-cover-overlay {
        width: 100%;
    }

    /* Feature */
    .du-section-feature-content {
        max-width: 100%;
    }

    .du-section-feature-content div {
        padding: 1rem;
        background: linear-gradient(to right, rgba(47, 99, 255, 0.44), rgba(70, 115, 142, 0.47));
    }

    .du-section-align-right .du-section-feature-content div {
        background: linear-gradient(to left, rgba(47, 99, 255, 0.44), rgba(70, 115, 142, 0.47));
    }

    .du-section-feature-content h2 {
        font-size: 2em;
        padding: 1rem;
        text-align: center;
    }

    .du-section-feature-content p {
        font-size: 1.4em;
    }
}