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

body {
            font-family: Georgia, serif;
            line-height: 1.7;
            color: #333;
            background: linear-gradient(135deg, rgba(102, 51, 153, 0.05), rgba(139, 69, 19, 0.05));
            min-height: 100vh;
        }

.container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

header {
            background-color: #161616;
            color: white;
            padding: 24px 0;
            position: sticky;
            top: 0;
            z-index: 100;
        }

.header-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }

.logo {
            font-family: 'Playfair Display', Georgia, serif;
            font-size: 38px;
            font-weight: 900;
            color: #f7f7f7;
            text-decoration: none;
            line-height: 1.2;
            text-align: center;
            width: 100%;
            display: block;
        }

.logo:hover {
            color: #b27a12;
        }

nav ul {
            display: flex;
            list-style: none;
            gap: 32px;
            flex-wrap: wrap;
        }

nav a {
            color: #f7f7f7;
            text-decoration: none;
            font-weight: 700;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.071em;
            padding: 8px 0;
            transition: color 0.3s;
        }

nav a:hover {
            color: #b27a12;
        }

.main-content {
            max-width: 900px;
            margin: 0 auto;
            padding: 48px 20px;
        }

.back-nav {
            margin-bottom: 32px;
        }

.back-btn {
            display: inline-block;
            background: transparent;
            color: #663399;
            border: 2px solid #663399;
            padding: 12px 24px;
            text-decoration: none;
            border-radius: 4px;
            font-weight: 700;
            font-size: 16px;
            transition: all 0.3s;
        }

.back-btn:hover {
            background: #663399;
            color: white;
        }

.page-header {
            text-align: center;
            margin-bottom: 48px;
            padding-bottom: 32px;
            border-bottom: 2px solid rgba(102, 51, 153, 0.2);
        }

.page-title {
            font-family: 'Playfair Display', Georgia, serif;
            font-size: 42px;
            font-weight: 700;
            color: #663399;
            margin-bottom: 16px;
            line-height: 1.2;
        }

.page-subtitle {
            font-size: 20px;
            color: #8b4513;
            font-style: italic;
            margin-bottom: 24px;
        }

.chapter-content {
            background: white;
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            border-left: 6px solid #663399;
            margin-bottom: 48px;
        }

.chapter-content p {
            font-size: 18px;
            line-height: 1.8;
            color: #444;
            margin-bottom: 24px;
            text-align: justify;
        }

.chapter-content p:last-child {
            margin-bottom: 0;
        }

.image-with-caption {
            text-align: center;
            margin: 40px auto;
            max-width: 500px;
            background: linear-gradient(135deg, rgba(102, 51, 153, 0.05), rgba(139, 69, 19, 0.05));
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
            border: 2px solid rgba(102, 51, 153, 0.2);
        }

.image-with-caption img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
            margin-bottom: 16px;
        }

.image-caption {
            font-style: italic;
            color: #663399;
            font-size: 18px;
            line-height: 1.6;
            margin: 0 0 10px 0;
        }

.chapter-navigation {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 16px;
            margin-top: 48px;
            padding-top: 32px;
            border-top: 2px solid rgba(102, 51, 153, 0.2);
        }

.nav-btn {
            background: linear-gradient(135deg, #663399, #8b4513);
            color: white;
            padding: 14px 28px;
            text-decoration: none;
            border-radius: 8px;
            font-weight: 700;
            font-size: 16px;
            transition: all 0.3s;
            box-shadow: 0 4px 15px rgba(102, 51, 153, 0.3);
        }

.nav-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(102, 51, 153, 0.4);
        }

.nav-btn.secondary {
            background: transparent;
            color: #663399;
            border: 2px solid #663399;
            box-shadow: none;
        }

.nav-btn.secondary:hover {
            background: #663399;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(102, 51, 153, 0.3);
        }

footer {
            background-color: #000;
            color: white;
            padding: 32px 0;
            text-align: center;
            margin-top: 64px;
        }

.footer-content p {
            color: #969696;
            font-size: 14px;
            margin: 8px 0;
        }

@media (max-width: 768px) {
.header-content {
                flex-direction: column;
                gap: 20px;
                text-align: center;
            }

.logo {
                font-size: 30px;
            }

nav ul {
                gap: 16px;
                justify-content: center;
            }

.main-content {
                padding: 32px 16px;
            }

.page-title {
                font-size: 32px;
            }

.chapter-content {
                padding: 24px 20px;
            }

.chapter-navigation {
                flex-direction: column;
                align-items: stretch;
            }

.nav-btn {
                text-align: center;
            }
}
