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

:root {
    --bg: #0a0a0a;
    --bg-soft: #121212;
    --orange: #f26522;
    --orange-light: #ff7a3d;
    --white: #ffffff;
    --text: #e9e9e9;
    --text-dim: #b3b3b3;
    --border: #2a2a2a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    width: 100%;
}

/* Locked state: modal is blocking, no scroll */
body.locked {
    overflow: hidden;
    height: 100vh;
}

/* ===================== */
/* Hero background image  */
/* ===================== */
#HeroBack {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 40%, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
    z-index: 1;
}

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 8vh;
}

.hero-cta {
    text-align: center;
    animation: popIn 0.5s ease-out;
}

.hero-btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    background: linear-gradient(135deg, var(--orange-light), var(--orange));
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(242, 101, 34, 0.45);
    transition: transform 0.2s, box-shadow 0.2s;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 38px rgba(242, 101, 34, 0.6);
}

.hero-scroll {
    margin-top: 18px;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
    animation: bob 1.8s ease-in-out infinite;
}

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

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

.nav-login {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    padding: 8px 18px;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-login:hover {
    color: var(--orange);
    border-color: var(--orange);
}

/* ===================== */
/* Content (below fold)   */
/* ===================== */
.content {
    position: relative;
    z-index: 3;
    background: var(--bg);
    border-top: 3px solid var(--orange);
    box-shadow: 0 -20px 60px rgba(0,0,0,0.8);
}

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

article h1 {
    font-size: 2.1rem;
    line-height: 1.25;
    margin-bottom: 24px;
    color: var(--white);
    font-weight: 800;
}

article h2 {
    font-size: 1.55rem;
    margin: 44px 0 18px;
    color: var(--orange);
    font-weight: 800;
    scroll-margin-top: 20px;
}

article h3 {
    font-size: 1.2rem;
    margin: 30px 0 12px;
    color: var(--orange-light);
    font-weight: 700;
}

article p {
    margin-bottom: 16px;
    color: var(--text-dim);
}

article p strong,
article li strong {
    color: var(--text);
    font-weight: 700;
}

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

article li {
    margin-bottom: 10px;
    color: var(--text-dim);
}

article a {
    color: var(--orange-light);
    text-decoration: none;
}

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

/* Table */
article table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.95rem;
}

article th, article td {
    padding: 12px 14px;
    border: 1px solid var(--border);
    text-align: left;
}

article th {
    background: #1c1c1c;
    color: var(--white);
    font-weight: 700;
}

article td {
    color: var(--text-dim);
}

article tbody tr:nth-child(even) {
    background: rgba(255,255,255,0.02);
}

/* ===================== */
/* Age Gate Modal         */
/* ===================== */
.age-gate {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(6, 6, 6, 0.94);
    backdrop-filter: blur(6px);
    z-index: 1000;
}

.gate-card {
    background: linear-gradient(160deg, #161616 0%, #0d0d0d 100%);
    border: 1px solid rgba(242, 101, 34, 0.35);
    border-radius: 18px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.7),
        0 0 80px rgba(242, 101, 34, 0.12);
    padding: 48px 40px 36px;
    max-width: 470px;
    width: 100%;
    text-align: center;
    animation: popIn 0.4s ease-out;
}

.gate-logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--white);
    margin-bottom: 26px;
}

.gate-logo .flame {
    margin-right: 4px;
}

.gate-logo span {
    color: var(--orange);
}

.gate-lead {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 14px;
    text-shadow: 0 0 30px rgba(242, 101, 34, 0.25);
}

.gate-lead span {
    color: var(--orange);
}

.gate-sub {
    font-size: 0.92rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

.gate-q {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 22px;
}

.gate-btn {
    display: block;
    width: 100%;
    padding: 17px 0;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    background: linear-gradient(135deg, var(--orange-light), var(--orange));
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.gate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(242, 101, 34, 0.45);
}

.gate-leave {
    margin-top: 18px;
}

.gate-leave span {
    font-size: 0.85rem;
    color: var(--text-dim);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}

.gate-leave span:hover {
    color: var(--white);
}

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

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

    article {
        padding: 44px 20px 60px;
    }

    article h1 {
        font-size: 1.7rem;
    }

    article h2 {
        font-size: 1.35rem;
    }

    .gate-card {
        padding: 36px 24px 28px;
    }

    .gate-lead {
        font-size: 1.6rem;
    }

    .gate-logo {
        font-size: 1.35rem;
    }
}
