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

:root {
    --purple-deep: #2c0a3e;
    --purple: #4a1566;
    --purple-mid: #611a7e;
    --magenta: #7a1f8c;
    --green: #29c46b;
    --green-dark: #1fa658;
    --text: #f3e9f7;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--purple-deep);
    color: var(--text);
    width: 100%;
    min-height: 100vh;
}

/* Lock scroll while the age gate is 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;
    object-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(44,10,62,0.15) 0%, rgba(44,10,62,0.05) 60%, rgba(44,10,62,0.55) 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 30px;
    z-index: 20;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    padding: 6px 14px;
    border: 2px solid #fff;
    border-radius: 8px;
    background: rgba(44, 10, 62, 0.25);
    text-transform: uppercase;
}

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

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

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    background: rgba(44, 10, 62, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 24px;
    padding: 8px 16px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.lang-btn:hover {
    background: rgba(44, 10, 62, 0.6);
    border-color: #fff;
}

.lang-btn .globe {
    font-size: 1rem;
}

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

.lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 200px;
    max-height: 60vh;
    overflow-y: auto;
    list-style: none;
    background: #351050;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    padding: 8px;
    display: none;
    z-index: 60;
}

.lang-switch:hover .lang-menu,
.lang-switch:focus-within .lang-menu {
    display: block;
}

.lang-menu li {
    list-style: none;
}

.lang-menu a {
    display: block;
    padding: 9px 14px;
    color: #e9dcf2;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.lang-menu a:hover {
    background: var(--green);
    color: #fff;
}

.nav-login {
    display: inline-block;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    padding: 9px 24px;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border-radius: 24px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(41, 196, 107, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.nav-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(41, 196, 107, 0.5);
}

/* RTL support (Arabic, Hebrew, Farsi) */
[dir="rtl"] .lang-menu {
    right: auto;
    left: 0;
}

[dir="rtl"] article h2 {
    padding-left: 0;
    padding-right: 14px;
    border-left: none;
    border-right: 4px solid var(--green);
}

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

[dir="rtl"] article blockquote {
    border-left: none;
    border-right: 4px solid var(--green);
    border-radius: 8px 0 0 8px;
}

[dir="rtl"] .hero-cta {
    left: auto;
    right: 8%;
}

/* Transparent clickable hotspot over the baked green CTA in the hero image */
.hero-cta {
    position: absolute;
    top: 55%;
    left: 8%;
    width: 260px;
    height: 62px;
    max-width: 40%;
    z-index: 15;
    cursor: pointer;
    border-radius: 32px;
}

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: bob 1.8s ease-in-out infinite;
    pointer-events: none;
}

.scroll-hint .chevron {
    font-size: 1.4rem;
    line-height: 1;
}

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

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

#Disclaimer.hidden {
    display: none;
}

.disc-content {
    background: linear-gradient(160deg, #611a7e 0%, #4a1566 45%, #7a1f8c 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow:
        0 10px 50px rgba(0, 0, 0, 0.6),
        0 0 70px rgba(122, 31, 140, 0.25);
    padding: 40px 40px 34px;
    max-width: 470px;
    width: 90%;
    text-align: center;
    animation: popIn 0.4s ease-out;
}

.disc-logo {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    padding: 5px 14px;
    border: 2px solid #fff;
    border-radius: 8px;
    margin-bottom: 22px;
    text-transform: uppercase;
}

.disc-title {
    font-size: 1.9rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.disc-confirm {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 6px 20px rgba(41, 196, 107, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.disc-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(41, 196, 107, 0.55);
}

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

.disc-confirm .cam-ico {
    font-size: 1.15rem;
}

.disc-leave {
    margin-top: 16px;
}

.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;
}

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

/* ===================== */
/* Content (below fold)  */
/* ===================== */
.content {
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, var(--purple-deep) 0%, #200730 100%);
}

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

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

article h2 {
    font-size: 1.55rem;
    margin: 40px 0 16px;
    color: #fff;
    padding-left: 14px;
    border-left: 4px solid var(--green);
}

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

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

article strong {
    color: #fff;
}

article a {
    color: var(--green);
}

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

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

article blockquote {
    border-left: 4px solid var(--green);
    padding: 12px 20px;
    margin: 20px 0;
    background: rgba(41, 196, 107, 0.06);
    border-radius: 0 8px 8px 0;
    color: #efe6f4;
}

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

article th, article td {
    padding: 12px 14px;
    border: 1px solid #4a1566;
    text-align: left;
}

article th {
    background: #4a1566;
    color: #fff;
}

article td {
    color: #d9cfe0;
}

/* ===================== */
/* Footer                */
/* ===================== */
.site-footer {
    text-align: center;
    padding: 40px 20px 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    padding: 5px 14px;
    border: 2px solid #fff;
    border-radius: 8px;
    margin-bottom: 14px;
}

.site-footer p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
}

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

    .nav-logo {
        font-size: 1rem;
        padding: 5px 10px;
    }

    .nav-login {
        padding: 8px 16px;
        font-size: 0.82rem;
    }

    .nav-right {
        gap: 8px;
    }

    .lang-btn {
        padding: 7px 12px;
        font-size: 0.82rem;
    }

    .lang-btn .lang-current {
        display: none;
    }

    .lang-menu {
        min-width: 170px;
    }

    .hero-cta {
        top: auto;
        bottom: 20%;
        left: 50%;
        transform: translateX(-50%);
        width: 70%;
        max-width: 70%;
    }

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

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

    .disc-text {
        font-size: 0.82rem;
        margin-bottom: 20px;
    }

    article {
        padding: 48px 18px 32px;
    }

    article h1 {
        font-size: 1.7rem;
    }

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