
:root {
    --primary-color: #0d1b2a;
    --secondary-color: #162447;
    --accent-color: #f85c70;
    --text-color: #e0e1dd;
    --code-bg: #1b2838;
    --font-stack: 'Montserrat', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-stack);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-color);
    line-height: 1.6;
    animation: aurora-move 15s linear infinite;
}

@keyframes aurora-move {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

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

header {
    text-align: center;
    padding: 50px 20px;
    background: radial-gradient(circle, rgba(255,87,34,0.2), transparent);
}

header h1 {
    font-size: 3rem;
    color: var(--accent-color);
    text-shadow: 2px 2px 10px rgba(248,92,112,0.5);
}

section {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    margin-bottom: 30px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

h2, h3 {
    color: var(--accent-color);
    position: relative;
}

h2::before, h3::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translateY(-50%);
}

p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

pre {
    background: var(--code-bg);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.9rem;
    position: relative;
}

pre code {
    display: block;
    color: #61dbfb;
}

pre::before {
    content: '代码示例';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 0.8rem;
    color: #ccc;
}

.button {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(248,92,112,0.5);
}

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

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 20px;
    }
    
    pre {
        font-size: 0.8rem;
    }
}

