/* ===================== */
/* 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: #0e0e10;
    color: #f0f0f0;
    width: 100%;
    overflow-x: hidden;
}

/* While the age gate is open, lock scrolling to the first screen. */
body:not(.unlocked) {
    height: 100vh;
    overflow: hidden;
    position: fixed;
    width: 100%;
    touch-action: none;
}

body.unlocked {
    height: auto;
    overflow-y: auto;
}

/* ===================== */
/* 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;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 8, 10, 0.30);
    z-index: 1;
}

/* Full-hero clickable affiliate layer */
#HeroCTA {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    cursor: pointer;
    display: block;
}

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    pointer-events: none;
    animation: bounce 1.8s ease-in-out infinite;
}

.scroll-hint .chevron {
    display: block;
    font-size: 1.4rem;
    margin-top: 4px;
    color: #22c55e;
}

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

/* ===================== */
/* Language switcher     */
/* ===================== */
.lang-switch {
    position: fixed;
    top: 14px;
    right: 16px;
    z-index: 200;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(16, 16, 20, 0.85);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #fff;
    padding: 8px 13px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.lang-btn:hover {
    border-color: #22c55e;
    box-shadow: 0 4px 18px rgba(34, 197, 94, 0.25);
}

.lang-btn .globe { color: #22c55e; font-size: 1rem; }
.lang-btn .caret { font-size: 0.7rem; opacity: 0.8; }

.lang-menu {
    position: absolute;
    top: 46px;
    right: 0;
    width: 210px;
    max-height: 62vh;
    overflow-y: auto;
    background: #101014;
    border: 1px solid rgba(34, 197, 94, 0.35);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55);
    display: none;
}

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

.lang-menu a {
    display: block;
    padding: 8px 12px;
    color: #d6d6d6;
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 8px;
    white-space: nowrap;
}

.lang-menu a:hover { background: rgba(34, 197, 94, 0.12); color: #fff; }

.lang-menu a.current {
    color: #22c55e;
    font-weight: 700;
    background: rgba(34, 197, 94, 0.08);
}

.lang-menu::-webkit-scrollbar { width: 8px; }
.lang-menu::-webkit-scrollbar-thumb { background: #2a2a30; border-radius: 8px; }

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

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

.disc-content {
    background: linear-gradient(160deg, #17171b 0%, #101014 100%);
    border: 1px solid rgba(34, 197, 94, 0.35);
    border-radius: 16px;
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(34, 197, 94, 0.12);
    padding: 44px 40px 36px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    animation: popIn 0.4s ease-out;
}

.disc-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.disc-logo .nav-clover { color: #22c55e; font-size: 1.2rem; }
.disc-logo .nav-erotic { color: #fff; }
.disc-logo .nav-roulette { color: #22c55e; }

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

.disc-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 28px;
    line-height: 1.6;
}

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

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

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

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

.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: #06210f;
    background: linear-gradient(135deg, #34d76e, #16a34a);
    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 6px 24px rgba(34, 197, 94, 0.4);
}

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

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

/* ===================== */
/* SEO Content (visible) */
/* ===================== */
.content {
    position: relative;
    z-index: 10;
    background: #0e0e10;
    background-image:
        radial-gradient(900px 500px at 80% -10%, rgba(34, 197, 94, 0.06), transparent 60%),
        radial-gradient(700px 500px at -10% 20%, rgba(34, 197, 94, 0.05), transparent 55%);
    border-top: 1px solid rgba(34, 197, 94, 0.18);
}

article {
    max-width: 820px;
    margin: 0 auto;
    padding: 64px 22px 88px;
    color: #d6d6d6;
    line-height: 1.8;
}

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

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

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

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

article a {
    color: #34d76e;
    text-decoration: none;
}

article a:hover {
    text-decoration: underline;
}

article strong {
    color: #f2f2f2;
}

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

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

article blockquote {
    border-left: 3px solid #22c55e;
    padding: 12px 20px;
    margin: 22px 0;
    background: rgba(34, 197, 94, 0.06);
    border-radius: 0 8px 8px 0;
    color: #dcdcdc;
    font-style: italic;
}

/* CTA buttons inside the article */
.cta-wrap {
    text-align: center;
    margin: 34px 0;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 34px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #06210f;
    background: linear-gradient(135deg, #34d76e, #16a34a);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 22px rgba(34, 197, 94, 0.28);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.45);
}

.cta-btn.cta-lg {
    padding: 18px 44px;
    font-size: 1.2rem;
}

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

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

article th {
    background: #12241b;
    color: #fff;
}

article td {
    color: #c9c9c9;
}

/* ===================== */
/* RTL (ar / he / fa)    */
/* ===================== */
[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 #22c55e;
    border-radius: 8px 0 0 8px;
}

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

[dir="rtl"] .disc-confirm .arrow {
    transform: scaleX(-1);
}

/* Keep the Latin brand name in correct LTR order on RTL pages */
[dir="rtl"] .disc-logo {
    direction: ltr;
}

/* ===================== */
/* Responsive            */
/* ===================== */
@media screen and (max-width: 600px) {
    .disc-content {
        padding: 32px 22px 28px;
        margin: 16px;
    }

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

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

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

    article {
        padding: 44px 18px 64px;
    }

    article h1 {
        font-size: 1.7rem;
    }

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