/**
 * 正派跨境 - 前台站点样式
 * 基于 Bootstrap 5 + 自定义样式
 */

/* ========================================
   CSS 变量定义
   ======================================== */
:root {
    --zp-primary: #ff6a00;
    --zp-primary-dark: #e55a00;
    --zp-primary-light: #ff8533;
    --zp-secondary: #10b981;
    --zp-accent: #ff9900;
    --zp-text-primary: #1f2937;
    --zp-text-secondary: #6b7280;
    --zp-text-light: #9ca3af;
    --zp-bg-primary: #ffffff;
    --zp-bg-secondary: #f9fafb;
    --zp-bg-tertiary: #f3f4f6;
    --zp-border-color: #e5e7eb;
    --zp-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --zp-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --zp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --zp-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --zp-gradient-primary: linear-gradient(135deg, #ff9900 0%, #ff6a00 100%);
    --zp-gradient-secondary: linear-gradient(135deg, #ffb84d 0%, #ff8533 100%);
}
:root {
    --primary-color: #ff6a00;
    --primary-dark: #e55a00;
    --primary-light: #ff8533;
    --secondary-color: #10b981;
    --accent-color: #ff9900;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --gradient-primary: linear-gradient(135deg, #ff9900 0%, #ff6a00 100%);
    --gradient-secondary: linear-gradient(135deg, #ffb84d 0%, #ff8533 100%);
    --gradient-accent: linear-gradient(135deg, #ffcc66 0%, #ff9900 100%);
}
/* ========================================
   基础覆盖样式
   ======================================== */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--zp-text-primary);
    line-height: 1.7;
    background-color: var(--zp-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: var(--zp-primary);
}

/* ========================================
   头部导航样式
   ======================================== */
.zp-header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid transparent;
    background-image: linear-gradient(white, white),
                      linear-gradient(135deg, rgba(255, 153, 0, 0.1), rgba(255, 106, 0, 0.1));
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

/* 移动端菜单按钮 */
.zp-header .navbar-toggler {
    border: 1.5px solid var(--zp-primary);
    padding: 8px 12px;
    border-radius: 8px;
    background: transparent;
    transition: all 0.3s ease;
}

.zp-header .navbar-toggler:hover {
    background: rgba(255, 106, 0, 0.1);
}

.zp-header .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.25);
    outline: none;
}

.zp-header .navbar-toggler-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ff6a00' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.zp-header .navbar-brand {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 20px;
    margin-right: 20px;
    position: relative;
}

.zp-header .navbar-brand::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 32px;
    background: linear-gradient(180deg, transparent, var(--zp-border-color), transparent);
}

.zp-header .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--zp-gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 16px rgba(255, 106, 0, 0.35);
    flex-shrink: 0;
}

.zp-header .brand-text {
    background: var(--zp-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 导航菜单样式 */
.zp-header .navbar-nav {
    gap: 0;
}

.zp-header .nav-link {
    padding: 12px 16px !important;
    font-size: 15px;
    font-weight: 600;
    color: var(--zp-text-primary) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    min-width: 90px;
}

.zp-header .nav-link:hover,
.zp-header .nav-link.active {
    color: var(--zp-primary) !important;
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.08) 0%, rgba(255, 106, 0, 0.08) 100%);
}

.zp-header .nav-link .nav-sub-text {
    font-size: 11px;
    font-weight: 400;
    color: var(--zp-text-light);
    opacity: 0.8;
    line-height: 1;
}

.zp-header .nav-link:hover .nav-sub-text {
    color: var(--zp-primary);
    opacity: 1;
}

/* 头部按钮样式 */
.zp-header .btn-zp-primary {
    background: var(--zp-gradient-primary);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(255, 106, 0, 0.35);
    transition: all 0.3s;
}

.zp-header .btn-zp-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 106, 0, 0.45);
    color: #fff;
}

.zp-header .btn-zp-outline {
    background: transparent;
    border: 1.5px solid var(--zp-primary);
    color: var(--zp-primary);
    padding: 10px 18px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
}

.zp-header .btn-zp-outline:hover {
    background: var(--zp-primary);
    color: #fff;
    transform: translateY(-2px);
}

/* 用户下拉菜单 */
.zp-header .user-dropdown .dropdown-toggle {
    background: var(--zp-bg-secondary);
    border: none;
    padding: 8px 16px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.zp-header .user-dropdown .dropdown-toggle:hover {
    background: var(--zp-bg-tertiary);
}

.zp-header .user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--zp-gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

/* ========================================
   底部样式
   ======================================== */
.zp-footer {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.zp-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 153, 0, 0.5), 
        rgba(255, 106, 0, 0.5), 
        transparent
    );
}

.zp-footer .footer-main {
    padding: 60px 0 40px;
    position: relative;
    z-index: 1;
}

.zp-footer .footer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.zp-footer .footer-logo {
    font-size: 28px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.zp-footer .footer-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--zp-gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 16px rgba(255, 106, 0, 0.35);
}

.zp-footer .footer-section h4 {
    margin-bottom: 24px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    position: relative;
    padding-bottom: 12px;
}

.zp-footer .footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--zp-gradient-primary);
    border-radius: 2px;
}

.zp-footer .footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zp-footer .footer-section ul li {
    margin-bottom: 12px;
}

.zp-footer .footer-section a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: all 0.3s;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.zp-footer .footer-section a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s;
    color: var(--zp-primary);
}

.zp-footer .footer-section a:hover {
    color: #fff;
    padding-left: 20px;
}

.zp-footer .footer-section a:hover::before {
    opacity: 1;
    left: -16px;
}

/* 二维码区域 */
.zp-footer .qrcode-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.zp-footer .qrcode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 90px;
    flex-shrink: 0;
}

.zp-footer .qrcode-image {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 8px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.3s;
    overflow: hidden;
    box-sizing: border-box;
}

.zp-footer .qrcode-image img {
    width: 72px !important;
    height: 72px !important;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

.zp-footer .qrcode-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
}

.zp-footer .qrcode-item span {
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .zp-footer .qrcode-list {
        gap: 16px;
    }
    
    .zp-footer .qrcode-item {
        width: 80px;
    }
    
    .zp-footer .qrcode-image {
        width: 70px;
        height: 70px;
        padding: 3px;
    }
    
    .zp-footer .qrcode-image img {
        width: 64px !important;
        height: 64px !important;
    }
}

/* 底部版权 */
.zp-footer .footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 1;
}

.zp-footer .footer-bottom a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: all 0.3s;
}

.zp-footer .footer-bottom a:hover {
    color: #fff;
}

/* ========================================
   Banner 区域样式
   ======================================== */
.zp-banner {
    position: relative;
    height: 560px;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
}

.zp-banner .banner-item {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.zp-banner .banner-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.zp-banner .banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zp-banner .banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    max-width: 800px;
    padding: 0 24px;
}

.zp-banner .banner-content h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.zp-banner .banner-content p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.zp-banner .banner-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}

.zp-banner .banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.zp-banner .banner-dot.active {
    background: #fff;
    width: 32px;
    border-radius: 6px;
}

/* ========================================
   区块通用样式
   ======================================== */
.zp-section {
    padding: 80px 0;
}

.zp-section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--zp-text-primary);
    letter-spacing: -0.5px;
}

.zp-section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--zp-text-secondary);
    margin-bottom: 48px;
}

/* ========================================
   服务卡片样式
   ======================================== */
.zp-service-card {
    background: var(--zp-bg-primary);
    border: 1px solid var(--zp-border-color);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.zp-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--zp-gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.zp-service-card:hover::before {
    transform: scaleX(1);
}

.zp-service-card:hover {
    box-shadow: var(--zp-shadow-xl);
    transform: translateY(-8px);
    border-color: var(--zp-primary);
}

.zp-service-card .service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.4s;
}

.zp-service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.zp-service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--zp-text-primary);
}

.zp-service-card p {
    color: var(--zp-text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ========================================
   平台卡片样式
   ======================================== */
.zp-platform-item {
    background: var(--zp-bg-primary);
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid var(--zp-border-color);
    position: relative;
    overflow: hidden;
}

.zp-platform-item:hover {
    box-shadow: var(--zp-shadow-lg);
    transform: translateY(-6px);
    border-color: var(--zp-primary);
}

.zp-platform-item img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin: 0 auto 16px;
    transition: transform 0.4s;
}

.zp-platform-item:hover img {
    transform: scale(1.1);
}

.zp-platform-item span {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--zp-text-primary);
}

/* ========================================
   数据统计样式
   ======================================== */
.zp-stats-section {
    padding: 100px 0;
    background: var(--zp-bg-secondary);
}

.zp-stat-item {
    padding: 32px;
    text-align: center;
    transition: all 0.4s;
}

.zp-stat-item:hover {
    transform: translateY(-8px);
}

.zp-stat-item h3 {
    font-size: 48px;
    font-weight: 700;
    background: var(--zp-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    line-height: 1.2;
}

.zp-stat-item p {
    color: var(--zp-text-secondary);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0;
}

/* ========================================
   资讯列表样式
   ======================================== */
.zp-news-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
}

.zp-news-tab {
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid var(--zp-border-color);
    background: var(--zp-bg-primary);
    color: var(--zp-text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.zp-news-tab:hover {
    color: var(--zp-text-primary);
    border-color: var(--zp-text-primary);
}

.zp-news-tab.active {
    background: var(--zp-gradient-primary);
    color: #fff;
    border-color: transparent;
}

.zp-news-item {
    background: none;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s;
    border: none;
    border-bottom: 1px solid var(--zp-border-color);
    display: flex;
    gap: 32px;
    padding: 32px 0;
    cursor: pointer;
}

.zp-news-item:hover {
    background: var(--zp-bg-secondary);
}

.zp-news-item:last-child {
    border-bottom: none;
}

.zp-news-item-image {
    width: 320px;
    height: 200px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 12px;
}

.zp-news-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zp-news-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.zp-news-item-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--zp-text-primary);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zp-news-item-description {
    font-size: 14px;
    color: var(--zp-text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zp-news-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--zp-text-secondary);
}

.zp-news-item-tag {
    background: var(--zp-bg-secondary);
    color: var(--zp-text-secondary);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
}

/* ========================================
   页面头部样式
   ======================================== */
.zp-page-header {
    background: var(--zp-gradient-primary);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.zp-page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.zp-page-header p {
    font-size: 18px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

/* ========================================
   活动卡片样式
   ======================================== */
.zp-activity-card {
    background: var(--zp-bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--zp-shadow-md);
    transition: all 0.3s;
    border: 1px solid var(--zp-border-color);
    cursor: pointer;
    height: 100%;
}

.zp-activity-card:hover {
    box-shadow: var(--zp-shadow-lg);
    transform: translateY(-4px);
}

.zp-activity-card .activity-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.zp-activity-card .activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zp-activity-card .activity-content {
    padding: 20px;
}

.zp-activity-card .activity-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--zp-text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zp-activity-card .activity-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--zp-text-secondary);
    font-size: 13px;
    margin-bottom: 16px;
}

/* ========================================
   按钮样式扩展
   ======================================== */
.btn-zp-gradient {
    background: var(--zp-gradient-primary);
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(255, 106, 0, 0.35);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-zp-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 106, 0, 0.45);
    color: #fff;
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 991px) {
    .zp-banner {
        height: 450px;
    }
    
    .zp-banner .banner-content h1 {
        font-size: 36px;
    }
    
    .zp-banner .banner-content p {
        font-size: 16px;
    }
    
    .zp-section-title {
        font-size: 28px;
    }
    
    .zp-stat-item h3 {
        font-size: 36px;
    }
    
    .zp-news-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .zp-news-item-image {
        width: 100%;
        height: 200px;
    }
    
    .zp-footer .qrcode-image {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 767px) {
    .zp-header .navbar-brand::after {
        display: none;
    }
    
    .zp-banner {
        height: 380px;
    }
    
    .zp-banner .banner-content h1 {
        font-size: 28px;
    }
    
    .zp-section {
        padding: 60px 0;
    }
    
    .zp-section-title {
        font-size: 24px;
    }
    
    .zp-stat-item h3 {
        font-size: 32px;
    }
    
    .zp-footer .footer-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .zp-footer .qrcode-image {
        width: 60px;
        height: 60px;
    }
}

/* ========================================
   动画效果
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease;
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease;
}

/* ========================================
   原有 Yii2 样式保留
   ======================================== */
.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

.has-error .form-control {
    border-color: #dc3545;
    box-shadow: none;
}

.invalid-feedback {
    display: block;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 106, 0, 0.35);
    font-weight: 600;
    padding: 14px 28px;
}
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-group-sm>.btn, .btn-sm {
    padding: .25rem .5rem;
    font-size: .875rem;
    border-radius: .2rem;
}

/* ========================================
   平台筛选按钮样式
   ======================================== */
#filterTabs {
    gap: 12px !important;
}

#filterTabs .btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#filterTabs .btn i {
    font-size: 14px;
}

#filterTabs .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.2);
}

#filterTabs .btn-primary {
    background: var(--zp-gradient-primary);
    border: none;
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.35);
}

#filterTabs .btn-outline-secondary {
    border: 1.5px solid var(--zp-border-color);
    color: var(--zp-text-secondary);
    background: var(--zp-bg-primary);
}

#filterTabs .btn-outline-secondary:hover {
    border-color: var(--zp-primary);
    color: var(--zp-primary);
    background: var(--zp-bg-primary);
}

.list-group-item.active{
    border-color: var(--zp-primary);
    color: #ffffff;
    background: var(--zp-primary);
}

.btn-outline-primary, .btn-outline-primary:hover{
    border-color: var(--zp-primary);
    color: #ffffff;
    background: var(--zp-primary);
}

.bg-primary{
    background-color: var(--zp-primary) !important;
}
/* ========================================
   平台卡片样式优化
   ======================================== */
.platform-card .card-body {
    padding: 1.25rem;
}

.platform-card .platform-logo {
    flex-shrink: 0;
}

.platform-card .platform-name-wrapper {
    min-width: 0;
    overflow: hidden;
}

.platform-card .btn-sm {
    padding: 6px 12px;
    font-size: 13px;
    white-space: nowrap;
}

@media (max-width: 575px) {
    #filterTabs .btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    #filterTabs .btn i {
        margin-right: 4px !important;
    }

    .platform-card .platform-name-wrapper h5 {
        max-width: 100px !important;
    }

    .platform-card .platform-name-wrapper small {
        max-width: 100px !important;
    }
}