/* ================= 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;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.nav-links {
    display: flex;
    gap: 18px;
    flex-wrap: nowrap;
}

.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%;
}

/* ================= BACK BUTTON ================= */
.back-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: #eaeaea;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.25s ease;
    margin: 18px 24px 0;
}

.back-btn:hover {
    background: rgba(202,164,92,0.15);
    border-color: #caa45c;
    transform: translateX(-2px);
}

/* ================= CONTAINER ================= */
.container {
    max-width: 900px;
    margin: 40px auto 80px;
    padding: 0 24px;
}

/* ================= HEADER ================= */
.chapter-header h1 {
    font-size: clamp(26px, 4vw, 38px);
    margin-bottom: 8px;
}

.chapter-header p {
    font-size: 15px;
    color: #cfcfd6;
}

/* ================= SHLOKAS ================= */
.shlokas {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.shloka {
    padding: 28px;
    border-radius: 16px;
    background: linear-gradient(180deg, #1b1b26, #14141c);
    border: 1px solid rgba(255,255,255,0.08);
}

.shloka-number {
    font-size: 13px;
    color: #cfa85c;
    margin-bottom: 14px;
}

.sanskrit {
    font-size: 18px;
    line-height: 1.9;
    color: #ffffff;
    margin-bottom: 18px;
}

.hindi,
.english {
    font-size: 15px;
    line-height: 1.7;
    color: #cfcfd6;
    margin-bottom: 10px;
}

/* ================= SPACER ================= */
.spacer {
    height: 100px;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 18px;
    }

    .nav-links {
        width: 100%;
        margin-top: 10px;
        flex-wrap: wrap;
        gap: 14px;
    }

    .sanskrit {
        font-size: 16px;
        line-height: 1.8;
    }

    .hindi,
    .english {
        font-size: 14px;
    }

    .shloka {
        padding: 22px;
    }
}
