:root {
    --primary: #0066cc;
    --primary-dark: #004999;
    --text: #333;
    --text-light: #555;
    --bg-light: #f8f9fa;
    --border: #e0e0e0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text);
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Header */
header {
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border);
}

header h1 {
    font-size: 2rem;
    font-weight: 600;
}

header .subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Publication List */
.publication-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.publication {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.publication .year {
    font-weight: 600;
    color: var(--primary);
    min-width: 50px;
}

.publication h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.publication h2 a {
    color: var(--text);
    text-decoration: none;
}

.publication h2 a:hover {
    color: var(--primary);
}

.publication .authors {
    color: var(--text-light);
    font-size: 0.95rem;
}

.publication .venue {
    font-style: italic;
    color: var(--text-light);
    font-size: 0.9rem;
}

.publication .links {
    margin-top: 0.75rem;
}

.publication .links a {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

.publication .links a:hover {
    background: var(--primary-dark);
}

/* Detail Page */
.paper-detail {
    max-width: 700px;
}

.paper-detail h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.paper-detail .meta {
    margin-bottom: 2rem;
}

.paper-detail .meta p {
    margin-bottom: 0.25rem;
}

.paper-detail .abstract {
    margin-bottom: 2rem;
}

.paper-detail .abstract h2 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.download-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
}

.download-btn:hover {
    background: var(--primary-dark);
}

.disclaimer {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--primary);
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.9rem;
}

footer a {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 600px) {
    .publication {
        flex-direction: column;
        gap: 0.5rem;
    }
}