* {margin: 0;padding: 0;box-sizing: border-box;font-family: "Microsoft Yahei", sans-serif;}
body {background-color: #F5F7FA;color: #333;line-height: 1.6;}
.blue-bg {background-color: #1E88E5;}
.blue-text {color: #1E88E5;}
.gold-text {color: #FFC107;}
.red-text {color: #F44336;}
.white-text {color: #fff;}
.container {width: 95%;max-width: 1400px;margin: 0 auto;padding: 15px;}
.header {padding: 12px 0;border-bottom: 1px solid #E0E6ED;}
.nav {display: flex;justify-content: space-between;align-items: center;}
.nav-logo {font-size: 20px;font-weight: 700;color: #1E88E5;}
.nav-menu {display: flex;gap: 30px;}
.nav-menu a {text-decoration: none;color: #333;font-weight: 500;}
.nav-menu a.active {color: #1E88E5;}
.nav-right {display: flex;align-items: center;gap: 20px;}
/* 汉堡菜单 - 默认隐藏 */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}
/* 电脑端隐藏手机菜单 */
.mobile-menu-overlay, .mobile-menu {display: none;}
.btn {padding: 8px 16px;border-radius: 4px;border: none;cursor: pointer;font-weight: 500;}
.btn-blue {background-color: #1E88E5;color: #fff;}
.btn-gold {background-color: #FFC107;color: #333;}
.card {background-color: #fff;border-radius: 8px;box-shadow: 0 2px 8px rgba(0,0,0,0.06);padding: 20px;margin-bottom: 20px;}
.card-title {font-size: 16px;font-weight: 700;margin-bottom: 15px;color: #333;border-left: 3px solid #1E88E5;padding-left: 10px;}
.flex-box {display: flex;flex-wrap: wrap;gap: 15px;}
.table {width: 100%;border-collapse: collapse;margin: 15px 0;}
.table th, .table td {padding: 12px;text-align: left;border-bottom: 1px solid #E0E6ED;}
.table th {background-color: #F8FAFC;color: #555;font-weight: 600;}
.sidebar {width: 200px;background-color: #fff;height: calc(100vh - 60px);padding: 20px;border-right: 1px solid #E0E6ED;}
.sidebar-menu {list-style: none;}
.sidebar-menu li {margin-bottom: 10px;}
.sidebar-menu a {text-decoration: none;color: #333;display: block;padding: 10px;border-radius: 4px;}
.sidebar-menu a.active {background-color: #E3F2FD;color: #1E88E5;}
.main-content {flex: 1;padding: 20px;height: calc(100vh - 60px);overflow-y: auto;}
.layout {display: flex;height: calc(100vh - 60px);}
.tag {padding: 3px 8px;border-radius: 20px;font-size: 12px;}
.tag-free {background-color: #E3F2FD;color: #1E88E5;}
.tag-vip {background-color: #FFF8E1;color: #FFC107;}
.tag-svip {background-color: #FFEBEE;color: #F44336;}

/* 平板端 (768px - 1024px) */
@media (max-width: 1024px) {
    .nav-right {gap: 10px;}
    .btn {padding: 6px 12px;font-size: 14px;}
    .logo-text {font-size: 28px;}
    .nav-logo img {height: 50px;max-width: 80px;}
    .nav-menu {gap: 15px;}
    .nav-menu a {font-size: 14px;}
}
@media (min-width: 1025px) and (max-width: 1300px) {
    .logo-text {font-size: 36px;}
    .nav-logo img {height: 60px;max-width: 90px;}
    .nav-menu {gap: 20px;}
}

/* 手机端 (最大768px) */
@media (max-width: 768px) {
    .nav-menu {display: none !important;}
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        cursor: pointer;
        z-index: 1001;
        background: none;
        border: none;
        padding: 0;
    }
    .nav-right {display: none;}
    .sidebar {width: 60px;padding: 10px;}
    .sidebar-menu a span {display: none;}
    .flex-box {flex-direction: column;}
}

/* 小屏手机 (最大480px) */
@media (max-width: 480px) {
    .nav-logo {font-size: 16px;}
    .nav-right {gap: 5px;}
    .btn {padding: 5px 8px;font-size: 12px;}
}

/* 手机端菜单遮罩层 */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s;
}
.mobile-menu-overlay.open {display: block;opacity: 1;}

/* 手机端菜单 */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background-color: #fff;
    z-index: 1000;
    flex-direction: column;
    transition: right 0.3s ease-in-out;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}
.mobile-menu.open {right: 0;display: flex;}
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #E0E6ED;
    font-weight: 600;
    color: #333;
}
.mobile-menu-close {font-size: 28px;cursor: pointer;color: #999;}
.mobile-menu a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #F5F7FA;
}
.mobile-menu a:hover {background-color: #F8FAFC;color: #1E88E5;}
.mobile-menu-auth {
    display: flex;
    gap: 15px;
    padding: 15px 20px;
    margin-top: auto;
    border-top: 1px solid #E0E6ED;
}
.mobile-menu-auth a {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
}
body.menu-open {overflow: hidden;}

/* ==================== Logo样式 ==================== */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-logo img {
    height: 100px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}
.logo-text {
    font-family: "隶书", "LiSu", "STLiti", serif;
    font-size: 48px;
    color: #1E88E5;
    white-space: nowrap;
}
@media (max-width: 768px) {
    .nav-logo img {
        height: 40px;
        max-width: 80px;
    }
    .logo-text {
        font-size: 18px;
    }
}

/* ==================== 轮播图样式 ==================== */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    background-color: #f5f5f5;
    overflow: hidden;
    position: relative;
}
.carousel-slide a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px 12px;
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    pointer-events: none;
}
.carousel-slide img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    object-position: center;
    display: block;
}
@media (max-width: 768px) {
    .carousel-container {
        margin: 10px auto;
        border-radius: 4px;
    }
    .carousel-slide img {
        height: 200px;
    }
}
.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}
.carousel-dot.active {
    background-color: #fff;
}
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.3);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}
.carousel-arrow:hover {
    background-color: rgba(0,0,0,0.5);
}
.carousel-arrow.prev {
    left: 10px;
}
.carousel-arrow.next {
    right: 10px;
}
@media (max-width: 768px) {
    .carousel-arrow {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

/* ==================== Footer 底部样式 ==================== */
.site-footer {
    background-color: #2C3E50;
    color: #BDC3C7;
    margin-top: 50px;
    padding: 40px 20px 0;
    font-size: 14px;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-section {
    flex: 1;
    min-width: 0;
}
.footer-section h3,
.footer-section h4 {
    color: #ECF0F1;
    margin-bottom: 15px;
    font-size: 16px;
}
.footer-brand {
    font-size: 18px !important;
    font-weight: 600;
}
.footer-desc {
    color: #95A5A6;
    font-size: 13px;
    line-height: 1.6;
    margin-top: 8px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 14px;
}
.contact-icon {
    font-size: 16px;
    flex-shrink: 0;
}
.qrcode-wrapper {
    width: 120px;
    height: 120px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qrcode-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.qrcode-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}
.qrcode-tip {
    text-align: center;
    margin-top: 8px;
    font-size: 12px;
    color: #95A5A6;
}
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
    color: #7F8C8D;
}
.footer-bottom p {
    margin: 0;
}

/* Footer 响应式 */
@media (max-width: 768px) {
    .site-footer {
        margin-top: 30px;
        padding: 30px 15px 0;
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }
    .footer-section {
        width: 100%;
    }
    .contact-item {
        justify-content: center;
    }
    .qrcode-wrapper {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }
}