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

:root {
    --black: #000000;
    --white: #FFFFFF;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-300: #D4D4D4;
    --gray-400: #A3A3A3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-serif: 'Noto Serif SC', Georgia, serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-sans);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    font-weight: 300;
    letter-spacing: 0.5px;
    overflow-x: hidden;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-800);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 4px 30px rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 3px;
    transition: var(--transition-smooth);
    text-transform: uppercase;
}

.nav-logo:hover {
    opacity: 0.7;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-menu a {
    font-size: 13px;
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition-smooth);
    letter-spacing: 2px;
    font-weight: 400;
    text-transform: uppercase;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--white);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 60px 80px;
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(80px, 15vw, 180px);
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1;
    animation: fadeInUp 1s ease-out;
    text-transform: uppercase;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(16px, 2vw, 20px);
    color: var(--gray-400);
    font-weight: 400;
    margin-bottom: 60px;
    letter-spacing: 8px;
    animation: fadeInUp 1s ease-out 0.2s both;
    text-transform: uppercase;
}

.hero-line {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--white), transparent);
    margin: 0 auto 60px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn {
    padding: 16px 40px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 1px solid var(--white);
    background: transparent;
    color: var(--white);
}

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

/* 几何装饰元素 */
.hero-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.geo-cross {
    position: absolute;
    opacity: 0.08;
    animation: rotate 20s linear infinite;
}

.geo-cross::before,
.geo-cross::after {
    content: '';
    position: absolute;
    background: var(--white);
}

.geo-cross::before {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.geo-cross::after {
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.geo-cross-1 {
    top: 15%;
    right: 12%;
    width: 60px;
    height: 60px;
    animation-duration: 25s;
}

.geo-cross-2 {
    top: 60%;
    left: 8%;
    width: 45px;
    height: 45px;
    animation-duration: 30s;
    animation-direction: reverse;
}

.geo-cross-3 {
    bottom: 20%;
    right: 20%;
    width: 35px;
    height: 35px;
    animation-duration: 22s;
}

.geo-diamond {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    animation: float 6s ease-in-out infinite;
}

.geo-diamond-1 {
    bottom: 25%;
    left: 10%;
    width: 40px;
    height: 40px;
    animation-delay: 0s;
}

.geo-diamond-2 {
    top: 30%;
    right: 25%;
    width: 30px;
    height: 30px;
    animation-delay: 2s;
}

.geo-diamond-3 {
    top: 70%;
    left: 25%;
    width: 25px;
    height: 25px;
    animation-delay: 4s;
}

.geo-circle {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.geo-circle-1 {
    top: 10%;
    left: 15%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.geo-circle-2 {
    bottom: 15%;
    right: 15%;
    width: 60px;
    height: 60px;
    animation-delay: 3s;
}

.geo-circle-3 {
    top: 45%;
    right: 8%;
    width: 50px;
    height: 50px;
    animation-delay: 5s;
}

.geo-square {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.07);
    animation: rotate 35s linear infinite;
}

.geo-square-1 {
    top: 20%;
    left: 30%;
    width: 35px;
    height: 35px;
    animation-duration: 28s;
}

.geo-square-2 {
    bottom: 30%;
    right: 35%;
    width: 28px;
    height: 28px;
    animation-duration: 32s;
    animation-direction: reverse;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.06; }
    50% { transform: scale(1.1); opacity: 0.1; }
}

/* Section 通用样式 */
.members,
.works,
.final-work {
    padding: 150px 60px;
    background: var(--black);
}

.section-header {
    max-width: 1400px;
    margin: 0 auto 100px;
    position: relative;
}

.section-number {
    font-size: 120px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: -60px;
    left: -20px;
    line-height: 1;
    z-index: 0;
}

.section-title {
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: var(--white);
    position: relative;
    z-index: 1;
    text-transform: uppercase;
}

.section-desc {
    font-family: var(--font-serif);
    font-size: 16px;
    color: var(--gray-500);
    letter-spacing: 4px;
    font-weight: 400;
    text-transform: uppercase;
}

/* 小组成员 */
.member-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.member-card {
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.member-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.member-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.member-link:hover {
    transform: translateY(-8px);
}

.member-link:hover .member-name {
    color: var(--gray-300);
}

.member-link:hover .avatar-frame {
    border-color: rgba(255, 255, 255, 0.5);
}

.member-link::after {
    content: '↗';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    color: var(--white);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 10;
}

.member-link:hover::after {
    opacity: 0.6;
}

.member-avatar-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    margin-bottom: 24px;
    overflow: hidden;
    background: var(--gray-900);
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition-smooth);
}

.member-card:hover .member-photo {
    transform: scale(1.05);
}

.avatar-frame {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.member-card:hover .avatar-frame {
    border-color: rgba(255, 255, 255, 0.3);
}

.member-info {
    text-align: left;
}

.member-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 2px;
    color: var(--white);
    text-transform: uppercase;
}

.member-id {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 4px;
    letter-spacing: 1px;
    font-family: monospace;
}

.member-major {
    font-size: 12px;
    color: var(--gray-600);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* 作业展示 - 纯文字列表样式，居中布局 */
.works-list {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.work-item {
    padding: 40px 40px;
    border-bottom: 1px solid var(--gray-800);
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    gap: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    cursor: pointer;
    text-align: center;
}

.work-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.work-item:first-child {
    border-top: 1px solid var(--gray-800);
}

.work-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.work-number {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    letter-spacing: 2px;
    font-family: monospace;
}

.work-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

.work-item:hover .work-title {
    color: var(--gray-200);
}

.work-desc {
    font-size: 14px;
    color: var(--gray-500);
    letter-spacing: 2px;
    font-weight: 400;
}

/* Final Work 期末作品 */
.final-grid {
    max-width: 1400px;
    margin: 0 auto;
}

.final-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.final-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.final-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 2/1;
    overflow: hidden;
    margin-bottom: 40px;
    background: var(--gray-900);
}

.final-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.final-card:hover .final-image-wrapper img {
    transform: scale(1.02);
}

.final-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.6));
    opacity: 0;
    transition: var(--transition-smooth);
}

.final-card:hover .final-overlay {
    opacity: 1;
}

.final-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.final-category {
    display: inline-block;
    font-size: 12px;
    color: var(--gray-400);
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 500;
}

.final-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: var(--white);
    line-height: 1.2;
}

.final-team {
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 24px;
    letter-spacing: 2px;
    font-weight: 400;
}

.final-desc {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.final-tags {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.final-tag {
    padding: 8px 20px;
    border: 1px solid var(--gray-700);
    font-size: 11px;
    color: var(--gray-400);
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.final-tag:hover {
    border-color: var(--white);
    color: var(--white);
}

/* 页脚 */
.footer {
    background: var(--black);
    padding: 80px 60px;
    border-top: 1px solid var(--gray-900);
}

.footer-line {
    width: 60px;
    height: 1px;
    background: var(--white);
    margin-bottom: 40px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-text {
    font-size: 14px;
    color: var(--gray-400);
    letter-spacing: 3px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.footer-subtext {
    font-family: var(--font-serif);
    font-size: 12px;
    color: var(--gray-600);
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式布局 */
@media (max-width: 1200px) {
    .member-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 30px;
    }

    .nav-menu {
        gap: 20px;
    }

    .nav-menu a {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .hero {
        padding: 100px 30px 60px;
    }

    .hero-title {
        letter-spacing: -1px;
    }

    .hero-subtitle {
        letter-spacing: 4px;
    }

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

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .members,
    .works,
    .final-work {
        padding: 100px 30px;
    }

    .section-header {
        margin-bottom: 60px;
    }

    .section-number {
        font-size: 80px;
        top: -40px;
    }

    .member-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .work-item {
        grid-template-columns: 60px 1fr;
        gap: 20px;
        padding: 30px 20px;
    }

    .work-desc {
        display: none;
    }

    .work-title {
        font-size: 22px;
    }

    .final-image-wrapper {
        aspect-ratio: 4/3;
    }

    .final-title {
        font-size: 28px;
    }

    .final-tags {
        gap: 8px;
    }

    .final-tag {
        padding: 6px 14px;
        font-size: 10px;
    }

    .geo-cross,
    .geo-diamond,
    .geo-circle,
    .geo-square {
        display: none;
    }

    .footer {
        padding: 60px 30px;
    }
}