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

body {
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #ffd1dc 0%, #ffb3c6 100%);
    color: #fffef7;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

header {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 182, 193, 0.3);
    border-radius: 20px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.subtitle {
    font-size: 1.2em;
    font-style: italic;
    opacity: 0.9;
}

.chapter-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.chapter-btn {
    background: rgba(255, 192, 203, 0.6);
    border: 2px solid #fffef7;
    color: #fffef7;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
    font-family: 'Georgia', serif;
}

.chapter-btn:hover {
    background: rgba(255, 182, 193, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.chapter-btn.active {
    background: #ffb6c1;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.chapter-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.chapter-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

.content-box {
    background: rgba(255, 192, 203, 0.4);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    display: none;
    animation: fadeIn 0.5s ease;
}

.content-box.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

h3 {
    font-size: 1.6em;
    margin-top: 25px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

p {
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.character-card {
    background: rgba(255, 182, 193, 0.3);
    padding: 20px;
    border-radius: 15px;
    margin: 15px 0;
    border-left: 4px solid #fffef7;
}

.character-name {
    font-weight: bold;
    font-size: 1.3em;
    margin-bottom: 8px;
}

.theme-box {
    background: rgba(255, 182, 193, 0.3);
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
    border: 2px dashed #fffef7;
}

.quote {
    font-style: italic;
    padding: 20px;
    background: rgba(255, 192, 203, 0.3);
    border-radius: 10px;
    margin: 15px 0;
    border-left: 3px solid #fffef7;
}

.symbol {
    font-size: 1.5em;
}

ul {
    margin-left: 30px;
    margin-top: 10px;
}

li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 182, 193, 0.3);
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #fffef7;
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 10px;
}