/* 只保留主题变量和基础样式 */
:root {
    /* Light theme (default) */
    --bg-primary: #ffffff;
    --bg-primary-rgb: 255, 255, 255;
    --bg-secondary: #f8f9fa;
    --text-primary: #2c3e50;
    --text-secondary: #333333;
    --link-color: #3498db;
    --nav-bg: #2c3e50;
    --nav-text: #ffffff;
    --button-bg: #2c3e50;
    --button-hover: #34495e;
}

[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-primary-rgb: 26, 26, 26;
    --bg-secondary: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --link-color: #61dafb;
    --nav-bg: #000000;
    --nav-text: #ffffff;
    --button-bg: #3498db;
    --button-hover: #2980b9;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 80px;
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    transition: background-color 0.3s, color 0.3s;
}

/* Common section styles */
.section {
    padding: 20px 0;
    margin: 30px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section h2 {
    color: var(--text-primary);
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 1.8rem;
    text-align: left;
}

/* Common list styles */
ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

li {
    margin-bottom: 15px;
}

strong {
    color: var(--text-primary);
}

/* Awards Section */
.awards-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.award {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    transition: all 0.3s ease;
}

.award:hover {
    transform: translateX(10px);
}

.award-name {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: 600;
    margin-right: 20px;
    flex: 1;
}

.award-date {
    color: var(--text-secondary);
    font-size: 1rem;
    font-family: 'SF Mono', monospace;
    white-space: nowrap;
    min-width: 60px;
    text-align: right;
}

/* Responsive design */
@media (max-width: 768px) {
    .award {
        padding: 10px 0;
    }

    .award:hover {
        transform: none;
    }

    .award-name {
        font-size: 1rem;
    }

    .award-date {
        font-size: 0.9rem;
        min-width: 50px;
    }
}

/* Remove underlines from all links */
a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background-color: var(--nav-bg);
    z-index: 1000;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--nav-text);
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 0;
    margin: 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: var(--text-width, 100%);
    height: 2px;
    bottom: 4px;
    left: 50%;
    background-color: var(--nav-text);
    transform: translateX(-50%) scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: center;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-links a.active {
    opacity: 1;
}

/* Logo specific styles */
.back-nav-link {
    display: inline-flex !important;
    align-items: center;
    padding: 0 !important;
}

.back-nav-link::after {
    display: none !important;
}

.nav-logo {
    height: 24px;
    width: auto;
    transition: transform 0.2s ease;
}

.back-nav-link:hover .nav-logo {
    transform: scale(1.05);
}

.main-nav-link {
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    padding: 6px 0;
    margin: 0 15px;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.main-nav-link::after {
    content: '';
    position: absolute;
    width: var(--text-width, 100%);
    height: 2px;
    background-color: var(--text-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.main-nav-link:hover::after,
.main-nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.main-nav-link:hover {
    color: var(--text-color);
}