:root {
    --primary-color: #00ff00;
    --secondary-color: #e0e0e0;
    --dark-bg: #080808;
    --darker-bg: #050505;
    --lighter-bg: #111111;
    --text-color: #e0e0e0;
    --accent-color: #ff3e3e;
    --font-mono: 'Courier New', monospace;
    --font-sans: 'Arial', sans-serif;
    --grid-line: rgba(0, 255, 0, 0.05);
    --light-gray: #a0a0a0;
}

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

html, body {
    width: 100%;
    min-height: 100%;
}

@font-face {
    font-family: 'Hacker';
    src: url('../fonts/hacker.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    background-image: 
        linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    background-size: 20px 20px;
}

body.preload * {
    animation-duration: 0s !important;
    transition: none !important;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/noise.png');
    opacity: 0.03;
    pointer-events: none;
    z-index: 1000;
}

.terminal-cursor {
    position: fixed;
    width: 8px;
    height: 16px;
    background-color: var(--primary-color);
    opacity: 0.5;
    pointer-events: none;
    mix-blend-mode: difference;
    z-index: 9999;
    border-radius: 1px;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px var(--primary-color);
    transition: opacity 0.2s;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(8, 8, 8, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
    padding-left: 20px;
    padding-right: 20px;
}

.logo h1 {
    font-family: var(--font-mono);
    font-size: 2rem;
    letter-spacing: 2px;
    margin: 0;
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
}

.glitch {
    position: relative;
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--secondary-color);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-1 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--accent-color);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip: rect(2px, 450px, 16px, 0);
    }
    20% {
        clip: rect(54px, 450px, 98px, 0);
    }
    40% {
        clip: rect(24px, 450px, 62px, 0);
    }
    60% {
        clip: rect(86px, 450px, 3px, 0);
    }
    80% {
        clip: rect(93px, 450px, 68px, 0);
    }
    100% {
        clip: rect(49px, 450px, 14px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(42px, 450px, 78px, 0);
    }
    20% {
        clip: rect(3px, 450px, 29px, 0);
    }
    40% {
        clip: rect(28px, 450px, 16px, 0);
    }
    60% {
        clip: rect(42px, 450px, 78px, 0);
    }
    80% {
        clip: rect(67px, 450px, 62px, 0);
    }
    100% {
        clip: rect(10px, 450px, 98px, 0);
    }
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 30px;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: var(--primary-color);
}

.bracket {
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}

nav a:hover .bracket, nav a.active .bracket {
    opacity: 1;
}

nav a:hover .bracket:first-child, nav a.active .bracket:first-child {
    transform: translateX(-3px);
}

nav a:hover .bracket:last-child, nav a.active .bracket:last-child {
    transform: translateX(3px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 150;
    position: relative;
}

.line {
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* 添加汉堡菜单打开样式 */
.hamburger.menu-open .line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.menu-open .line:nth-child(2) {
    opacity: 0;
}

.hamburger.menu-open .line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Main Content */
main {
    padding-top: 80px;
}

/* Hero Section */
.hero {
    height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
    z-index: 2;
}

.typing-container {
    margin-bottom: 20px;
    height: auto;
    min-height: 60px;
}

.typing-text {
    font-family: var(--font-mono);
    font-size: 4rem;
    color: var(--text-color);
    white-space: nowrap;
    width: 0;
    display: inline-block;
}

.typewriter {
    font-size: 34px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    color: var(--light-gray);
    display: inline-block;
    white-space: nowrap;
    max-width: 0; /* 初始状态 */
    animation: typewriter 4s steps(20) 1s forwards;
}

@keyframes typewriter {
    from { max-width: 0 }
    to { max-width: 680px } 
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.code-window {
    width: 90%;
    background-color: var(--darker-bg);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 0, 0.1);
    height: 60vh;
    position: relative;
}

.code-header {
    background-color: #1a1a1a;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.window-btns {
    display: flex;
}

.window-btns span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    background-color: #ff5f56;
}

.window-btns span:nth-child(2) {
    background-color: #ffbd2e;
}

.window-btns span:nth-child(3) {
    background-color: #27c93f;
}

.code-title {
    margin-left: 20px;
    color: #808080;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.code-body {
    padding: 15px;
    height: calc(100% - 33px);
    overflow: auto;
}

.code-body::-webkit-scrollbar {
    width: 5px;
}

.code-body::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

.code-body::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 0, 0.3);
}

.terminal-text {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--primary-color);
    line-height: 1.5;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background-color: transparent;
    color: var(--primary-color);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 255, 0, 0.1);
    transition: left 0.3s;
    z-index: -1;
}

.btn:hover {
    color: var(--text-color);
    border-color: var(--primary-color);
}

.btn:hover::before {
    left: 0;
}

.btn i {
    margin-left: 10px;
    transition: transform 0.3s;
}

.btn:hover i {
    transform: translateX(5px);
}

.btn-outline {
    background-color: #00cc00;
    color: var(--darker-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-highlight {
    background-color: var(--primary-color);
    color: var(--darker-bg);
    border: none;
}


/* About Section */
.about {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-family: var(--font-mono);
    font-size: 2.8rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px;
    list-style: none;
}

.about-features li {
    display: flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.about-features i {
    margin-right: 10px;
    color: var(--primary-color);
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hex-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.hex {
    position: absolute;
    width: 200px;
    height: 230px;
    background-color: rgba(0, 255, 0, 0.05);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
}

.hex:nth-child(1) {
    top: 0;
    left: 50px;
    transform: rotate(0deg);
    animation: float 6s ease-in-out infinite;
}

.hex:nth-child(2) {
    top: 100px;
    left: 0;
    transform: rotate(30deg);
    animation: float 7s ease-in-out infinite 1s;
}

.hex:nth-child(3) {
    top: 100px;
    right: 0;
    transform: rotate(-30deg);
    animation: float 5s ease-in-out infinite 0.5s;
}

.hex-bg {
    width: 85%;
    height: 85%;
    background-color: rgba(0, 255, 0, 0.1);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border: 1px solid rgba(0, 255, 0, 0.3);
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Achievements Section */
.achievements {
    padding: 100px 0;
    background-color: var(--darker-bg);
    position: relative;
}

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

.achievement-card {
    background-color: var(--lighter-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.achievement-card:hover::before {
    transform: scaleX(1);
}

.achievement-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.achievement-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.view-more {
    text-align: center;
    margin-top: 30px;
}

/* Horizontal Scroll Team Section */
.team-horizontal-scroll {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.horizontal-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.horizontal-content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    flex-direction: row;
    will-change: transform;
}

.horizontal-section {
    position: relative;
    min-width: 33vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0;
}

.intro-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.intro-section p {
    font-size: 1.5rem;
    margin: 30px 0;
    color: var(--light-gray);
}

.scroll-indicator {
    margin-top: 40px;
    font-size: 2rem;
    color: var(--primary-color);
    animation: pulse-horizontal 2s infinite;
}

@keyframes pulse-horizontal {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(20px);
        opacity: 0.5;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.member-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member-card {
    background-color: var(--lighter-bg);
    border-radius: 10px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.team-member-card .member-avatar {
    height: 300px;
    width: 300px;
    position: relative;
    overflow: hidden;
    background-color: #0a0a0a;
}

.team-member-card .avatar-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    filter: none;
}

.team-member-card .avatar-glitch::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 255, 0, 0.2), transparent);
    mix-blend-mode: overlay;
}

.team-member-card .member-info {
    padding: 25px;
}

.team-member-card h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-family: var(--font-mono);
    color: var(--primary-color);
}

.team-member-card .member-title {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 15px;
    font-style: italic;
}

.team-member-card .member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.team-member-card .member-skills span {
    background-color: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.2);
    color: var(--primary-color);
    padding: 5px 10px;
    font-size: 0.85rem;
    border-radius: 3px;
    font-family: var(--font-mono);
}

.outro-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.outro-content {
    max-width: 500px;
}

.outro-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-family: var(--font-mono);
}

.outro-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--light-gray);
}

.outro-content .btn {
    margin-top: 20px;
}

/* Team Preview Section */
.team-preview {
    padding: 100px 0;
}

.team-carousel {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.team-carousel::-webkit-scrollbar {
    height: 5px;
}

.team-carousel::-webkit-scrollbar-track {
    background: transparent;
}

.team-carousel::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.team-member {
    min-width: 280px;
    background-color: var(--lighter-bg);
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-avatar {
    height: 280px;
    background-color: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.avatar-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: none;
}

.avatar-glitch::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 255, 0, 0.2), transparent);
    mix-blend-mode: overlay;
}

.member-info {
    padding: 20px;
}

.member-info h3 {
    font-family: var(--font-mono);
    margin-bottom: 5px;
}

.member-info p {
    color: #888;
    font-size: 0.9rem;
}

/* Join Us Section */
.join-us {
    padding: 100px 0;
    background-color: var(--darker-bg);
    text-align: center;
}

.join-us-content {
    max-width: 600px;
    margin: 0 auto;
}

.join-us h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.join-us p {
    margin-bottom: 30px;
}

/* Footer */
footer {
    background-color: var(--darker-bg);
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-logo h2 {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    gap: 50px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

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

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

.footer-section a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-section i {
    margin-right: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.qrcode {
    width: 200px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        height: auto;
        padding: 50px 0;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 30px;
    }

    .team-member-card {
        width: 260px;
    }
    
    .team-member-card .member-avatar {
        width: 260px;
        height: 260px;
    }
    
    .horizontal-section {
        min-width: 90vw;
    }

    .btn, .btn-outline {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .container {
        padding: 0 15px;
    }
    
    nav ul {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 100;
        transition: right 0.3s ease;
        padding: 80px 20px;
        border-left: 1px solid rgba(0, 255, 0, 0.1);
    }
    
    nav ul.show {
        display: flex;
        right: 0;
    }
    
    nav li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .typing-container {
        height: auto;
        text-align: center;
        width: 100%;
        margin-bottom: 30px;
    }
    
    .typing-text {
        font-size: 2.2rem;
        text-align: center;
        width: auto;
        display: block;
        white-space: normal;
        animation: none;
        margin: 0 auto;
    }
    
    .typewriter {
        font-size: 1.2rem;
        max-width: none;
        white-space: normal;
        animation: none;
        margin: 0 auto 20px;
        display: block;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .achievement-card h3 {
        font-size: 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }

    .intro-section p {
        font-size: 1.2rem;
    }
    
    .team-member-card {
        width: 220px;
    }
    
    .team-member-card .member-avatar {
        width: 220px;
        height: 220px;
    }
    
    .outro-content h3 {
        font-size: 1.6rem;
    }
    
    .outro-content p {
        font-size: 1rem;
    }
    
    .join-us h2 {
        font-size: 2rem;
    }
    
    .code-window {
        width: 80%;
        height: 50vh;
        margin: 0 auto;
    }

    .hero-visual {
        justify-content: center;
    }
    
    .swipe-indicator {
        display: inline-block;
    }
    
    .horizontal-section.mobile-view {
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    }

    /* 移动端团队成员纵向排布 */
    .team-horizontal-scroll {
        height: auto;
        overflow: visible;
        touch-action: auto;
    }
    
    .horizontal-container {
        position: static;
        height: auto;
        width: 100%;
        overflow: visible;
        touch-action: auto;
    }
    
    .horizontal-content {
        position: static;
        display: flex;
        flex-direction: column;
        height: auto;
        padding: 20px 0;
        touch-action: auto;
    }
    
    .horizontal-section {
        min-width: 0;
        height: auto;
        width: 100%;
        min-height: auto;
        padding: 20px 0;
        touch-action: auto;
    }
    
    .member-section {
        margin-bottom: 30px;
    }
    
    .team-member-card {
        width: 90%;
        max-width: 300px;
    }
    
    .team-member-card .member-avatar {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
    
    .intro-section {
        padding: 20px 0;
    }
    
    .outro-section {
        margin-top: 20px;
    }

    /* 调整代码窗口大小和文本换行 */
    .code-window {
        width: 95%;
        max-width: 450px;
        height: auto;
        min-height: 50vh;
        margin: 0 auto;
    }
    
    .code-body {
        max-height: 50vh;
        overflow-x: hidden;
        overflow-y: auto;
    }
    
    .terminal-text {
        white-space: pre-wrap;
        word-break: break-word;
        font-size: 0.85rem;
    }

    .hero-visual {
        justify-content: center;
    }
    
    /* 隐藏滑动指示器，因为不再需要 */
    .swipe-indicator {
        display: none;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 14px;
    }
    
    .typing-container {
        margin-bottom: 20px;
    }
    
    .typing-text {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .typewriter {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .team-member-card {
        width: 180px;
    }
    
    .team-member-card .member-info {
        padding: 15px;
    }
    
    .team-member-card h3 {
        font-size: 1.2rem;
    }
    
    .team-member-card .member-title {
        font-size: 0.9rem;
    }
    
    .team-member-card .member-skills span {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
    
    .horizontal-section {
        min-width: 80vw;
        padding: 20px;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .btn, .btn-outline {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 90px 0 40px;
    }
    
    .code-header {
        padding: 8px 12px;
    }
    
    .code-title {
        font-size: 0.8rem;
    }
    
    .code-window {
        width: 95%;
        max-width: 400px;
        min-height: 45vh;
    }
    
    .terminal-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 400px) {
    body {
        font-size: 13px;
    }
    
    .logo-image {
        height: 30px;
    }
    
    header {
        padding: 15px;
    }
    
    .typing-text {
        font-size: 1.5rem;
    }
    
    .typewriter {
        font-size: 0.9rem;
    }
    
    .team-member-card {
        width: 160px;
    }
    
    .team-member-card .member-avatar {
        width: 160px;
        height: 160px;
    }
    
    .horizontal-section {
        min-width: 90vw;
        padding: 15px;
    }
    
    .achievement-card {
        padding: 15px;
    }
    
    .join-us h2 {
        font-size: 1.7rem;
    }
    
    .code-window {
        width: 95%;
        max-width: 320px;
        min-height: 40vh;
    }
    
    .terminal-text {
        font-size: 0.75rem;
    }
}

/* 滑动指示器样式 */
.swipe-indicator {
    display: none;
    margin-top: 20px;
    padding: 10px;
    background-color: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 4px;
    color: var(--primary-color);
    font-size: 0.9rem;
    animation: pulse 2s infinite;
}

.swipe-indicator i {
    margin: 0 2px;
}

@keyframes pulse {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}

/* 水平滚动容器激活状态 */
.horizontal-content.active {
    cursor: grabbing;
    user-select: none;
}

/* 移动端水平章节样式 */
@media (max-width: 768px) {
    .swipe-indicator {
        display: inline-block;
    }
    
    .horizontal-section.mobile-view {
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    }
} 