
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&family=Roboto:wght@400&display=swap');

:root {
    --primary-color: #8BC34A; /* 橄榄绿 */
    --secondary-color: #F57C00; /* 金橙色 */
    --tech-color: #1E88E5; /* 电光蓝 */
    --neutral-color: #9E9E9E; /* 银灰色 */
    --background-gradient: radial-gradient(circle, rgb(255, 87, 34), transparent);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--primary-color);
    color: #333;
    line-height: 1.6;
}

header {
    background: var(--primary-color);
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: white;
    letter-spacing: 2px;
}

.future-gate {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center/contain;
    animation: gate-open 15s linear infinite;
}

@keyframes gate-open {
    0% { transform: translateX(-50%) rotate(0deg); }
    50% { transform: translateX(-50%) rotate(360deg); }
    100% { transform: translateX(-50%) rotate(720deg); }
}

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

.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease;
}

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

.button {
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

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

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

.footer {
    background: var(--neutral-color);
    color: #fff;
    text-align: center;
    padding: 20px;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
}

.article-section {
    padding: 20px;
    background: #f0f0f0;
}

.article-section h2 {
    font-family: 'Poppins', sans-serif;
    color: var(--tech-color);
    margin-bottom: 10px;
}

.article-section article {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.article-section pre {
    background: #e0e0e0;
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
}

.article-section code {
    font-family: 'Courier New', Courier, monospace;
    background: #e0e0e0;
    padding: 2px 4px;
    border-radius: 4px;
}

