/* 根元素变量设置全局样式 */
:root {
    --primary: #1a1a2e;  /* 柔和的青灰绿 */
    --secondary: #16213e;  /* 浅苔藓绿 */
    --accent: #0f3460;  /* 灰绿色强调色 */
    --highlight: #e94560;
    --light: #f8f9fa;  /* 米白背景 */
    --dark: #121212;  /* 深灰文字 */
    --text-light: #e6e6e6;
    --text-dark: #333;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-accent: linear-gradient(135deg, var(--accent), var(--highlight));
    --white: #FFFFFF;
    --gray: #E1E5EA;
}

/* 全局样式重置与字体规范 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
}

/* 基础页面样式 */
body {
    background-color: var(--dark);
    color: var(--text-light);
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.1) 30%),
        radial-gradient(circle at 90% 80%, rgba(15, 52, 96, 0.6) 0%, rgba(22, 33, 62, 0.1) 50%);
    background-attachment: fixed;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, transparent 49.9%, rgba(233, 69, 96, 0.05) 50%),
        linear-gradient(135deg, rgba(233, 69, 96, 0.05) 50%, transparent 50.1%);
    background-size: 80px 80px;
    z-index: -1;
    opacity: 0.2;
}

body.no-scroll {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* 标题统一样式 */
h1, h2, h3 {
    font-weight: 500;
}

/* 登录遮罩层样式 */
#authOverlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 20, 0.95) !important;
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

#authOverlay.active {
    opacity: 1;
    visibility: visible;
}

#authMessage {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    text-align: center;
    max-width: 600px;
    line-height: 1.4;
}

#overlayLoginButton {
    padding: 15px 40px;
    font-size: 1.2rem;
    background: var(--gradient-accent);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.3);
}

#overlayLoginButton:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(233, 69, 96, 0.4);
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 5%;
    box-shadow: var(--shadow-md);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--highlight);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
    opacity: 0.8;
}

.nav-links a:hover, .nav-links a.active {
    opacity: 1;
    color: var(--highlight);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--highlight);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.auth-btn {
    padding: 10px 25px;
    background: var(--gradient-accent);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.auth-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* 下拉菜单样式 */
.dropdown-menu {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-toggle:hover {
    background: rgba(var(--secondary), 0.1);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--soft-shadow);
    border-radius: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1001;
}

.dropdown-menu:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid var(--gray);
}

.dropdown-content a:hover {
    background: rgba(var(--secondary), 0.05);
    padding-left: 25px;
}

/* 移动端菜单按钮 */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
}

/* 移动端菜单线样式 */
.hamburger .line {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

/* 移动端菜单激活状态样式 */
.hamburger.active .line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active .line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* 登录弹窗基础样式 */
.login-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 500px;
    background: rgba(30, 30, 46, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 40px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.login-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.login-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    color: var(--text-light);
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.login-close:hover {
    opacity: 1;
    color: var(--highlight);
}

/* 选项卡页面样式 */
.tab-page {
    display: none;
    width: 100%;
    padding: 20px;
}

.tab-page.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* 修复选项卡样式 */
.form-tabs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.tab {
    flex: 1;
    padding: 15px;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.tab.active {
    background: var(--highlight);
    color: white;
}

.login-input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

.login-input:focus {
    outline: none;
    border-color: var(--highlight);
    box-shadow: 0 0 0 2px rgba(233, 69, 96, 0.2);
}

.login-btn {
    width: 100%;
    padding: 15px;
    background: var(--gradient-accent);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
}

.error-message {
    color: var(--highlight);
    margin-top: 10px;
    font-size: 0.9rem;
    display: none;
}

/* 登录按钮样式 */
.login-float-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 10000;
    transition: var(--transition);
}

.login-float-button:hover {
    background-color: #899c71;
}

/* 首页区域样式 */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 10%;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    transform: translateY(50px);
    opacity: 0;
    animation: fadeUp 1s forwards 0.3s;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #e94560);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.cta-button {
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-primary {
    background: var(--gradient-accent);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.3);
}

.cta-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.cta-button:hover {
    transform: translateY(-5px);
}

.cta-primary:hover {
    box-shadow: 0 8px 30px rgba(233, 69, 96, 0.4);
}

.cta-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--highlight);
}

.hero-pattern {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
    max-width: 600px;
    opacity: 0.8;
    z-index: 1;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 24px;
    animation: bounce 2s infinite;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.scroll-down:hover {
    opacity: 1;
}

/* 内容区域 */
.section {
    padding: 120px 10%;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--highlight);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 4rem;
    opacity: 0.8;
    font-weight: 300;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.card {
    background: rgba(30, 30, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(233, 69, 96, 0.2);
}

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

.card-icon {
    font-size: 2.5rem;
    color: var(--highlight);
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-content {
    opacity: 0.8;
    line-height: 1.7;
}

/* 时间线 */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 4rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 4rem;
}

.timeline-dot {
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-accent);
    box-shadow: 0 0 0 6px rgba(233, 69, 96, 0.2);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-year {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--highlight);
    margin-bottom: 0.5rem;
}

/* 工具站点 */
.tools-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.tool-card {
    background: rgba(30, 30, 46, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(233, 69, 96, 0.2);
}

.tool-card i {
    font-size: 3rem;
    color: var(--highlight);
    margin-bottom: 1.5rem;
}

.tool-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.tool-card p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

/* 页脚 */
footer {
    background: rgba(10, 10, 20, 0.9);
    padding: 80px 10% 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-about {
    max-width: 400px;
    opacity: 0.8;
    line-height: 1.8;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--highlight);
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--highlight);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--highlight);
    transform: translateY(-5px);
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0.7;
    font-size: 0.9rem;
}

.school-logo {
    width: 120px;
    height: 120px;
    margin: 15px auto 25px;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: var(--transition);
}

.school-logo:hover {
    opacity: 1;
}

.contact-info {
    margin: 20px 0;
    line-height: 1.8;
    opacity: 0.8;
}

.beian {
    margin-top: 30px;
    font-size: 0.85em;
    color: rgba(255,255,255,0.6);
}

.beian a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition);
}

.beian a:hover {
    color: var(--highlight);
}

/* 邮箱验证提示样式 */
.email-verify-tip {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: var(--white);
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 10000;
  display: none;
  animation: fadeIn 0.3s ease;
}

.email-verify-tip.active {
  display: block;
}

/* 注册验证提醒样式 */
.registration-alert {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff6b6b;
  color: white;
  padding: 18px 35px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 10001;
  display: none;
  align-items: center;
  font-size: 1.1em;
  animation: slideIn 0.3s ease-out;
}

.registration-alert.active {
  display: flex;
}

.alert-text {
  margin-right: 25px;
}

.close-alert {
  background: none;
  border: none;
  color: white;
  font-size: 1.5em;
  cursor: pointer;
  padding: 0 8px;
  transition: opacity 0.2s;
}

.close-alert:hover {
  opacity: 0.8;
}

@keyframes slideIn {
  from { top: -100px; opacity: 0; }
  to { top: 20px; opacity: 1; }
}

/* 视频弹窗样式 */
.video-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.video-modal-content {
    position: relative;
    width: 80%;
    max-width: 1000px;
    margin: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-content video {
    width: 100%;
    outline: none;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.close-video {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--white);
    font-size: 36px;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.close-video:hover {
    opacity: 1;
}

/* 悬浮窗：个人中心样式 */
.floating-panel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    background: var(--light);
    border: 1px solid var(--gray);
    border-left: 5px solid var(--accent);
    border-radius: 8px;
    box-shadow: var(--soft-shadow);
    padding: 20px;
    z-index: 999;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.floating-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.floating-panel h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
    color: var(--primary);
}

.floating-panel p {
    margin: 6px 0;
    font-size: 0.95em;
    color: #333;
}

.floating-toggle {
    position: fixed;
    bottom: 20px;
    right: 340px;
    background: var(--accent);
    color: white;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 0.9em;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    display: none;
}

.floating-toggle.active {
    display: block;
}

/* 登录提示浮窗样式 */
.login-float-tip {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--white);
    color: var(--dark);
    border-left: 4px solid var(--accent);
    padding: 12px 16px;
    border-radius: 6px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    font-size: 0.95em;
    z-index: 998;
    display: none;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
        left: 0 !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero {
        padding: 0 5%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 80px 5%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        height: 350px;
        order: -1;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--dark);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 15px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2em;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .about-image {
        height: 300px;
    }
    
    .teacher-photo {
        width: 140px;
        height: 140px;
    }
    
    .current-photo {
        width: 180px;
        height: 180px;
    }
}

/* 动画关键帧定义 */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* 修改导航栏品牌和下拉菜单样式 */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff; /* 改为纯白色 */
    text-shadow: 0 0 8px rgba(233, 69, 96, 0.5); /* 添加微光效果 */
    letter-spacing: 1px;
    transition: var(--transition);
  }
  
  .logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 12px var(--highlight);
  }
  
  .dropdown-toggle {
    color: #fff !important; /* 改为白色 */
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .dropdown-toggle:hover {
    background: rgba(233, 69, 96, 0.2);
  }
  
  .dropdown-toggle i {
    font-size: 0.9rem;
    transition: transform 0.3s;
  }
  
  .dropdown-menu:hover .dropdown-toggle i {
    transform: rotate(180deg);
  }
  
  /* 移动端适配 */
  @media (max-width: 768px) {
    .nav-brand {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
    }
  }

  /* 统一导航栏文字颜色为白色 */
.navbar {
    /* 保持原有样式 */
    color: #fff; /* 新增文字颜色 */
  }
  
  .nav-links a {
    color: #fff !important; /* 改为纯白色 */
    opacity: 0.9;
    font-weight: 600; /* 增加字重 */
  }
  
  .nav-links a:hover, 
  .nav-links a.active {
    color: var(--highlight) !important;
    opacity: 1;
  }
  
  /* 增加文字阴影提高可读性 */
  .nav-links a::after {
    height: 3px; /* 加粗下划线 */
    box-shadow: 0 0 8px var(--highlight); /* 添加发光效果 */
  }

  /* 修复登录输入框样式 */
.login-input {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 20px;
    background: rgba(20, 20, 35, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .login-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
  }
  
  .login-input:focus {
    outline: none;
    border-color: var(--highlight);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.3);
    background: rgba(25, 25, 45, 0.8);
  }
  
  /* 错误消息样式增强 */
  .error-message {
    color: #ff6b6b;
    background: rgba(255, 0, 0, 0.1);
    padding: 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    display: block;
    text-align: center;
    font-weight: 500;
  }
  
  /* 登录按钮样式微调 */
  .login-btn {
    margin-top: 20px;
    background: var(--gradient-accent);
    position: relative;
    overflow: hidden;
  }
  
  .login-btn:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
  }

  /* 添加悬停动画效果 */
.nav-links a {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  .nav-links a:hover {
    transform: translateY(-3px);
  }

  .hero-content h1 {
    font-size: 5.5rem; /* 增大字号 */
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #ffffff 0%, #e94560 100%); /* 优化渐变角度 */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1.5px;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); /* 添加文字阴影增加深度 */
    position: relative;
    display: inline-block;
    animation: floatTitle 3s ease-in-out infinite alternate;
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    opacity: 0.9;
    max-width: 700px;
    padding: 12px 25px;
    border-radius: 50px;
    background: rgba(30, 30, 46, 0.4); /* 添加背景增强可读性 */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: inline-block;
}

/* 添加标题浮动动画 */
@keyframes floatTitle {
    0% {
        transform: translateY(0);
        text-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    }
    100% {
        transform: translateY(-8px);
        text-shadow: 0 12px 30px rgba(233, 69, 96, 0.4);
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 4rem;
    }
    .hero-content p {
        font-size: 1.5rem;
        padding: 10px 20px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
        letter-spacing: -0.5px;
    }
    .hero-content p {
        font-size: 1.2rem;
        padding: 8px 16px;
    }
}

/* 登录弹窗按钮样式修复 */
.login-btn {
    width: 100%;
    padding: 15px;
    background: var(--gradient-accent);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
  }
  
  .login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
  }
  
  .login-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: -1;
  }
  
  .login-btn:hover::after {
    transform: translateX(0);
  }
  
  /* 添加按钮图标 */
  .login-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
  }
  
  /* 输入框样式修复 */
  .login-input {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 20px;
    background: rgba(20, 20, 35, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .login-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
  }
  
  .login-input:focus {
    outline: none;
    border-color: var(--highlight);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.3);
    background: rgba(25, 25, 45, 0.8);
  }

  /* styles.css 添加部分 */
/* 简介部分样式 */
#about {
    background: rgba(18, 18, 30, 0.9);
    backdrop-filter: blur(10px);
    padding: 100px 10%;
    position: relative;
    overflow: hidden;
  }
  
  #about::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
      radial-gradient(circle at 20% 30%, rgba(233, 69, 96, 0.1) 0%, transparent 40%),
      radial-gradient(circle at 80% 70%, rgba(26, 26, 46, 0.2) 0%, transparent 50%);
    z-index: -1;
  }
  
  .about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
  }
  
  .about-card {
    background: rgba(30, 30, 46, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(233, 69, 96, 0.3);
  }
  
  .about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
  }
  
  .about-card:hover::before {
    transform: scaleX(1);
  }
  
  .about-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 60px;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 30px rgba(233, 69, 96, 0.3);
    animation: float 6s ease-in-out infinite;
  }
  
  .about-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(15, 52, 96, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 40px;
    color: var(--highlight);
    border: 2px solid rgba(233, 69, 96, 0.3);
  }
  
  .about-info {
    text-align: center;
    flex-grow: 1;
  }
  
  .about-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--highlight);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  
  .about-info p {
    margin: 15px 0;
    line-height: 1.7;
    opacity: 0.9;
    font-size: 1.1rem;
  }
  
  .about-info strong {
    color: var(--highlight);
    font-weight: 600;
  }
  
  /* 响应式调整 */
  @media (max-width: 992px) {
    .about-content {
      grid-template-columns: 1fr;
      max-width: 600px;
      margin: 50px auto 0;
    }
  }
  
  @media (max-width: 576px) {
    .about-card {
      padding: 25px 20px;
    }
    
    .about-avatar {
      width: 100px;
      height: 100px;
      font-size: 50px;
    }
  }