/* 科幻风格基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00ff88;
    --secondary-color: #0099ff;
    --accent-color: #ff0099;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --text-light: #ffffff;
    --text-glow: #00ff88;
    --border-glow: rgba(0, 255, 136, 0.5);
    --shadow-glow: 0 0 20px rgba(0, 255, 136, 0.3);
}

body {
    font-family: 'Noto Sans SC', 'Orbitron', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* 粒子背景 */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(45deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

/* 导航栏 */
.sci-fi-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-hologram {
    position: relative;
    width: 50px;
    height: 50px;
}

.logo-hologram img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.hologram-effect {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    animation: hologram-pulse 2s infinite;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
    text-shadow: 0 0 5px var(--primary-color);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-scanner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: scanner-sweep 3s infinite;
}

/* 主页横幅 */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.matrix-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="10" fill="%2300ff88" opacity="0.1">01010101</text></svg>') repeat;
    animation: matrix-fall 20s linear infinite;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.float-element {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
    animation: float-around 15s infinite linear;
}

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

.float-element:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 5s;
}

.float-element:nth-child(3) {
    top: 80%;
    left: 30%;
    animation-delay: 10s;
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-title-container {
    margin-bottom: 50px;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.glitch {
    position: relative;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-color);
    animation: glitch-text 3s infinite;
}

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

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: var(--secondary-color);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: var(--accent-color);
    z-index: -2;
}

.subtitle-container {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    opacity: 0.8;
}

.typing-effect {
    border-right: 2px solid var(--primary-color);
    animation: typing 3s steps(20) 1s 1 normal both, blink-cursor 1s infinite;
}

/* 统计卡片 */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.stat-card {
    position: relative;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--border-glow);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    min-width: 200px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-shadow: 0 0 10px var(--primary-color);
}

.stat-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-light);
    font-size: 1rem;
    opacity: 0.8;
}

.stat-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover .stat-glow {
    opacity: 0.3;
    animation: glow-pulse 2s infinite;
}

/* CTA按钮 */
.cta-container {
    margin-top: 50px;
}

.cta-button {
    position: relative;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-button:hover {
    color: var(--bg-dark);
    background: var(--primary-color);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

.button-text {
    position: relative;
    z-index: 2;
}

.button-scanner {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover .button-scanner {
    left: 100%;
}

/* 通用区块样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.title-glow {
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-color);
}

.title-underline {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto;
    border-radius: 2px;
    animation: underline-glow 2s infinite;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    opacity: 0.7;
    margin-top: 20px;
}

/* 学校概况 */
.about-section {
    padding: 100px 0;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.info-panel {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--border-glow);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.panel-header {
    margin-bottom: 20px;
}

.panel-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.header-line {
    width: 50px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.panel-content p {
    line-height: 1.8;
    color: var(--text-light);
    opacity: 0.9;
}

.spirit-display {
    margin-bottom: 30px;
}

.spirit-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.spirit-items {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.spirit-item {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-glow);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.spirit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.spirit-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.motto-display {
    display: flex;
    gap: 30px;
}

.motto-item {
    flex: 1;
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-glow);
    border-radius: 10px;
}

.motto-label {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.motto-text {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* 全息显示 */
.holographic-display {
    position: relative;
}

.holo-frame {
    position: relative;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.holo-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.holo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(0, 255, 136, 0.1) 50%, 
        transparent 70%);
    animation: holo-sweep 3s infinite;
}

.scan-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 136, 0.1) 2px,
        rgba(0, 255, 136, 0.1) 4px
    );
    animation: scan-lines-move 2s infinite;
}

/* 动画定义 */
@keyframes hologram-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes scanner-sweep {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes matrix-fall {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@keyframes float-around {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(100px, -50px) rotate(90deg); }
    50% { transform: translate(0, -100px) rotate(180deg); }
    75% { transform: translate(-100px, -50px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes glitch-text {
    0%, 90%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-1 {
    0%, 90%, 100% { transform: translate(0); }
    10% { transform: translate(-2px, -2px); }
    20% { transform: translate(2px, 2px); }
    30% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 90%, 100% { transform: translate(0); }
    15% { transform: translate(2px, -2px); }
    25% { transform: translate(-2px, 2px); }
    35% { transform: translate(2px, 2px); }
    45% { transform: translate(-2px, -2px); }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-cursor {
    0%, 50% { border-color: var(--primary-color); }
    51%, 100% { border-color: transparent; }
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes underline-glow {
    0%, 100% { box-shadow: 0 0 5px var(--primary-color); }
    50% { box-shadow: 0 0 20px var(--primary-color); }
}

@keyframes holo-sweep {
    0% { transform: translateX(-100%) skewX(-15deg); }
    100% { transform: translateX(200%) skewX(-15deg); }
}

@keyframes scan-lines-move {
    0% { transform: translateY(0); }
    100% { transform: translateY(10px); }
}

/* 学院专业展示 */
.colleges-section {
    padding: 100px 0;
    position: relative;
}

.college-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.college-btn {
    position: relative;
    background: transparent;
    border: 1px solid var(--border-glow);
    color: var(--text-light);
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    overflow: hidden;
}

.college-btn:hover,
.college-btn.active {
    color: var(--bg-dark);
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.college-btn span {
    position: relative;
    z-index: 2;
}

.btn-glow {
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 25px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.college-btn:hover .btn-glow,
.college-btn.active .btn-glow {
    opacity: 0.3;
    animation: glow-pulse 2s infinite;
}

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

.college-card {
    position: relative;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.college-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(0, 255, 136, 0.05) 0%,
        rgba(0, 153, 255, 0.05) 50%,
        rgba(255, 0, 153, 0.05) 100%);
    border-radius: 20px;
    z-index: -1;
}

.card-border {
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 20px;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.college-card:hover .card-border {
    opacity: 0.5;
    animation: border-glow 2s infinite;
}

.card-content {
    position: relative;
    z-index: 1;
}

.college-header {
    text-align: center;
    margin-bottom: 25px;
}

.college-icon {
    position: relative;
    display: inline-block;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: icon-pulse 2s infinite;
}

.college-name {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 0 0 10px var(--primary-color);
}

.college-badge {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-dark);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.college-description {
    margin-bottom: 25px;
    text-align: center;
}

.college-description p {
    color: var(--text-light);
    opacity: 0.8;
    line-height: 1.6;
}

.majors-container {
    margin-bottom: 25px;
}

.majors-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.major-chip {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-glow);
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.major-chip:hover {
    color: var(--bg-dark);
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
    transform: scale(1.05);
}

.major-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.major-chip:hover::before {
    left: 100%;
}

.college-stats {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    opacity: 0.7;
    font-size: 0.9rem;
}

.college-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.college-stats i {
    color: var(--primary-color);
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 20px;
    z-index: -3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.college-card:hover .card-glow {
    opacity: 0.2;
    animation: card-glow-pulse 2s infinite;
}

/* 特色亮点 */
.features-section {
    padding: 100px 0;
    position: relative;
}

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

.feature-card {
    position: relative;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.feature-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(0, 255, 136, 0.05) 0%,
        rgba(0, 153, 255, 0.05) 100%);
    border-radius: 20px;
    z-index: -1;
}

.feature-icon {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--bg-dark);
}

.icon-orbit {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    border-top-color: transparent;
    animation: icon-orbit 3s linear infinite;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-shadow: 0 0 10px var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
    opacity: 0.8;
    line-height: 1.6;
}

.feature-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-glow {
    opacity: 0.3;
    animation: feature-glow-pulse 2s infinite;
}

/* 欢迎小王区域 */
.welcome-section {
    padding: 80px 0;
    background: linear-gradient(135deg,
        rgba(0, 255, 136, 0.1) 0%,
        rgba(0, 153, 255, 0.1) 50%,
        rgba(255, 0, 153, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.welcome-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: center;
    position: relative;
}

.welcome-avatar {
    position: relative;
}

.avatar-glow {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    animation: avatar-float 3s ease-in-out infinite;
    box-shadow: 0 0 30px var(--primary-color);
}

.welcome-content {
    position: relative;
}

.welcome-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.welcome-emoji {
    font-size: 3rem;
    animation: emoji-bounce 2s ease-in-out infinite;
}

.welcome-message {
    font-size: 1.3rem;
    color: var(--text-light);
    opacity: 0.9;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.message-emoji {
    font-size: 1.5rem;
    animation: emoji-twinkle 1.5s ease-in-out infinite;
}

.welcome-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: particle-float 4s ease-in-out infinite;
    box-shadow: 0 0 10px var(--primary-color);
}

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

.particle:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 1.5s;
}

.particle:nth-child(3) {
    bottom: 30%;
    left: 30%;
    animation-delay: 3s;
}

/* 专业详情模态框 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: modal-fade-in 0.3s ease;
}

.modal.show {
    display: flex;
}

.modal-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center,
        rgba(0, 255, 136, 0.1) 0%,
        rgba(0, 0, 0, 0.9) 70%);
}

.modal-content {
    position: relative;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    backdrop-filter: blur(15px);
    box-shadow: 0 0 50px var(--primary-color);
    animation: modal-slide-in 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
    outline: none;
}

.modal-close:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--primary-color);
}

.close-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-close:hover .close-glow {
    opacity: 1;
    animation: close-glow-pulse 1s infinite;
}

.modal-body {
    padding: 60px 40px 40px;
}

.modal-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-glow);
}

.modal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-color);
    margin-bottom: 10px;
}

.modal-subtitle {
    color: var(--text-light);
    opacity: 0.8;
    font-size: 1.2rem;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.modal-info-item {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-glow);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.modal-info-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.modal-info-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.modal-info-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.modal-info-value {
    color: var(--text-light);
    opacity: 0.9;
}

.modal-section {
    margin-bottom: 40px;
}

.modal-section-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 10px var(--primary-color);
}

.modal-section-title i {
    color: var(--secondary-color);
}

.modal-section-content {
    color: var(--text-light);
    line-height: 1.8;
    opacity: 0.9;
}

.modal-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.modal-course-item {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-dark);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal-course-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.modal-employment-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.modal-employment-item {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-glow);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.modal-employment-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

.modal-employment-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.modal-features-list {
    list-style: none;
    padding: 0;
}

.modal-features-list li {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-glow);
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    color: var(--text-light);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.modal-features-list li:hover {
    border-color: var(--primary-color);
    background: rgba(0, 255, 136, 0.1);
}

/* 页脚 */
.sci-fi-footer {
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid var(--border-glow);
    padding: 30px 0;
    text-align: center;
    position: relative;
}

.footer-content {
    color: var(--text-light);
    opacity: 0.7;
}

.footer-content p {
    margin: 5px 0;
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        var(--primary-color),
        transparent);
    animation: footer-glow-sweep 3s infinite;
}

/* 新增动画效果 */
@keyframes icon-pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

@keyframes border-glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

@keyframes card-glow-pulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
}

@keyframes icon-orbit {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes feature-glow-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

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

@keyframes emoji-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes emoji-twinkle {
    0%, 100% { opacity: 1; transform: rotate(0deg); }
    50% { opacity: 0.7; transform: rotate(180deg); }
}

@keyframes particle-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
    75% { transform: translateY(-30px) rotate(270deg); }
}

@keyframes modal-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modal-slide-in {
    from { transform: scale(0.8) translateY(-50px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes close-glow-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes footer-glow-sweep {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .colleges-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }

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

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-card {
        min-width: auto;
        padding: 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        order: -1;
    }

    .spirit-items {
        flex-direction: column;
        gap: 15px;
    }

    .motto-display {
        flex-direction: column;
        gap: 15px;
    }

    .college-nav {
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .college-btn {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .colleges-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .college-card {
        padding: 25px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 30px 25px;
    }

    .welcome-container {
        flex-direction: column;
        gap: 30px;
    }

    .welcome-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }

    .welcome-message {
        font-size: 1.1rem;
        flex-direction: column;
        gap: 10px;
    }

    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .modal-body {
        padding: 40px 20px 20px;
    }

    .modal-title {
        font-size: 2rem;
    }

    .modal-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .modal-courses-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .modal-employment-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .college-card {
        padding: 20px;
    }

    .major-chip {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .welcome-title {
        font-size: 1.8rem;
    }

    .avatar-glow {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }

    .modal-body {
        padding: 30px 15px 15px;
    }

    .modal-title {
        font-size: 1.8rem;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
}

/* 选择文本样式 */
::selection {
    background: var(--primary-color);
    color: var(--bg-dark);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--bg-dark);
}

/* 加载动画 */
.loading {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* 隐藏元素 */
.hidden {
    display: none !important;
}

/* 显示元素 */
.show {
    display: block !important;
}

.show-flex {
    display: flex !important;
}
