:root {
    --primary-color: #8B4513;
    --secondary-color: #D4A574;
    --accent-color: #C41E3A;
    --bg-color: #FDF5E6;
    --text-color: #333333;
    --light-text: #666666;
    --white: #FFFFFF;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    max-width: 1200px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.logo h1 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    font-size: 15px;
    color: var(--text-color);
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav a:hover,
.nav a.active {
    color: var(--primary-color);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-color);
    transition: var(--transition);
}

.banner {
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 500px;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('banner.jpg.jpeg') center/cover;
    animation: zoomIn 20s ease-in-out infinite;
}

.banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.85) 0%, rgba(212, 165, 116, 0.85) 100%);
}

@keyframes zoomIn {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.bubbles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.bubble {
    position: absolute;
    bottom: -20px;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: floatUp 8s ease-in infinite;
}

.bubble:nth-child(1) { left: 10%; animation-duration: 6s; animation-delay: 0s; width: 15px; height: 15px; }
.bubble:nth-child(2) { left: 20%; animation-duration: 7s; animation-delay: 1s; width: 25px; height: 25px; }
.bubble:nth-child(3) { left: 30%; animation-duration: 9s; animation-delay: 2s; width: 18px; height: 18px; }
.bubble:nth-child(4) { left: 45%; animation-duration: 6.5s; animation-delay: 0.5s; width: 22px; height: 22px; }
.bubble:nth-child(5) { left: 55%; animation-duration: 8s; animation-delay: 3s; width: 16px; height: 16px; }
.bubble:nth-child(6) { left: 70%; animation-duration: 7.5s; animation-delay: 1.5s; width: 20px; height: 20px; }
.bubble:nth-child(7) { left: 80%; animation-duration: 6s; animation-delay: 2.5s; width: 14px; height: 14px; }
.bubble:nth-child(8) { left: 15%; animation-duration: 8.5s; animation-delay: 4s; width: 28px; height: 28px; }
.bubble:nth-child(9) { left: 65%; animation-duration: 7s; animation-delay: 0.5s; width: 17px; height: 17px; }
.bubble:nth-child(10) { left: 90%; animation-duration: 6.5s; animation-delay: 3.5s; width: 24px; height: 24px; }

@keyframes floatUp {
    0% {
        bottom: -20px;
        opacity: 0;
        transform: translateX(0) scale(1);
    }
    10% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.4;
        transform: translateX(20px) scale(1.1);
    }
    90% {
        opacity: 0.3;
    }
    100% {
        bottom: 100%;
        opacity: 0;
        transform: translateX(-20px) scale(0.8);
    }
}

.banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.banner h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    font-family: "Noto Serif SC", serif;
}

.banner p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 32px;
}

.banner-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    font-family: "Noto Serif SC", serif;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.section {
    padding: 64px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: 28px;
    color: var(--primary-color);
    font-family: "Noto Serif SC", serif;
    margin-bottom: 12px;
}

.section-title p {
    color: var(--light-text);
    font-size: 15px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--white);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.category-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.category-card h3 {
    font-size: 15px;
    color: var(--text-color);
    margin-bottom: 8px;
}

.category-card p {
    font-size: 12px;
    color: var(--light-text);
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.item-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.item-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.item-image {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    opacity: 0.3;
    pointer-events: none;
}

.item-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent-color);
    color: var(--white);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    z-index: 1;
}

.item-content {
    padding: 16px;
}

.item-content h3 {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 8px;
}

.item-content p {
    font-size: 13px;
    color: var(--light-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.regions-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}

.region-btn {
    background: var(--white);
    border: 2px solid var(--secondary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.region-btn:hover,
.region-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.regions-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.region-section h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
    font-family: "Noto Serif SC", serif;
}

.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-4px);
}

.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 64px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 32px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 16px;
    font-family: "Noto Serif SC", serif;
}

.footer-section p,
.footer-section a {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.8;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 13px;
    opacity: 0.8;
}

.detail-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 48px 0;
    text-align: center;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 24px;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.detail-header h1 {
    font-size: 36px;
    font-family: "Noto Serif SC", serif;
    margin-bottom: 16px;
}

.detail-tags {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.detail-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
}

.detail-content {
    background: var(--white);
    border-radius: 16px;
    margin: -32px auto 32px;
    max-width: 900px;
    padding: 32px;
    box-shadow: var(--shadow);
    position: relative;
}

.detail-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    color: var(--white);
    margin-bottom: 24px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-link {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 16px;
    transition: var(--transition);
}

.video-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.detail-section {
    margin-bottom: 24px;
}

.detail-section h2 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-family: "Noto Serif SC", serif;
}

.detail-section p {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.8;
}

.detail-sidebar {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
}

.detail-sidebar h3 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.detail-sidebar ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.detail-sidebar li {
    background: var(--white);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 13px;
    color: var(--text-color);
}

.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.mobile-nav ul {
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
}

.mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-color);
    padding: 4px 12px;
}

.mobile-nav span:first-child {
    font-size: 20px;
}

.mobile-nav a.active {
    color: var(--primary-color);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--light-text);
}

.empty-state span {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
}

@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .items-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 12px;
    }

    .nav {
        display: none;
        flex-direction: column;
        gap: 16px;
        width: 100%;
        text-align: center;
        padding: 16px 0;
    }

    .nav.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        right: 16px;
        top: 16px;
    }

    .banner {
        padding: 0;
        height: 400px;
    }

    .banner h2 {
        font-size: 28px;
    }

    .banner-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 28px;
    }

    .section {
        padding: 48px 0;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .category-card {
        padding: 16px 12px;
    }

    .category-icon {
        font-size: 32px;
    }

    .items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .item-image {
        height: 120px;
    }

    .regions-list {
        grid-template-columns: 1fr;
    }

    .detail-header h1 {
        font-size: 26px;
    }

    .detail-content {
        margin: -20px 16px 20px;
        padding: 20px;
    }

    .detail-image {
        height: 200px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .mobile-nav {
        display: block;
    }

    body {
        padding-bottom: 60px;
    }

    .back-to-top {
        bottom: 70px;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .items-grid {
        grid-template-columns: 1fr;
    }

    .banner-stats {
        flex-direction: column;
        gap: 16px;
    }
}
