/* ================= GLOBAL RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(180deg, #0f0f14 0%, #14141c 100%);
    color: #eaeaf0;
}

/* ================= NAVBAR ================= */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(15, 15, 18, 0.9);
    backdrop-filter: blur(10px);
    padding: 14px 22px;
    z-index: 10;
}

.nav-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: #ccc;
    font-size: 14px;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #caa45c;
    transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* ================= LANGUAGE TOGGLE ================= */
.language-toggle {
    display: flex;
    justify-content: center;
    margin: 30px 0 10px;
    gap: 12px;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #ccc;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
}

.lang-btn.active {
    background: #caa45c;
    color: #111;
    border-color: #caa45c;
}

/* ================= CONTAINER ================= */
.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 24px;
}

/* ================= INTRO ================= */
.intro h1 {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 600;
    margin-bottom: 14px;
}

.intro p {
    font-size: 16px;
    line-height: 1.8;
    color: #cfcfd6;
    max-width: 800px;
}

/* ================= CHAPTER ================= */
.chapter-section {
    margin-top: 70px;
}

.chapter-title {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 4px;
}

.chapter-name {
    font-size: 15px;
    font-weight: 500;
    color: #caa45c;
    margin-bottom: 24px;
}

/* Story text */
.chapter-story p {
    font-size: 16px;
    line-height: 1.9;
    color: #d8d8df;
    margin-bottom: 18px;
}

/* Explanation & Insight */
.chapter-explanation,
.chapter-modern {
    margin-top: 26px;
    padding-left: 16px;
    border-left: 2px solid rgba(202,164,92,0.4);
}

.chapter-explanation h4,
.chapter-modern h4 {
    font-size: 15px;
    color: #caa45c;
    margin-bottom: 10px;
}

.chapter-explanation p,
.chapter-modern p {
    font-size: 15px;
    line-height: 1.7;
    color: #cfcfd6;
    margin-bottom: 10px;
}

/* ================= SPACER ================= */
.spacer {
    height: 100px;
}

/* ================= MOBILE ================= */
@media (max-width: 600px) {
    .chapter-story p {
        font-size: 15px;
    }

    .intro p {
        font-size: 15px;
    }
}
