/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #fafafa;
    font-family: 'Inter', sans-serif;
    color: #222;
}

/* PROGRESS BAR */
#progressBar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: #007bff;
    width: 0%;
    z-index: 999;
}

/* CONTAINER */
.reader {
    max-width: 720px;
    margin: auto;
    padding: 20px 16px 80px;
}

/* TOPBAR */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.back {
    text-decoration: none;
    font-size: 20px;
    color: #007bff;
}

.meta-top {
    font-size: 12px;
    color: #888;
    display: flex;
    gap: 10px;
}

/* TITLE */
.title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
}

/* SUMMARY */
.summary {
    background: #eef3ff;
    padding: 16px;
    border-radius: 14px;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* CONTENT */
.content {
    font-size: 17px;
    line-height: 1.9;
}

/* SECTION */
.section {
    margin-bottom: 40px;
}

/* HEADING */
.section h2 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #0056d2;
}

/* PARAGRAPH */
.section p {
    margin-bottom: 14px;
    text-align: justify;
}

/* FLOAT BUTTON */
.fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    padding: 16px;
    border-radius: 50%;
    font-size: 18px;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* MOBILE */
@media (max-width: 480px) {
    .title {
        font-size: 22px;
    }

    .content {
        font-size: 15px;
    }

    .section h2 {
        font-size: 18px;
    }
}