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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'SF Pro Display', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f1f3f4 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(212, 165, 116, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(212, 165, 116, 0.06) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    background-size: 600px 600px, 800px 800px, 400px 400px;
    background-position: 0 0, 200px 200px, 100px 100px;
    z-index: -1;
    pointer-events: none;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1600px; /* 增加到1600px */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem; /* 增加左右内边距 */
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #d4a574;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo::before {
    content: "";
    width: 32px; /* 从24px增加到32px */
    height: 32px; /* 从24px增加到32px */
    background-image: url('../images/anubis.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

/* Hero Section */
.hero {
    margin-top: 80px;
    background-image: url('../images/background-anubis.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 8rem 3rem; /* 增加左右内边距 */
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    max-width: 1400px; /* 增加最大宽度 */
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
}

/* 在标题上方添加大型图标 */
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    position: relative;
}

/* 为标题添加大图标 */
.hero h1::before {
    content: "";
    display: block;
    width: 160px;
    height: 160px;
    background-image: url('../images/anubis.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto 2rem auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.7));
}

.hero .subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #d4a574;
    color: white;
}

.btn-primary:hover {
    background: #c19654;
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #d4a574;
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.btn-secondary:hover {
    background: white;
    transform: translateY(-2px);
}

/* Common Section Styles - 修复宽度和间距问题 */
.section {
    padding: 2rem; /* 增加内边距 */
    max-width: 1400px; /* 增加最大宽度到1600px */
    margin: 1rem auto; /* 恢复上下间距 */
    width: 100%;
}

.section h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

/* Card Styles - 增加间距和宽度 */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    margin: 1rem 0; /* 恢复上下间距 */
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    width: 100%;
}

/* Authors Styles - 修复宽度和间距 */
.authors-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 1rem 0; /* 恢复间距 */
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    width: 100%;
}

.authors-list {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    max-width: 1400px; /* 增加最大宽度 */
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: center;
    align-items: center;
}

.author-name {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.author-name.first-author {
    color: #2563eb;
    font-weight: 600;
}

.author-name.corresponding {
    color: #dc2626;
    font-weight: 600;
}

.author-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.affiliations-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: center;
    font-size: 0.9rem;
    color: #666;
    margin: 1rem 0;
    align-items: center;
}

.separator {
    color: #999;
    margin: 0 0.2rem;
}

/* Stats - 修复宽度和间距 */
.stats {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 1rem 0; /* 恢复间距 */
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* 增加最小宽度 */
    gap: 2rem;
    text-align: center;
    max-width: 1400px; /* 增加最大宽度 */
    margin: 0 auto;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #d4a574;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Contributions - 修复宽度和间距 */
.contributions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); /* 增加最小宽度 */
    gap: 2rem;
    margin: 1rem 0; /* 恢复间距 */
    width: 100%;
}

.contribution-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #d4a574;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contribution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.98);
}

.contribution-card h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contribution-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Dataset Examples - 修复宽度和间距 */
.section-intro {
    font-size: 1.1rem;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 1200px; /* 增加最大宽度 */
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.examples-container {
    display: grid;
    gap: 3rem;
    margin-bottom: 2rem;
    width: 100%;
}

.example-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
}

.example-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.98);
}

.example-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
}

.action-name {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.viewpoint-info {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.video-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.video-column {
    display: flex;
    flex-direction: column;
}

.video-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.video-wrapper {
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.video-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.video-wrapper video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Dataset Overview - 修复宽度和间距 */
.dataset-overview {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    margin: 1rem 0; /* 恢复间距 */
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
}

.dataset-overview h3 {
    font-size: 2rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
}

.overview-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.overview-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.overview-text p {
    margin-bottom: 1.5rem;
}

.key-features {
    background: rgba(212, 165, 116, 0.1);
    border-radius: 12px;
    padding: 2rem;
    border-left: 4px solid #d4a574;
    width: 100%;
}

.key-features h4 {
    color: #d4a574;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.feature-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* 增加最小宽度 */
    gap: 1rem;
    width: 100%;
}

.feature-list li {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: #666;
}

.feature-list li::before {
    content: "✓";
    color: #d4a574;
    font-weight: bold;
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

/* Results - 修复宽度和间距 */
.results-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    margin: 1rem 0; /* 恢复间距 */
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    width: 100%;
}

.results-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px dashed #d4a574;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Action Categories - 修复宽度和间距 */
.action-categories-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    margin: 1rem 0; /* 恢复间距 */
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
}

.categories-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.categories-text {
    padding-right: 2rem;
}

.categories-text h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.categories-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.category-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.category-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(212, 165, 116, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(212, 165, 116, 0.2);
}

.category-stat .number {
    font-size: 2rem;
    font-weight: 800;
    color: #d4a574;
    display: block;
    margin-bottom: 0.5rem;
}

.category-stat .label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.chart-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px dashed #d4a574;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Citation - 修复宽度和间距 */
.citation-section {
    background: rgba(212, 165, 116, 0.1);
    border-radius: 20px;
    padding: 2rem 2rem;
    margin: 1rem 0; /* 恢复间距 */
    border: 1px solid rgba(212, 165, 116, 0.2);
    width: 100%;
}

.citation-container {
    max-width: 1000px; /* 增加最大宽度 */
    margin: 0 auto;
}

.citation-title {
    font-size: 2rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
}

.citation-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 165, 116, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.citation-text {
    margin: 0;
    white-space: pre-line;
    word-wrap: break-word;
}

.copy-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #d4a574;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.copy-button:hover {
    background: #c19654;
    transform: translateY(-1px);
}

.copy-feedback {
    position: absolute;
    top: -2rem;
    right: 0;
    background: #27ae60;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.7rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.copy-feedback.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .hero {
        min-height: 500px;
        padding: 6rem 1.5rem;
    }
    
    /* 移动端调整标题上方图标大小 */
    .hero h1::before {
        width: 120px;
        height: 120px;
        margin-bottom: 1.5rem;
    }
    
    /* 移动端调整导航logo图标大小 */
    .logo::before {
        width: 28px;
        height: 28px;
    }
    
    .section {
        padding: 2rem 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contributions {
        grid-template-columns: 1fr;
    }

    .video-pair {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-wrapper video {
        height: 200px;
    }

    .example-item {
        padding: 1.5rem;
    }

    .action-name {
        font-size: 1.6rem;
    }

    .categories-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .category-stats {
        grid-template-columns: 1fr 1fr;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }
}