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

html {
    scroll-behavior: smooth;
}

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

/* While the age gate is up, the page cannot be scrolled */
body.locked {
    overflow: hidden;
    height: 100vh;
}

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

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

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(20, 6, 15, 0.35) 0%, rgba(20, 6, 15, 0.65) 100%);
    z-index: 1;
}

/* Scroll hint at the bottom of the hero */
.scroll-hint {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    animation: bob 1.8s ease-in-out infinite;
}

.scroll-hint .chev {
    display: block;
    font-size: 1.4rem;
    margin-top: 4px;
}

@keyframes bob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    direction: ltr; /* keep brand name order in RTL locales */
}

.nav-planet {
    font-size: 1.3rem;
    margin-right: 5px;
    filter: drop-shadow(0 0 6px rgba(255, 45, 120, 0.6));
}

.nav-mature {
    color: #ff2d78;
}

.nav-word {
    color: #fff;
}

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

.nav-login {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 8px 18px;
    border: 1.5px solid rgba(255, 45, 120, 0.7);
    border-radius: 30px;
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-login:hover {
    background: #ff2d78;
    border-color: #ff2d78;
    color: #fff;
}

/* ===================== */
/* Language Switcher     */
/* ===================== */
.lang-switch {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.28);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    padding: 7px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.2s, background 0.2s;
}

.lang-btn:hover {
    border-color: #ff2d78;
}

.lang-caret {
    font-size: 0.7rem;
    opacity: 0.8;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 2px;
    background: #1c0c16;
    border: 1px solid #3a1f30;
    border-radius: 12px;
    padding: 8px;
    max-height: 60vh;
    overflow-y: auto;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
    z-index: 60;
}

.lang-switch:hover .lang-menu,
.lang-switch:focus-within .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu a {
    display: block;
    padding: 8px 12px;
    color: #e6d5df;
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 8px;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.lang-menu a:hover {
    background: rgba(255, 45, 120, 0.15);
    color: #fff;
}

.lang-menu a.active {
    background: #ff2d78;
    color: #fff;
    font-weight: 700;
}

/* RTL support */
[dir="rtl"] .lang-menu {
    right: auto;
    left: 0;
}

[dir="rtl"] article {
    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 #ff2d78;
    border-radius: 8px 0 0 8px;
}

[dir="rtl"] article th,
[dir="rtl"] article td {
    text-align: right;
}

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

#Disclaimer.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.disc-content {
    position: relative;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    padding: 40px 42px 30px;
    max-width: 470px;
    width: 100%;
    text-align: center;
    animation: popIn 0.4s ease-out;
}

/* Logo */
.disc-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 26px;
    direction: ltr; /* keep brand name order in RTL locales */
}

.logo-mature {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: #c2185b;
    letter-spacing: -0.5px;
}

.logo-planet {
    font-family: 'Kaushan Script', 'Segoe Script', cursive;
    font-size: 1.9rem;
    color: #1a1a2e;
    margin-left: -2px;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
}

/* Title */
.disc-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #24304f;
    line-height: 1.35;
    margin-bottom: 22px;
}

/* Separator */
.disc-sep {
    border: none;
    border-top: 1px solid #e6e8ef;
    margin: 0 0 22px;
}

/* Emphasis line */
.disc-strong {
    font-size: 1.15rem;
    font-weight: 700;
    color: #24304f;
    margin-bottom: 10px;
}

/* Age question */
.disc-question {
    font-size: 1rem;
    color: #4a5578;
    line-height: 1.5;
    margin-bottom: 26px;
}

/* Buttons row */
.disc-buttons {
    display: flex;
    gap: 16px;
}

.btn-no, .btn-yes {
    flex: 1;
    padding: 18px 0;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 1px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: transform 0.18s, box-shadow 0.18s, filter 0.18s;
}

.btn-no {
    color: #fff;
    background: linear-gradient(135deg, #ff7ba7, #ff5c8d);
    box-shadow: 0 8px 20px rgba(255, 92, 141, 0.35);
}

.btn-yes {
    color: #123;
    background: linear-gradient(135deg, #2bd4e6, #14bdd4);
    box-shadow: 0 8px 20px rgba(20, 189, 212, 0.35);
}

.btn-no:hover, .btn-yes:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

/* Carousel dots */
.disc-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
}

.disc-dots .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d3d7e0;
}

.disc-dots .dot.active {
    background: #14bdd4;
}

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

/* ===================== */
/* Content Section       */
/* ===================== */
.content {
    position: relative;
    z-index: 2;
    background: #14060f;
}

article {
    max-width: 820px;
    margin: 0 auto;
    padding: 70px 22px 90px;
    line-height: 1.8;
}

article h1 {
    font-size: 2.1rem;
    margin-bottom: 22px;
    background: linear-gradient(135deg, #ff2d78, #ff9dc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

article h2 {
    font-size: 1.55rem;
    margin: 40px 0 16px;
    color: #ff2d78;
}

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

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

article strong {
    color: #fff;
}

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

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

article a {
    color: #ff9dc4;
}

article blockquote {
    border-left: 3px solid #ff2d78;
    padding: 12px 20px;
    margin: 20px 0;
    background: rgba(255, 45, 120, 0.06);
    border-radius: 0 8px 8px 0;
    color: #e6dce1;
}

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

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

article th {
    background: #3a1030;
    color: #fff;
}

article td {
    color: #d3c9cf;
}

/* ===================== */
/* Responsive            */
/* ===================== */
@media screen and (max-width: 600px) {
    .navbar {
        padding: 12px 16px;
    }

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

    .nav-login {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    .disc-content {
        padding: 32px 24px 24px;
    }

    .logo-mature {
        font-size: 1.7rem;
    }

    .logo-planet {
        font-size: 1.6rem;
    }

    .disc-title {
        font-size: 1.3rem;
    }

    .disc-strong {
        font-size: 1.05rem;
    }

    .disc-question {
        font-size: 0.92rem;
    }

    .btn-no, .btn-yes {
        padding: 15px 0;
        font-size: 1rem;
    }

    article {
        padding: 50px 18px 70px;
    }

    article h1 {
        font-size: 1.7rem;
    }

    article h2 {
        font-size: 1.35rem;
    }
}
