
/* 全局样式定义 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #121212, #1C1C1C);
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, #1A1A1A, #282828);
    border-bottom: 1px solid #00FFC8;
}

.header h1 {
    font-size: 3rem;
    color: #00FFC8;
    text-shadow: 0 0 10px #00FFC8, 0 0 20px #00FFC8;
    margin: 0;
}

.header p {
    font-size: 1.2rem;
    color: #FF6F00;
    margin-top: 10px;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
    margin-top: 40px;
}

.module-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #00FFC8;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.module-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #00FFC8;
}

.module-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.module-item h3 {
    font-size: 1.5rem;
    color: #00FFC8;
    margin-top: 15px;
}

.module-item p {
    color: #FFFFFF;
    font-size: 1rem;
    margin-top: 10px;
}

.glow-title {
    font-family: 'Roboto', sans-serif;
    text-shadow: 0 0 5px #00FFC8, 0 0 10px #00FFC8, 0 0 20px #00FFC8;
}

.button-hover {
    position: relative;
    overflow: hidden;
    display: inline-block;
    padding: 10px 20px;
    background-color: #1A1A1A;
    color: #FFFFFF;
    border: 1px solid #00FFC8;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    cursor: pointer;
    margin-top: 20px;
}

.button-hover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #00FFC8;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: width 0.5s ease, height 0.5s ease;
}

.button-hover:hover::before {
    width: 200px;
    height: 200px;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1A1A1A;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #00FFC8;
}

.nav-link {
    color: #FFFFFF;
    text-decoration: none;
    margin-right: 20px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #FF6F00;
}

@media (max-width: 768px) {
    .module-grid {
        grid-template-columns: 1fr;
    }

    .nav-bar {
        flex-direction: column;
    }

    .header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .header {
        padding: 20px 0;
    }

    .module-item {
        padding: 15px;
    }
}

