:root {
    --primary-color: #2c3e50;
    --text-color: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    color: var(--text-color);
}

.hero {
    text-align: center;
    padding: 100px 20px;
    background: rgba(0, 0, 0, 0.3);
}

/* 打字机效果 */
.typing-text {
    display: inline-block;
    margin: 0 auto;
    position: relative;
    white-space: nowrap;
}

/* 确保文字在动画完成后保持可见 */
.typing-text::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 0;
    height: 100%;
    width: 2px;
    background: white;
    animation: blink 0.5s step-end infinite;
}

@keyframes blink {
    from, to { 
        opacity: 1; 
    }
    50% { 
        opacity: 0; 
    }
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card.pink {
    background: linear-gradient(45deg, rgba(255, 192, 203, 0.2), rgba(255, 182, 193, 0.2));
}

.category-card.purple {
    background: linear-gradient(45deg, rgba(147, 112, 219, 0.2), rgba(138, 43, 226, 0.2));
}

.category-card.green {
    background: linear-gradient(45deg, rgba(144, 238, 144, 0.2), rgba(50, 205, 50, 0.2));
}

.category-card.blue {
    background: linear-gradient(45deg, rgba(135, 206, 235, 0.2), rgba(30, 144, 255, 0.2));
}

.category-card.navy {
    background: linear-gradient(45deg, rgba(0, 0, 128, 0.2), rgba(25, 25, 112, 0.2));
}

.category-card.teal {
    background: linear-gradient(45deg, rgba(0, 128, 128, 0.2), rgba(32, 178, 170, 0.2));
}

.category-card.cyan {
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.2), rgba(224, 255, 255, 0.2));
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .hero {
        padding: 50px 20px;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
} 