
/* 全局样式设置 */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #1e213a, #000000);
    color: white;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Mono', monospace;
    margin-top: 2rem;
}

h1 {
    font-size: 3rem;
    text-align: center;
    position: relative;
    color: #ffffff;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #35ff6c;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

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

.grid-item {
    background-color: rgba(30, 33, 58, 0.8);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.main-content {
    grid-column: 1 / 2;
}

.sidebar {
    grid-column: 2 / 3;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #35ff6c;
    color: black;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.button:hover::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple 0.5s ease-out;
}

@keyframes ripple {
    to {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 5px;
    border-radius: 4px;
    font-family: 'Roboto Mono', monospace;
}

pre {
    background: #1e213a;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    border: 1px solid #35ff6c;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #35ff6c;
    color: black;
}

.footer {
    text-align: center;
    padding: 20px;
    background: linear-gradient(to right, #1e213a, #000000);
    margin-top: 40px;
}

.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::before {
    content: '';
    position: absolute;
    background: radial-gradient(circle, #35ff6c 10%, transparent 10.01%);
    width: 100%;
    height: 100%;
    transform: scale(10);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
}

.ripple-effect:hover::before {
    transform: scale(0);
    opacity: 0.5;
}

