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

h1, h2, h3 {
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

a {
    color: #38E54D;
    text-decoration: none;
}

a:hover {
    color: #FF007F;
}

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

/* 布局与网格系统 */
.grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px 0;
}

.card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-10px);
}

/* 动画与微交互 */
button {
    background: linear-gradient(135deg, #0A1F44, #6C5CE7);
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: linear-gradient(135deg, #6C5CE7, #0A1F44);
}

button:hover::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    from {
        transform: scale(0);
        opacity: 1;
    }
    to {
        transform: scale(2);
        opacity: 0;
    }
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #FFFFFF;
    border-radius: 50%;
    animation: move-particles 5s infinite linear;
}

@keyframes move-particles {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100vh); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

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

@media (min-width: 1200px) {
    .container {
        padding: 40px;
    }
}

/* 特殊提示 */
.tip {
    text-align: center;
    font-size: 14px;
    color: #FF007F;
    margin-top: 20px;
}

