@import url('https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=Noto+Serif+SC:wght@400;700;900&family=ZCOOL+XiaoWei&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c7a7b;
    --secondary-color: #38b2ac;
    --accent-color: #81e6d9;
    --text-color: #2d3748;
    --light-bg: #f7fafc;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.hero {
    background: linear-gradient(135deg, rgba(44, 122, 123, 0.85), rgba(56, 178, 172, 0.85)),
                url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=周口市文化风景，中国传统文化，历史建筑，自然风光&image_size=landscape_16_9') center/cover;
    color: white;
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(129, 230, 217, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(56, 178, 172, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.art-title {
    font-family: 'Ma Shan Zheng', 'ZCOOL XiaoWei', 'Noto Serif SC', serif;
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.3em;
    animation: fadeInUp 1s ease-out;
}

.art-subtitle {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.art-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 2;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-divider {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    margin: 2rem auto;
    animation: expandWidth 1.5s ease-out 0.6s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Noto Serif SC', serif;
    font-size: 3rem;
    font-weight: 900;
    display: block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 120px;
    }
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--primary-color);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.card-img[src*="via.placeholder.com"],
.card-img[src^="data:image/svg+xml"] {
    animation: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.card-category {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

.region-grid,
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.region-card,
.category-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    cursor: pointer;
}

.region-card:hover,
.category-card:hover {
    transform: translateY(-5px);
}

.region-icon,
.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.detail-container {
    background: var(--white);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.detail-header {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
}

.detail-img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

.detail-img[src*="via.placeholder.com"],
.detail-img[src^="data:image/svg+xml"] {
    animation: none;
    background: transparent;
}

.detail-info h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.breadcrumb {
    margin: 1rem 0;
    color: #718096;
}

.breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
}

.about-content {
    background: var(--white);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.poster-decoration {
    position: absolute;
    pointer-events: none;
    opacity: 0.15;
}

.poster-decoration.top-left {
    top: 20px;
    left: 20px;
    width: 100px;
    height: 100px;
    border-top: 3px solid white;
    border-left: 3px solid white;
}

.poster-decoration.top-right {
    top: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    border-top: 3px solid white;
    border-right: 3px solid white;
}

.poster-decoration.bottom-left {
    bottom: 20px;
    left: 20px;
    width: 100px;
    height: 100px;
    border-bottom: 3px solid white;
    border-left: 3px solid white;
}

.poster-decoration.bottom-right {
    bottom: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    border-bottom: 3px solid white;
    border-right: 3px solid white;
}

.hero-tags {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1s both;
}

.hero-tag {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    font-size: 0.95rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s;
}

.hero-tag:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .nav-links {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .art-title {
        font-size: 2.5rem;
        letter-spacing: 0.15em;
    }

    .art-subtitle {
        font-size: 1.2rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero {
        padding: 5rem 0;
    }

    .detail-header {
        flex-direction: column;
    }

    .detail-img {
        width: 100%;
        height: 250px;
    }
}
