
/* 全局样式与配色方案 */
body {
    margin: 0;
    font-family: 'Roboto', 'Orbitron', sans-serif;
    background: linear-gradient(135deg, #121212, #1a0033);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

header {
    text-align: center;
    background: linear-gradient(90deg, #03a9f4, #ff9800);
    color: #fff;
    padding: 30px 20px;
    font-size: 1.5em;
    font-weight: bold;
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
}

main {
    max-width: 1400px;
    margin: 0 auto;
}

article {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

h2, h3, h4 {
    color: #03a9f4;
    margin-top: 20px;
}

p {
    font-size: 1em;
    margin-bottom: 15px;
}

code {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
    font-family: 'Orbitron', monospace;
    font-size: 0.9em;
    color: #ffeb3b;
}

pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

th {
    background: rgba(0, 0, 0, 0.2);
    color: #ffeb3b;
}

.button {
    background: linear-gradient(90deg, #ff9800, #ff5722);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    transition: transform 0.2s ease;
}

.button:hover {
    transform: scale(1.1);
}

.follow-effect {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.grid-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}

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

    header {
        font-size: 1.2em;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    header {
        font-size: 1em;
    }

    article {
        padding: 15px;
    }
}

