/* 全局样式 */
:root {
    --primary: #1e3a8a;
    --primary-light: #3b82f6;
    --primary-dark: #0f1f4d;
    --secondary: #0ea5e9;
    --accent: #8b5cf6;
    --light: #f3f4f6;
    --dark: #111827;
    --gray: #6b7280;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary-light);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-light);
}

.btn-outline:hover {
    background: var(--primary-light);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
}

.logo i {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-light);
}

.nav-links a.active {
    color: var(--primary-light);
}

.nav-links a.active::after,
.nav-links a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-light);
    border-radius: 2px;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 英雄区域 */
.hero {
    padding: 150px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.hero-content .subtitle {
    font-size: 1.5rem;
    color: var(--primary-light);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hexagon {
    width: 350px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

.hexagon-inner {
    width: 330px;
    height: 380px;
    background: var(--dark);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hexagon-content {
    font-size: 8rem;
    color: var(--primary-light);
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.7);
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-light);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary-light);
    animation: particleMove 15s linear infinite;
}

.particle:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 70%;
    left: 60%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    top: 40%;
    left: 80%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 30%;
    animation-delay: 6s;
}

.particle:nth-child(5) {
    top: 20%;
    left: 50%;
    animation-delay: 8s;
}

/* 部分标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 20px auto 0;
}

.divider {
    width: 100px;
    height: 2px;
    background: var(--primary);
    margin: 20px auto;
    position: relative;
}

.divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-light);
    margin-top: -4px;
}

/* 关于我们部分 */
.about {
    padding: 100px 0;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature {
    background: rgba(30, 41, 59, 0.7);
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-light);
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* 最新动态部分 */
.updates {
    padding: 100px 0;
    background: rgba(15, 23, 42, 0.5);
}

.update-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: rgba(30, 41, 59, 0.7);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
}

.card-header {
    padding: 20px;
    background: rgba(15, 23, 42, 0.5);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.card-header h3 {
    font-size: 1.3rem;
    margin-top: 10px;
}

.badge {
    display: inline-block;
    padding: 5px 10px;
    background: var(--primary);
    color: white;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-success {
    background: var(--success);
}

.badge-info {
    background: var(--info);
}

.card-body {
    padding: 20px;
}

.card-footer {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.3);
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.card-footer a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.card-footer a:hover {
    color: var(--accent);
}

/* 博客页面 */
.blog-header {
    padding: 150px 0 80px;
    text-align: center;
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), 
                url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"%3E%3Crect width="100" height="100" fill="%231e293b"/%3E%3Cpath d="M0,0 L100,100 M100,0 L0,100" stroke="%231e3a8a" stroke-width="1"/%3E%3C/svg%3E');
}

.search-bar {
    max-width: 600px;
    margin: 40px auto 0;
    display: flex;
}

.search-bar input {
    flex: 1;
    padding: 15px 20px;
    background: rgba(30, 41, 59, 0.7);
    border: 2px solid var(--primary);
    border-radius: 4px 0 0 4px;
    color: white;
    font-size: 1rem;
    outline: none;
}

.search-bar button {
    padding: 0 25px;
    background: var(--primary);
    border: none;
    border-radius: 0 4px 4px 0;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-bar button:hover {
    background: var(--primary-light);
}

.blog-content {
    padding: 80px 0;
}

.blog-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.blog-card {
    background: rgba(30, 41, 59, 0.7);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    position: relative;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-content {
    padding: 25px;
}

.category {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.blog-card-content p {
    margin-bottom: 20px;
    color: #cbd5e1;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-light);
}

.date {
    color: var(--gray);
    font-size: 0.9rem;
}

.read-more {
    display: block;
    padding: 15px 25px;
    background: rgba(15, 23, 42, 0.5);
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: background 0.3s ease;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.read-more:hover {
    background: rgba(59, 130, 246, 0.1);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(30, 41, 59, 0.7);
    color: var(--light);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.pagination a:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.pagination a.active {
    background: var(--primary);
    border-color: var(--primary);
}

.pagination a.disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* 团队成员页面 */
.team-header {
    padding: 150px 0 80px;
    text-align: center;
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), 
                url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"%3E%3Crect width="100" height="100" fill="%231e293b"/%3E%3Cpath d="M0,0 L100,100 M100,0 L0,100" stroke="%231e3a8a" stroke-width="1"/%3E%3C/svg%3E');
}

.team-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: rgba(30, 41, 59, 0.7);
    color: var(--light);
    border: 1px solid var(--primary);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.filter-btn.active {
    background: var(--primary);
}

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

.team-card {
    background: rgba(30, 41, 59, 0.7);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    text-align: center;
    padding: 30px 20px;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
}

.team-card-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid var(--primary);
    overflow: hidden;
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.role {
    color: var(--primary-light);
    margin-bottom: 15px;
    font-weight: 500;
}

.skills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.skill {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-light);
    border-radius: 20px;
    font-size: 0.8rem;
}

.bio {
    margin-bottom: 20px;
    color: #cbd5e1;
}

.team-card-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-card-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(15, 23, 42, 0.5);
    color: var(--primary-light);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.team-card-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Writeup页面 */
.writeup-header {
    padding: 150px 0 80px;
    text-align: center;
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), 
                url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"%3E%3Crect width="100" height="100" fill="%231e293b"/%3E%3Cpath d="M0,0 L100,100 M100,0 L0,100" stroke="%231e3a8a" stroke-width="1"/%3E%3C/svg%3E');
}

.writeup-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 500;
}

.filter-group select {
    padding: 10px 15px;
    background: rgba(30, 41, 59, 0.7);
    color: var(--light);
    border: 1px solid var(--primary);
    border-radius: 4px;
    outline: none;
    min-width: 150px;
}

.writeup-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.writeup-item {
    background: rgba(30, 41, 59, 0.7);
    border-radius: 10px;
    padding: 25px;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.writeup-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
}

.writeup-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.ctf-tag {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.category-tag {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-light);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.writeup-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.writeup-excerpt p {
    color: #cbd5e1;
    margin-bottom: 20px;
}

.writeup-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray);
    font-size: 0.9rem;
}

.writeup-footer span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 时间线页面 */
.timeline-header {
    padding: 150px 0 80px;
    text-align: center;
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), 
                url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"%3E%3Crect width="100" height="100" fill="%231e293b"/%3E%3Cpath d="M0,0 L100,100 M100,0 L0,100" stroke="%231e3a8a" stroke-width="1"/%3E%3C/svg%3E');
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--primary);
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
}

.timeline-date {
    flex: 1;
    text-align: right;
    padding-right: 40px;
    font-weight: 700;
    color: var(--primary-light);
    font-size: 1.2rem;
}

.timeline-content {
    flex: 1;
    padding-left: 40px;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 15px;
    left: -10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    border: 4px solid var(--dark);
}

.timeline-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 15px;
}

.badge-silver {
    background: #c0c0c0;
    color: var(--dark);
}

.badge-bronze {
    background: #cd7f32;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* 页脚 */
footer {
    padding: 80px 0 0;
    background: rgba(15, 23, 42, 0.9);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about .logo {
    margin-bottom: 20px;
}

.footer-about p {
    margin-bottom: 20px;
    color: #cbd5e1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(30, 41, 59, 0.7);
    color: var(--primary-light);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-links a i {
    width: 20px;
}

.footer-contact ul {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-contact i {
    color: var(--primary-light);
    width: 20px;
}

.footer-contact h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 2px;
}



.footer-bottom {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* 动画 */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes particleMove {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(100px, -100px);
        opacity: 0;
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-date {
        text-align: left;
        padding-right: 0;
        padding-left: 70px;
        margin-bottom: 10px;
    }
    
    .timeline-content {
        padding-left: 70px;
    }
    
    .timeline-content::before {
        left: 20px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.95);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease;
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .writeup-filters {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content .subtitle {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hexagon {
        width: 280px;
        height: 320px;
    }
    
    .hexagon-inner {
        width: 260px;
        height: 300px;
    }
    
    .hexagon-content {
        font-size: 6rem;
    }
}


/* 导航栏 logo 样式 */
.navbar .logo-image {
  max-height: 40px;    /* 限制最大高度 */
  width: auto;         /* 宽度自动适应 */
  max-width: 120px;    /* 可选：限制最大宽度 */
  object-fit: contain; /* 保持图片比例 */
}

.footer-about .logo-image {
    max-height: 40px;    /* 限制最大高度 */
    width: auto;         /* 宽度自动适应 */
    max-width: 120px;    /* 可选：限制最大宽度 */
    object-fit: contain; /* 保持图片比例 */
}

