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

h1, h2, h3 {
    color: #4CAF50;
    font-weight: bold;
}

p {
    font-size: 1rem;
    margin-bottom: 1.2rem;
}

a {
    color: #FFEB3B;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFC107;
}

/* 布局与容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

header {
    background: linear-gradient(135deg, #1A237E, #6200EA);
    padding: 40px 20px;
    text-align: center;
    color: white;
    position: relative;
}

header h1 {
    font-size: 2.5rem;
    margin: 0;
}

header p {
    font-size: 1.2rem;
    margin-top: 10px;
}

.module {
    background: #424242;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

/* 图形与装饰 */
.hexagon {
    width: 100px;
    height: 57.74px;
    background-color: #FFEB3B;
    position: relative;
    margin: 20px auto;
}

.hexagon::before,
.hexagon::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
}

.hexagon::before {
    bottom: 100%;
    border-bottom: 28.87px solid #FFEB3B;
}

.hexagon::after {
    top: 100%;
    border-top: 28.87px solid #FFEB3B;
}

/* 动画效果 */
.button {
    background-color: #2196F3;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.button:hover {
    background-color: #0D47A1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* 响应式设计 */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header {
        padding: 20px;
    }

    header h1 {
        font-size: 1.5rem;
    }

    header p {
        font-size: 1rem;
    }
}

/* 材质与质感 */
.metallic {
    background-color: #BDBDBD;
    border-radius: 10px;
    box-shadow: 
        inset 0 0 5px rgba(255, 255, 255, 0.5),
        0 0 10px rgba(0, 0, 0, 0.3);
}

/* 提示信息 */
.notice {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
    margin: 20px 0;
    border-radius: 5px;
}

