
/* 页面整体样式 */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #000033, #1a1aff);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Roboto Mono', monospace;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: 48px;
    text-align: center;
    margin: 20px 0;
    background: linear-gradient(to right, #39ff14, #ff9900);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.grid-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.highlight {
    color: #39ff14;
    font-size: 18px;
    font-weight: bold;
}

.code-block {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 5px;
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-x: auto;
    margin: 20px 0;
}

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
}

.particle-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

@keyframes particles {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #39ff14;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hexagon {
    width: 100px;
    height: 57.74px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    margin: 20px auto;
}

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

.hexagon::before {
    bottom: 100%;
    border-bottom: 28.87px solid rgba(255, 255, 255, 0.2);
}

.hexagon::after {
    top: 100%;
    border-top: 28.87px solid rgba(255, 255, 255, 0.2);
}

.icon:hover {
    transform: scale(1.2);
    transition: all 0.3s ease-in-out;
}

footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-size: 14px;
}

