/* Custom animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Game theme colors */
:root {
    --primary-color: #FF6B6B;  /* 可爱的珊瑚红 */
    --secondary-color: #4ECDC4;  /* 清新的薄荷绿 */
    --accent-color: #FFE66D;  /* 明亮的黄色 */
    --background-color: #F7F9FC;  /* 柔和的背景色 */
    --text-color: #2C3E50;  /* 深色文字 */
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Press Start 2P', cursive;
}

/* Header styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 4px solid var(--primary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo {
    color: var(--primary-color);
    text-shadow: 2px 2px 0px var(--accent-color);
    animation: pulse 2s infinite;
}

/* Section styles */
section {
    padding: 3rem 0;
    border-bottom: 2px dashed var(--secondary-color);
}

section h2 {
    color: var(--primary-color);
    text-shadow: 2px 2px 0px var(--accent-color);
    margin-bottom: 2rem;
}

/* Card styles */
.feature-card, .review-card, .screenshot-container {
    background-color: white;
    border: 4px solid var(--primary-color);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover, .review-card:hover, .screenshot-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Button styles */
#fullscreenBtn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    font-family: 'Press Start 2P', cursive;
    transition: all 0.3s ease;
}

#fullscreenBtn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

/* Language selector styles */
#languageSelector {
    background-color: white;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 0.5rem;
    font-family: 'Press Start 2P', cursive;
    color: var(--text-color);
}

/* Footer styles */
footer {
    background-color: var(--text-color);
    color: white;
    border-top: 4px solid var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 2rem 0;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--background-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 6px;
    border: 3px solid var(--background-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Custom styles */
.pixel-font {
    font-family: 'Press Start 2P', cursive;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
}

.feature-card {
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.screenshot-container {
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.screenshot-container img {
    transition: transform 0.3s ease;
}

.screenshot-container:hover img {
    transform: scale(1.05);
}

.review-card {
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.team-member {
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

/* Section transitions */
section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

section.initially-hidden {
    opacity: 0;
    transform: translateY(20px);
}

section.visible {
    opacity: 1;
    transform: translateY(0);
} 