
/* 基础样式与全局设置 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #000000, #3c1642, #0f2b2a);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-family: 'Press Start 2P', monospace;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
}
p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}
a {
    color: #ffcc00;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #ff9900;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.layout {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    gap: 20px;
}
@media (max-width: 1024px) {
    .layout {
        grid-template-columns: 1fr;
    }
}
.sidebar {
    background: #222;
    color: #ccc;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}
.sidebar::before {
    content: 'RETRO SECURITY > MAIN MENU';
    display: block;
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 10px;
}
.content {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}
.notifications {
    background: #222;
    color: #ccc;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}
.notifications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center/cover;
    opacity: 0.1;
    z-index: -1;
}
.code-block {
    background: #111;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
}
.code-block::before {
    content: 'CODE EXAMPLE';
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 0.8rem;
    color: #aaa;
}
.button {
    background: #ffcc00;
    color: #000;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.button:hover {
    animation: shake 0.3s;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
.crt-effect {
    filter: drop-shadow(0 0 10px #ffcc00);
    animation: crt 2s infinite;
}
@keyframes crt {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}
.icon {
    fill: #ffcc00;
    transition: fill 0.3s ease;
}
.icon:hover {
    fill: #ff9900;
}
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 20px;
}
.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}
@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

