:root {
    --primary-color: #0066cc;
    --border-color: #e2e8f0;
    --text-main: #2d3748;
    --text-muted: #718096;
    --bg-card: #ffffff;
}

.novels-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 0.5rem 0;
}

.page-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
}

.novel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}

.novel-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.novel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.novel-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.novel-status {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.status-complete {
    background-color: #e6fffa;
    color: #234e52;
}

.status-ongoing {
    background-color: #feebc8;
    color: #744210;
}

.novel-year {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.novel-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: var(--text-main);
    line-height: 1.4;
}

.novel-category {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.novel-summary {
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0 0 1.25rem 0;
    flex-grow: 1;
}

.novel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag-chip {
    font-size: 0.75rem;
    color: #4a5568;
    background-color: #edf2f7;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.novel-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--border-color);
}

.novel-note {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.btn-read {
    display: inline-block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--primary-color);
    text-decoration: none;
    margin-left: auto;
}

.btn-read:hover {
    text-decoration: underline;
}