@font-face {
    font-family: 'Microsoft YaHei';
    src: local('Microsoft YaHei'), local('SimHei');
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    background-color: #000;
    color: #00ff88;
    line-height: 1.6;
    overflow-x: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    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: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ff88;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-logo i {
    font-size: 1.8rem;
}

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

.nav-link {
    text-decoration: none;
    color: #00ff88;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #00cc6a;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00ff88;
    transition: width 0.3s ease;
}

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

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    letter-spacing: 8px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.8;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    border: 2px solid #00ff88;
    color: #00ff88;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #00ff88;
    color: #000;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.6);
}

.hero-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.title-line {
    width: 60px;
    height: 3px;
    background: #00ff88;
    margin: 0 auto;
    border-radius: 2px;
    animation: lineGrow 0.8s ease;
}

@keyframes lineGrow {
    from {
        width: 0;
    }
    to {
        width: 60px;
    }
}

.motto-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #000 0%, #0a1a0a 100%);
}

.motto-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.motto-item {
    text-align: center;
    padding: 30px;
    background: rgba(0, 255, 136, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
}

.motto-item:hover {
    transform: translateY(-10px);
    background: rgba(0, 255, 136, 0.1);
    border-color: #00ff88;
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.2);
}

.motto-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.motto-item:hover .motto-icon {
    transform: scale(1.1);
    background: rgba(0, 255, 136, 0.2);
}

.motto-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.motto-item p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.school-section {
    padding: 80px 20px;
    background: #000;
}

.school-content {
    max-width: 1200px;
    margin: 0 auto;
}

.school-text {
    margin-bottom: 50px;
}

.school-text h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #00ff88;
}

.school-text p {
    margin-bottom: 20px;
    opacity: 0.85;
    text-indent: 2em;
}

.school-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: rgba(0, 255, 136, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
    background: rgba(0, 255, 136, 0.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ff88;
    margin-bottom: 10px;
}

.stat-item p {
    opacity: 0.7;
}

.achievements-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #000 0%, #0a1a0a 100%);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.achievement-card {
    background: rgba(0, 255, 136, 0.05);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    border-color: #00ff88;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
    font-size: 1.5rem;
}

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

.achievement-card p {
    font-size: 0.85rem;
    opacity: 0.7;
}

.news-section {
    padding: 80px 20px;
    background: #000;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    background: rgba(0, 255, 136, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.news-image {
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 255, 136, 0.1);
    font-size: 3rem;
    transition: all 0.3s ease;
}

.news-card:hover .news-image {
    background: rgba(0, 255, 136, 0.2);
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.news-content p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 15px;
}

.news-date {
    font-size: 0.8rem;
    opacity: 0.5;
}

.contact-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #000 0%, #0a1a0a 100%);
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: #00ff88;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
}

.contact-item h4 {
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-item p {
    opacity: 0.8;
}

.contact-map {
    background: rgba(0, 255, 136, 0.05);
    border-radius: 15px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-placeholder {
    text-align: center;
    color: #00ff88;
    opacity: 0.6;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.footer {
    background: #000;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 255, 136, 0.2);
}

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

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer p {
    opacity: 0.6;
    margin-bottom: 5px;
}

@media (max-width: 992px) {
    .motto-container,
    .school-stats,
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        gap: 30px;
        transition: left 0.3s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2rem;
        letter-spacing: 4px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .motto-container,
    .school-stats,
    .achievements-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

.hero-title,
.section-title h2,
.motto-item h3,
.stat-number {
    font-weight: 700;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}