* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #dc143c 0%, #b91c3c 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 800px;
    width: 90%;
    backdrop-filter: blur(10px);
    position: relative;
}

header {
    margin-bottom: 40px;
}

#pageTitle {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.country-item {
    background: white;
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.country-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: #dc143c;
}

.country-flag {
    font-size: 3rem;
    margin-bottom: 10px;
    display: block;
}

.country-name {
    font-size: 1rem;
    color: #333;
    font-weight: 600;
}

footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

footer p {
    color: #999;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 20px;
        margin: 20px;
    }
    
    #pageTitle {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .countries-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 15px;
    }
    
    .country-item {
        padding: 15px;
    }
    
    .country-flag {
        font-size: 2.5rem;
    }
}

/* 加载动画 */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* 点击效果 */
.country-item:active {
    transform: scale(0.95);
}

/* SEO内容样式 */
.seo-content {
    margin-top: 40px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    text-align: left;
}

.seo-content h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.seo-content h3 {
    color: #555;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.seo-content p {
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.seo-content ul {
    list-style-type: disc;
    padding-left: 30px;
    margin-bottom: 15px;
}

.seo-content li {
    margin-bottom: 8px;
    color: #666;
    line-height: 1.5;
} 