/* ===================== */
/* Reset & Body          */
/* ===================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #120d0f;
    color: #f0f0f0;
    width: 100%;
    min-height: 100vh;
}

/* Verrouille le scroll tant que la modale 18+ est active */
body.locked {
    overflow: hidden;
    height: 100vh;
}

/* ===================== */
/* Hero (100vh)          */
/* ===================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#HeroBack {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(12, 8, 10, 0.82) 0%, rgba(12, 8, 10, 0.9) 100%);
    z-index: 1;
}

/* ===================== */
/* Navbar                */
/* ===================== */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    z-index: 30;
}

.nav-logo {
    display: flex;
    align-items: baseline;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ff2b63;
    display: inline-block;
    margin-right: 6px;
    align-self: center;
}

.nav-horny {
    color: #ffffff;
}

.nav-spot {
    color: #ff2b63;
    text-transform: lowercase;
    font-weight: 700;
    margin-left: 2px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-login {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    cursor: pointer;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-login:hover {
    color: #ff2b63;
}

/* ===================== */
/* Language menu         */
/* ===================== */
.nav-lang {
    position: relative;
}

.nav-lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 7px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.nav-lang-toggle:hover {
    border-color: #ff2b63;
    background: rgba(255, 43, 99, 0.15);
}

.nav-lang-toggle .globe { font-size: 0.95rem; }
.nav-lang-toggle .caret { font-size: 0.7rem; opacity: 0.8; }

.nav-lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    list-style: none;
    background: #1a1013;
    border: 1px solid rgba(255, 43, 99, 0.3);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
    padding: 8px;
    width: 210px;
    max-height: 340px;
    overflow-y: auto;
    display: none;
    z-index: 60;
}

.nav-lang-menu.open { display: block; }

[dir="rtl"] .nav-lang-menu { right: auto; left: 0; }

.nav-lang-menu li { margin: 0; }

.nav-lang-menu a {
    display: block;
    padding: 9px 12px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}

.nav-lang-menu a:hover {
    background: rgba(255, 43, 99, 0.16);
    color: #fff;
}

.nav-lang-menu a.active {
    color: #ff2b63;
    font-weight: 700;
}

/* Scrollbar du menu */
.nav-lang-menu::-webkit-scrollbar { width: 8px; }
.nav-lang-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 43, 99, 0.4);
    border-radius: 8px;
}

/* ===================== */
/* Hero Text             */
/* ===================== */
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 20;
    width: 90%;
    max-width: 640px;
}

.hero-text .hero-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.15;
    letter-spacing: 1px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.hero-text p {
    margin-top: 14px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
    padding: 15px 40px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #ff2b63, #d0114a);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 8px 30px rgba(255, 43, 99, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    animation: ctaPulse 2.2s ease-in-out infinite;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 36px rgba(255, 43, 99, 0.55);
}

.hero-cta .arrow { font-size: 1.25rem; }

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(255, 43, 99, 0.4); }
    50% { box-shadow: 0 8px 30px rgba(255, 43, 99, 0.7); }
}

/* ===================== */
/* Disclaimer Modal      */
/* ===================== */
#Disclaimer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 6, 8, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 100;
}

#Disclaimer.hidden {
    display: none;
}

.disc-content {
    background: linear-gradient(165deg, #241318 0%, #1a1013 55%, #150d10 100%);
    border: 1px solid rgba(255, 43, 99, 0.35);
    border-radius: 18px;
    box-shadow:
        0 12px 50px rgba(0, 0, 0, 0.6),
        0 0 70px rgba(255, 43, 99, 0.12);
    padding: 40px 38px 34px;
    max-width: 460px;
    width: 90%;
    text-align: center;
    animation: popIn 0.4s ease-out;
}

/* Logo dans la modale */
.disc-logo {
    display: flex;
    align-items: baseline;
    justify-content: center;
    font-size: 1.7rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 22px;
}

/* Textes (uniquement des <p>) */
.disc-badge {
    font-size: 1.35rem;
    font-weight: 900;
    color: #ff2b63;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.disc-text {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    line-height: 1.6;
}

.disc-question {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 22px 0;
}

/* Confirm Button */
.disc-confirm {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #ff2b63, #d0114a);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.disc-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 43, 99, 0.45);
}

.disc-confirm .arrow {
    font-size: 1.3rem;
}

/* Leave link */
.disc-leave {
    margin-top: 18px;
}

.disc-leave span {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}

.disc-leave span:hover {
    color: #fff;
}

/* ===================== */
/* Animation             */
/* ===================== */
@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===================== */
/* Content (below 100vh) */
/* ===================== */
.content {
    position: relative;
    z-index: 2;
    background: #120d0f;
}

article {
    max-width: 820px;
    margin: 0 auto;
    padding: 60px 22px 80px;
    color: #ddd;
    line-height: 1.8;
}

article h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ff2b63, #ff8fa9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

article h2 {
    font-size: 1.5rem;
    margin: 34px 0 16px;
    color: #ff2b63;
}

article h3 {
    font-size: 1.2rem;
    margin: 26px 0 12px;
    color: #ff8fa9;
}

article p {
    margin-bottom: 16px;
    color: #ccc;
}

article strong {
    color: #fff;
}

article ul, article ol {
    margin: 16px 0;
    padding-left: 24px;
}

article li {
    margin-bottom: 8px;
    color: #ccc;
}

article blockquote {
    border-left: 3px solid #ff2b63;
    padding: 12px 20px;
    margin: 20px 0;
    background: rgba(255, 43, 99, 0.06);
    border-radius: 0 8px 8px 0;
}

article table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

article th, article td {
    padding: 12px;
    border: 1px solid #3a2028;
    text-align: left;
}

article th {
    background: #2a151b;
    color: #fff;
}

article td {
    color: #ccc;
}

article a {
    color: #ff8fa9;
}

/* ===================== */
/* Language footer       */
/* ===================== */
.lang-footer {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 22px 70px;
    border-top: 1px solid #2a151b;
}

.lang-footer p {
    color: #9a8890;
    font-size: 0.9rem;
    margin: 34px 0 16px;
}

.lang-footer ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 0;
}

.lang-footer a {
    color: #c9a9b3;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.15s;
}

.lang-footer a:hover { color: #ff2b63; }
.lang-footer a.active { color: #ff2b63; font-weight: 700; }

/* ===================== */
/* RTL adjustments       */
/* ===================== */
[dir="rtl"] article,
[dir="rtl"] .lang-footer { text-align: right; }

[dir="rtl"] article ul,
[dir="rtl"] article ol { padding-left: 0; padding-right: 24px; }

[dir="rtl"] article blockquote {
    border-left: none;
    border-right: 3px solid #ff2b63;
    border-radius: 8px 0 0 8px;
}

/* ===================== */
/* Responsive            */
/* ===================== */
@media screen and (max-width: 600px) {
    .nav-right { gap: 10px; }
    .nav-lang-toggle { padding: 6px 9px; font-size: 0.78rem; }
    .nav-lang-toggle .cur { max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .nav-lang-menu { width: 190px; }

    .navbar {
        padding: 14px 16px;
    }

    .nav-logo {
        font-size: 1.25rem;
    }

    .hero-text .hero-title {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .disc-content {
        padding: 32px 22px 28px;
        margin: 16px;
    }

    .disc-badge {
        font-size: 1.15rem;
    }

    .disc-text {
        font-size: 0.85rem;
    }

    .disc-confirm {
        padding: 14px 0;
        font-size: 1rem;
    }
}
