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

body {
    font-family: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    font-size: 13px;
    background-color: #f5f5f7;
    background-image: 
        linear-gradient(rgba(200, 200, 200, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 200, 200, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: center center;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    height: 38px;
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 100%;
}

.nav-links a {
    color: #1d1d1f;
    text-decoration: none;
    padding: 0 0.5rem;
    font-size: 13px;
    font-weight: 400;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    transition: color 0.2s ease;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0261e3;
}

.nav-links a:hover {
    color: #0261e3;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: transparent;
}

.container {
    margin-top: 38px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
    height: calc(100vh - 38px);
    position: relative;
    z-index: 1;
}

.sidebar {
    background-color: #f5f5f7;
    padding: 0;
    border-right: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.profile-links {
    padding-top: 0.5rem;
}

.link-item {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    text-decoration: none;
    color: #1d1d1f;
    transition: all 0.2s ease;
    font-size: 13px;
    border-radius: 6px;
}

.link-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: #0261e3;
}

.link-item:hover .icon {
    fill: #0261e3;
}

.icon {
    width: 16px;
    height: 16px;
    fill: #86868b;
    margin-right: 8px;
    transition: fill 0.2s ease;
}

.main-content {
    background-color: #ffffff;
    padding: 2rem 2.5rem;
    height: 100%;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.5;
    color: #000000;
    position: relative;
    z-index: 1;
}

.greeting {
    font-size: 13px;
    color: #1d1d1f;
    font-weight: 400;
    margin: 1rem 0 3rem;
    line-height: 1.6;
    font-style: normal;
    padding: 1.5rem;
    background-color: #f5f5f7;
    border-radius: 12px;
    letter-spacing: -0.2px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: 
        fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        float 6s ease-in-out infinite;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.greeting:hover {
    transform: translateY(-2px) scale(1.005);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
}

.section-title {
    font-size: 13px;
    font-weight: 600;
    color: #000000;
    margin: 2rem 0 0.5rem;
    letter-spacing: -0.2px;
}

.divider {
    border: none;
    height: 1px;
    background-color: #e0e0e0;
    margin: 0.5rem 0 1.5rem;
}

.list-item {
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
    list-style: none;
}

.list-item::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000000;
}

.education-item {
    margin-bottom: 1.5rem;
}

.education-title {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.education-period {
    color: #000000;
    font-size: 13px;
    margin-bottom: 0.5rem;
}

.education-details {
    margin-bottom: 0.5rem;
}

.project-title {
    font-weight: 500;
    color: #000000;
    margin: 1rem 0 0.5rem;
}

.supervisor-link {
    color: #0261e3;
    text-decoration: none;
}

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

.publication-item {
    margin-bottom: 1rem;
    padding-left: 1.2rem;
    position: relative;
}

.publication-item::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000000;
}

.software-category {
    font-weight: 600;
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .sidebar {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
} 

.profile-section {
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    border-bottom: 1px solid #e0e0e0;
    background-color: #ffffff;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #ffffff;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-name {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.2px;
    line-height: 1.2;
    text-align: center;
    margin-top: 0.2rem;
}

.list-unstyled {
    list-style: none;
    padding: 0;
    margin: 0;
}

.interests-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
} 

.education-period,
.education-details,
.project-title,
.publication-item,
.experience-item,
.software-category {
    font-size: 13px;
} 

.others-content {
    background-color: #ffffff;
    padding: 2rem;
    height: 100%;
    overflow-y: auto;
}

.others-container {
    margin-top: 38px;
    background-color: transparent;
    padding: 2rem;
    height: calc(100vh - 38px);
    overflow-y: auto;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-item {
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
    min-height: 240px;
    position: relative;
    cursor: pointer;
}

.grid-item:hover {
    border-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.grid-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.grid-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: left;
}

.grid-item h2 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: #000000;
}

.grid-item p {
    font-size: 0.875rem;
    color: #666666;
    line-height: 1.5;
    flex-grow: 1;
}

.grid-footer {
    margin-top: 1.5rem;
}

.explore-btn {
    color: #1d1d1f;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.explore-btn:hover {
    color: #0261e3;
    transform: none;
    opacity: 1;
}

.ocean-station,
.book-list,
.design {
    background: #ffffff;
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .grid-item {
        min-height: 250px;
    }
} 

.fas {
    display: none;
} 

/* OceanStation 页面样式 */
.oceanstation-container {
    margin-top: 38px;
    padding: 2rem;
    height: calc(100vh - 38px);
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, 
        rgba(0, 122, 255, 0.8) 0%,
        rgba(48, 176, 199, 0.8) 50%,
        rgba(52, 199, 89, 0.8) 100%
    );
    background-image: 
        linear-gradient(135deg, 
            rgba(0, 122, 255, 0.8) 0%,
            rgba(48, 176, 199, 0.8) 50%,
            rgba(52, 199, 89, 0.8) 100%
        ),
        linear-gradient(rgba(200, 200, 200, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 200, 200, 0.15) 1px, transparent 1px);
    background-size: 100% 100%, 20px 20px, 20px 20px;
}

.oceanstation-content {
    max-width: 100%;
    width: 100%;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 38px);
}

.qrcode-section {
    background: rgba(255, 255, 255, 0.7);
    padding: 4rem;
    border-radius: 50%;
    text-align: center;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 500px;
    height: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: transform 0.3s ease;
}

.qrcode-section:hover {
    transform: scale(1.02);
}

.qrcode-image {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.qrcode-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.qrcode-section p {
    font-size: 15px;
    color: #1d1d1f;
    line-height: 1.5;
    max-width: 300px;
    margin: 0 auto;
}

/* 添加响应式支持 */
@media (max-width: 768px) {
    .qrcode-section {
        width: 320px;
        height: 320px;
        padding: 2rem;
    }
    
    .qrcode-image {
        max-width: 140px;
    }

    .qrcode-section h2 {
        font-size: 20px;
    }

    .qrcode-section p {
        font-size: 13px;
        max-width: 220px;
    }
}

/* BookList 页面样式 */
.booklist-container {
    margin-top: 38px;
    padding: 1.5rem;
    min-height: calc(100vh - 38px);
    background-color: transparent;
}

.year-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

.year-title {
    font-size: 28px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 1.5rem;
    padding: 12px 20px;
    letter-spacing: -0.02em;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    border-radius: 12px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.year-title:hover {
    background-color: #f5f5f7;
}

.year-title::after {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231d1d1f'%3E%3Cpath d='M12 15.375l-6-6 1.4-1.4 4.6 4.6 4.6-4.6 1.4 1.4z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.year-title.collapsed::after {
    transform: rotate(-180deg);
}

.book-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 10000px;
    opacity: 1;
}

.book-grid.collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.book-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.book-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.book-cover {
    flex: 0 0 100px;
    height: 150px;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.book-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.book-info h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.book-meta {
    font-size: 13px;
    color: #86868b;
    margin-bottom: 0.25rem;
}

.reading-date {
    font-size: 12px;
    color: #86868b;
    margin-bottom: 0.75rem;
}

.book-notes {
    font-size: 13px;
    color: #1d1d1f;
    line-height: 1.5;
}

.book-notes p {
    margin-bottom: 0.75rem;
}

.quote {
    font-size: 13px;
    font-weight: 500;
    color: #1d1d1f;
    margin-top: 0.75rem;
    margin-bottom: 0.375rem;
}

.quotes-list {
    list-style: none;
    padding-left: 0;
    margin-top: 0.375rem;
}

.quotes-list li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.625rem;
    font-style: italic;
    color: #424245;
    line-height: 1.5;
    font-size: 13px;
}

.quotes-list li::before {
    content: '"';
    position: absolute;
    left: 0;
    color: #86868b;
}

@media (max-width: 768px) {
    .book-card {
        flex-direction: column;
        gap: 1rem;
    }
    
    .book-cover {
        flex: 0 0 auto;
        height: 180px;
    }
    
    .year-title {
        font-size: 28px;
    }
} 

.geometric-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.geometric-icon.square {
    filter: drop-shadow(0 4px 6px rgba(0, 122, 255, 0.2));
}

.geometric-icon.triangle {
    filter: drop-shadow(0 4px 6px rgba(255, 59, 48, 0.2));
}

.geometric-icon.circle {
    filter: drop-shadow(0 4px 6px rgba(52, 199, 89, 0.2));
} 
