/* ===== CSS Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #8b5cf6;
    --accent: #f43f5e;
    --accent-2: #06b6d4;
    --danger: #ef4444;
    --dark: #0f172a;
    --gray-900: #1e293b;
    --gray-700: #334155;
    --gray-500: #64748b;
    --gray-300: #cbd5e1;
    --gray-100: #f1f5f9;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
}

body {
    font-family: 'Inter', 'Microsoft YaHei', 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--gray-100);
    background-image: 
        radial-gradient(at 40% 20%, rgba(99, 102, 241, 0.05) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(139, 92, 246, 0.05) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(6, 182, 212, 0.03) 0px, transparent 50%);
    color: var(--dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* ===== Navigation ===== */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 40px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.logo {
    color: var(--dark);
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: logo-shine 3s infinite;
}

@keyframes logo-shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
    position: relative;
    z-index: 1;
}

.logo span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 60%;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 5px;
    position: relative;
    z-index: 101;
}

.search-trigger {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--gray-100);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-trigger svg {
    width: 20px;
    height: 20px;
    fill: var(--gray-500);
    transition: all 0.3s;
}

.search-trigger:hover {
    background: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.search-trigger:hover svg {
    fill: var(--white);
}

.cart-trigger {
    position: relative;
    width: 44px;
    height: 44px;
    border: none;
    background: var(--gray-100);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    z-index: 102;
}

.cart-trigger svg {
    width: 20px;
    height: 20px;
    fill: var(--gray-500);
    transition: all 0.3s;
}

.cart-trigger:hover {
    background: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.cart-trigger:hover svg {
    fill: var(--white);
}

.login-btn {
    padding: 10px 20px;
    background: var(--gradient-1);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    z-index: 102;
}

.login-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s;
}

.cart-badge.show {
    opacity: 1;
    transform: scale(1);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    background: linear-gradient(var(--white), var(--white)) padding-box,
                var(--gradient-1) border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 5px;
    position: relative;
    z-index: 102;
}

.user-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Search Modal ===== */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-content {
    background: var(--white);
    border-radius: 20px;
    width: 90%;
    max-width: 640px;
    box-shadow: var(--shadow-2xl);
    transform: translateY(-20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.search-modal.active .search-modal-content {
    transform: translateY(0) scale(1);
}

.search-modal-header {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    gap: 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.search-modal-header input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 18px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: 14px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.3s;
}

.search-modal-header input:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.04);
}

.search-modal-close {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--gray-100);
    border-radius: 12px;
    font-size: 20px;
    cursor: pointer;
    color: var(--gray-500);
    transition: all 0.3s;
}

.search-modal-close:hover {
    background: var(--accent);
    color: var(--white);
    transform: rotate(90deg);
}

/* ===== Cart Modal ===== */
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: 72px;
    padding-right: 24px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.cart-modal.active {
    opacity: 1;
    visibility: visible;
}

.cart-modal-content {
    background: var(--white);
    border-radius: 24px;
    width: 380px;
    max-height: 520px;
    box-shadow: var(--shadow-2xl);
    transform: translateX(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cart-modal.active .cart-modal-content {
    transform: translateX(0) scale(1);
}

.cart-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
}

.cart-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--gray-100);
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    color: var(--gray-500);
    transition: all 0.3s;
}

.cart-modal-close:hover {
    background: var(--accent);
    color: var(--white);
    transform: rotate(90deg);
}

.cart-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.cart-empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--gray-400);
}

.cart-empty svg {
    width: 64px;
    height: 64px;
    fill: var(--gray-200);
    margin-bottom: 16px;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: 12px;
    margin-bottom: 12px;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.cart-item-plan {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.cart-item-remove {
    width: 28px;
    height: 28px;
    border: none;
    background: var(--gray-200);
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    color: var(--gray-500);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-remove:hover {
    background: #ef4444;
    color: white;
}

.cart-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--gray-100);
    background: var(--gray-50);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cart-total span {
    font-size: 14px;
    color: var(--gray-600);
}

.cart-total strong {
    font-size: 20px;
    color: var(--primary);
}

.cart-checkout-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.cart-checkout-btn:hover {
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

/* ===== User Modal ===== */
.user-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: 72px;
    padding-right: 24px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.user-modal.active {
    opacity: 1;
    visibility: visible;
}

.user-modal-content {
    background: var(--white);
    border-radius: 24px;
    width: 340px;
    box-shadow: var(--shadow-2xl);
    transform: translateX(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.user-modal.active .user-modal-content {
    transform: translateX(0) scale(1);
}

.user-modal-header {
    background: var(--gradient-1);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.user-modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
}

.user-modal-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.user-modal-header h3 {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    position: relative;
}

.user-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    color: var(--white);
    transition: all 0.3s;
}

.user-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.user-modal-body {
    padding: 24px;
}

.user-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
}

.user-info-item:last-child {
    border-bottom: none;
}

.user-info-label {
    color: var(--gray-500);
    font-size: 14px;
    font-weight: 500;
}

.user-info-value {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 14px;
    font-weight: 700;
}

.user-modal-footer {
    padding: 20px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.user-action-btn {
    display: block;
    padding: 14px;
    background: var(--gradient-1);
    color: var(--white);
    text-align: center;
    border-radius: 12px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.user-action-btn:hover {
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.user-action-btn.logout {
    background: var(--gray-100);
    color: var(--gray-700);
    box-shadow: none;
}

.user-action-btn.logout:hover {
    background: var(--gray-300);
    box-shadow: var(--shadow);
}

/* ===== Quick Actions ===== */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 24px 0;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.3s;
}

.quick-action-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.quick-action-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.quick-action-btn svg {
    width: 20px;
    height: 20px;
}

/* ===== Main Content ===== */
.main-content {
    flex: 1;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px 60px;
    width: 100%;
    overflow: hidden;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    padding: 60px 0 50px;
    margin-bottom: 40px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.hero-shape.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: -100px;
    right: -100px;
}

.hero-shape.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.hero-shape.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    top: 50%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -30px) scale(1.05); }
    50% { transform: translate(-10px, 20px) scale(0.95); }
    75% { transform: translate(-30px, -10px) scale(1.02); }
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.hero-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: particle-float 15s ease-in-out infinite;
}

.hero-particles span:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { top: 40%; left: 20%; animation-delay: -2s; }
.hero-particles span:nth-child(3) { top: 60%; left: 80%; animation-delay: -4s; }
.hero-particles span:nth-child(4) { top: 30%; left: 70%; animation-delay: -6s; }
.hero-particles span:nth-child(5) { top: 70%; left: 30%; animation-delay: -8s; }
.hero-particles span:nth-child(6) { top: 15%; left: 50%; animation-delay: -10s; }
.hero-particles span:nth-child(7) { top: 80%; left: 60%; animation-delay: -12s; }
.hero-particles span:nth-child(8) { top: 45%; left: 90%; animation-delay: -14s; }
.hero-particles span:nth-child(9) { top: 25%; left: 40%; animation-delay: -3s; }
.hero-particles span:nth-child(10) { top: 55%; left: 15%; animation-delay: -7s; }

@keyframes particle-float {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    50% { transform: translate(30px, -50px); opacity: 0.6; }
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-badge svg {
    fill: currentColor;
    animation: star-pulse 2s ease-in-out infinite;
}

@keyframes star-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 48px;
    padding: 28px 48px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
}

.stat-suffix {
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
    margin-top: 6px;
    display: block;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, var(--gray-300), transparent);
}

/* ===== Filter Section ===== */
.filter-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 6px 32px;
    margin-top: 0px;
    margin-bottom: 7px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.filter-header {
    margin-bottom: 0;
}

.filter-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
}

.filter-title svg {
    fill: var(--primary);
}

.filter-search-wrapper {
    margin-bottom: 5px;
    padding: 0 0 4px 0;
    border-bottom: 1px solid var(--gray-100);
}

.filter-search-box {
    display: flex;
    width: 50%;
    margin: 0 auto;
    gap: 0;
}

@media (max-width: 768px) {
    .filter-search-box {
        width: 100%;
        padding: 0 12px;
    }
    
    .filter-search-btn,
    .filter-reset-btn {
        padding: 10px 12px;
        font-size: 12px;
    }
}

.filter-search {
    flex: 1;
    padding: 12px 2px;
    border: 2px solid var(--primary);
    border-right: none;
    border-radius: 10px 0 0 10px;
    font-size: 14px;
    color: var(--dark);
    background: var(--white);
    transition: all 0.25s;
}

.filter-search:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.filter-search::placeholder {
    color: var(--gray-400);
}

.filter-search-btn {
    padding: 12px 16px;
    background: var(--gradient-1);
    border: none;
    border-radius: 0;
    color: white;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.filter-search-btn:hover {
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.filter-search-btn svg {
    fill: white;
}

.filter-reset-btn {
    padding: 12px 5px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: none;
    border-radius: 0 10px 10px 0;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 6px;
}

.filter-reset-btn:hover {
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.filter-reset-btn svg {
    fill: white;
}

.filter-result {
    font-size: 14px;
    color: var(--gray-500);
}

.result-count {
    color: var(--primary);
    font-weight: 700;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.filter-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-group:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.filter-label {
    font-size: 14px;
    color: #6d67ca;
    font-weight: 700;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.filter-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* 下拉选择框样式 */
.filter-select {
    padding: 8px 40px 8px 16px;
    border: 2px solid #6366f1;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.08) 100%);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #6366f1;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='%23000000'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    min-width: 140px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-select:hover {
    border-color: #333333;
    color: #333333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.filter-select:focus {
    outline: none;
    border-color: #6366f1;
    color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2), 0 4px 12px rgba(99, 102, 241, 0.25);
}

.filter-select option {
    padding: 10px;
    font-size: 14px;
}

.filter-btn {
    padding: 10px 20px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.filter-btn.active {
    background: var(--gradient-1);
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

/* ===== Content Grid ===== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 2px;
    min-width: 0;
}

/* ===== Creator Card ===== */
.creator-card {
    position: relative;
    background: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.04);
    min-width: 0;
}

.creator-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.creator-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    border-color: transparent;
}

.creator-card:hover::before {
    opacity: 0.03;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(99, 102, 241, 0.1), transparent, rgba(139, 92, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    animation: card-glow-rotate 8s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.creator-card:hover .card-glow {
    opacity: 1;
}

@keyframes card-glow-rotate {
    100% { transform: rotate(360deg); }
}

.card-image {
    position: relative;
    padding-top: 70%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
    z-index: 1;
}

.card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.creator-card:hover .card-image img {
    transform: scale(1.12);
}

.card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 2;
}

.card-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-badge.top {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.card-badge.quality {
    background: linear-gradient(135deg, var(--accent-2) 0%, #0891b2 100%);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

.card-badge.new {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.card-views {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 6px;
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
}

.card-views svg {
    fill: currentColor;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(99, 102, 241, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.creator-card:hover .card-overlay {
    opacity: 1;
}

.view-detail {
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.view-detail svg {
    fill: currentColor;
}

.creator-card:hover .view-detail {
    transform: translateY(0) scale(1);
}

.card-body {
    padding: 10px 20px 20px 20px;
    position: relative;
    z-index: 1;
}

.card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.creator-card:hover .card-title {
    color: var(--primary);
}

.card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.tag.style {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.tag.type {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(8, 145, 178, 0.1) 100%);
    color: #0891b2;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

/* ===== Modal ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    padding: 24px;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    border-radius: 24px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-2xl);
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: var(--shadow-lg);
    font-size: 20px;
    color: var(--gray-600);
    z-index: 10;
}

.modal-close:hover {
    background: var(--accent);
    color: var(--white);
    transform: rotate(90deg) scale(1.1);
}

.modal-body {
    padding: 10px;
}

/* 头部：头像 + 标题 + 级别 */
.modal-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 16px;
    margin-bottom: 2px;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--gray-100);
}

.modal-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--primary-light);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-header-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.modal-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
    letter-spacing: -0.5px;
}

.modal-level {
    display: inline-flex;
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.modal-level.top {
    width: fit-content;
    padding: 1px 5px;
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.modal-level.quality {
    background: rgba(6, 182, 212, 0.15);
    color: #0891b2;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.modal-level.new {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* 信息列表 */
.modal-info-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    margin-bottom: 2px;
}

.modal-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--gray-50);
}

.modal-info-row:last-child {
    border-bottom: none;
}

.modal-tags-wrapper {
    display: inline-flex;
    gap: 4px;
    flex-wrap: wrap;
}

.modal-info-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-500);
    font-size: 16px;
    font-weight: 500;
}

.modal-info-label svg {
    width: 18px;
    height: 18px;
    fill: var(--gray-400);
}

.modal-info-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
}

.modal-info-value.highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 介绍 */
.modal-description {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.8;
    padding: 18px;
    background: var(--gray-100);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

/* 价格说明区域 */
.modal-pricing-section {
    margin-top: 18px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.pricing-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
    padding: 14px 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 2px;
}

.pricing-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.pricing-tab {
    border-bottom: none;
    border-radius: 12px;
    background: var(--gray-50);
    overflow: hidden;
}

.pricing-tab:last-child {
    border-bottom: none;
}

.pricing-tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--gray-50);
    cursor: pointer;
}

/* 默认都显示 */
.pricing-tab .pricing-tab-header {
    background: #404245;
}

.pricing-tab:last-child .pricing-tab-header {
    background: var(--primary);
    color: #fff;
}

.pricing-tab:last-child .pricing-tab-header .pricing-tab-note {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-tab:last-child .pricing-tab-header .pricing-tab-name {
    color: #fff;
}

.pricing-tab-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
}

.pricing-tab-note {
    font-size: 14px;
    color: var(--gray-500);
}

.pricing-tab-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Tab展开/折叠状态 - 稳定版高亮 */
.pricing-tab.active:last-child .pricing-tab-header {
    background: var(--primary);
    color: #fff;
}

.pricing-tab.active:last-child .pricing-tab-header .pricing-tab-note {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-tab.active:last-child .pricing-tab-name {
    color: #fff;
}

/* 会员选项选中状态 */
.pricing-item.selectable.selected {
    background: var(--primary-light);
    border-color: var(--primary);
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid var(--gray-100);
}

.pricing-item:last-child {
    border-bottom: none;
}

.pricing-period {
    font-size: 15px;
    color: var(--gray-600);
}

.pricing-price {
    font-size: 16px;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pricing-price del {
    color: var(--gray-400);
    text-decoration: line-through;
    font-size: 12px;
}

.pricing-price strong {
    color: var(--danger);
    font-weight: 600;
}

.pricing-tag {
    background: linear-gradient(135deg, var(--danger) 0%, #ef4444 100%);
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.pricing-btn-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 16px auto;
    flex-wrap: nowrap;
    width: 100%;
}

.pricing-buy-btn {
    display: block;
    width: 160px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    white-space: nowrap;
}

.pricing-add-btn {
    display: block;
    width: 160px;
    padding: 12px 24px;
    background: #f3f4f6;
    color: #374151;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #d1d5db;
    white-space: nowrap;
}

.pricing-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

.pricing-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #e5e7eb;
}

/* 会员选择项样式 */
.pricing-item.selectable {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 8px 4px;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    gap: 12px;
}

.pricing-item.selectable:last-child {
    border-bottom: none;
}

.pricing-item.selectable:hover {
    background: rgba(99, 102, 241, 0.05);
}

.pricing-item.selectable input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.pricing-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.pricing-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.pricing-item.selectable input[type="radio"]:checked + .pricing-radio {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.pricing-item.selectable input[type="radio"]:checked + .pricing-radio::after {
    transform: translate(-50%, -50%) scale(1);
}

.pricing-item.selectable input[type="radio"]:checked ~ .pricing-period {
    color: var(--primary);
    font-weight: 600;
}

.pricing-item.selectable input[type="radio"]:checked ~ .pricing-price strong {
    color: var(--primary);
}

.pricing-item.selectable.selected {
    background: rgba(99, 102, 241, 0.08);
    border-radius: 8px;
    margin: 4px 0;
}

.pricing-period {
    flex: 0 0 45px;
    font-size: 15px;
    color: var(--gray-600);
    transition: all 0.3s ease;
}

.pricing-price {
    flex: 1;
    font-size: 16px;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 嵌入在卡片内的弹窗内容 */
.modal-content-wrapper {
    display: none;
}

/* 全局弹窗容器 */
.global-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    padding: 24px;
}

.global-modal.active {
    opacity: 1;
    visibility: visible;
}

.global-modal-content {
    background: var(--white);
    border-radius: 24px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-2xl);
}

.global-modal.active .global-modal-content {
    transform: scale(1) translateY(0);
}

.global-modal-body {
    padding: 0;
}

.info-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: 16px;
    transition: all 0.3s;
}

.info-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.info-value {
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.info-label {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
    padding: 24px 0;
}

.page-btn {
    width: 44px;
    height: 44px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--gray-600);
}

.page-btn svg {
    fill: currentColor;
}

.page-btn:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    gap: 8px;
}

.page-num {
    min-width: 44px;
    height: 44px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-num:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.page-num.active {
    background: var(--gradient-1);
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 24px;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
}

.footer-bottom {
    max-width: 1440px;
    margin: 0 auto;
    padding: 10px 24px;
    text-align: center;
    font-size: 16px;
    line-height: 19px;
    color: #FFFFFF;
}

/* ===== Mobile Menu Button ===== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--dark);
    font-size: 26px;
    cursor: pointer;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: var(--white);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--gradient-1);
}

.mobile-menu-title {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.mobile-menu-list {
    list-style: none;
    padding: 16px 0;
}

.mobile-menu-list li {
    border-bottom: 1px solid var(--gray-100);
}

.mobile-menu-list li:last-child {
    border-bottom: none;
}

.mobile-menu-list a {
    display: block;
    padding: 16px 20px;
    color: var(--dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}

.mobile-menu-list a:hover,
.mobile-menu-list a.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-title {
        font-size: 44px;
    }
    
    .hero-stats {
        gap: 32px;
        padding: 24px 36px;
    }
    
    .stat-number {
        font-size: 30px;
    }
}

@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 16px;
        height: 64px;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-actions {
        margin: 0 5px;
        gap: 5px;
    }
    
    .mobile-menu-btn {
        display: block;
        margin: 0 5px;
    }
    
    .user-avatar {
        margin: 0 5px;
    }
    
    .content-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2px;
    }
    
    .card-badges {
        display: none;
    }
    
    .filter-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-section {
        padding: 40px 0 36px;
    }
    
    .hero-title {
        font-size: 34px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .hero-stats {
        padding: 20px 24px;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 26px;
    }
    
    .filter-section {
        padding: 10px;
        border-radius: 16px;
    }
    
    .filter-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .filter-group {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }
    
    .filter-label {
        min-width: auto;
        font-size: 18px;
        flex-shrink: 0;
    }
    
    .filter-select {
        flex: 1;
        min-width: auto;
    }
    
    .filter-options {
        width: 100%;
    }
    
    .filter-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .modal-body {
        padding: 24px;
    }
    
    .modal-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .pagination {
        margin-top: 40px;
    }
    
    .page-btn,
    .page-num {
        min-width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 0 12px 40px;
    }
    
    .quick-actions {
        grid-template-columns: repeat(4, 1fr);
        gap: 5px 8px;
        padding: 5px 0;
    }
    
    .quick-action-btn {
        padding: 10px 8px;
        font-size: 12px;
    }
    
    .content-grid {
        gap: 2px;
    }
    
    .hero-section {
        padding: 30px 0 28px;
    }
    
    .hero-badge {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-stats {
        padding: 16px 20px;
    }
    
    .stat-number {
        font-size: 22px;
    }
    
    .card-body {
        padding: 5px;
    }
    
    .card-title {
        font-size: 11px;
        margin-bottom: 2px;
        font-weight: 400;
    }
    
    .tag {
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .card-badge {
        padding: 4px 10px;
        font-size: 10px;
    }
    
    .card-views {
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .modal-content {
        border-radius: 16px;
    }
    
    .modal-image {
        height: 200px;
    }
    
    .modal-title {
        font-size: 20px;
    }
}

/* 移动端弹窗样式 */
@media (max-width: 768px) {
    .modal-content {
        max-width: 100%;
        border-radius: 16px;
        margin: 0;
        max-height: 85vh;
    }
    
    .modal-body {
        padding: 2px;
    }
    
    .modal-header {
        flex-direction: row;
        text-align: left;
        padding-bottom: 2px;
        margin-bottom: 2px;
    }
    
    .modal-avatar {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
        margin-right: 12px;
    }
    
    .modal-title {
        font-size: 20px;
        margin-bottom: 0px;
    }
    
    .modal-level {
        font-size: 11px;
        padding: 2px 5px;
    }
    
    .modal-info-row {
        padding: 12px 0;
    }
    
    .modal-info-label {
        font-size: 13px;
    }
    
    .modal-info-value {
        font-size: 14px;
    }
    
    .modal-description {
        font-size: 13px;
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        max-width: 100%;
        border-radius: 12px;
        margin: 20px 8px 8px 8px;
    }
    
    .modal-body {
        padding: 10px;
    }
    
    .modal-header {
        margin-bottom: 1px;
        padding-bottom: 1px;
    }
    
    .modal-avatar {
        width: 70px;
        height: 70px;
        border-width: 2px;
    }
    
    .modal-title {
        font-size: 18px;
    }
    
    .modal-info-list {
        margin-bottom: 2px;
        gap: 2px;
    }
    
    .modal-info-row {
        padding: 2px 10px;
    }
    
    .modal-info-label svg {
        width: 16px;
        height: 16px;
    }
    
    .modal-description {
        font-size: 14px;
        padding: 5px;
        line-height: 1.7;
    }
    
    .modal-pricing-section {
        margin-top: 6px;
    }
    
    .pricing-title {
        font-size: 15px;
        padding: 5px;
    }
    
    .pricing-tab-header {
        padding: 10px 12px;
    }
    
    .pricing-tab-name {
        font-size: 15px;
        color: #ffffff;
    }
    
    .pricing-tab-note {
        font-size: 13px;
    }
    
    .pricing-item {
        padding: 8px 12px;
    }
    
    .pricing-period {
        font-size: 14px;
    }
    
    .pricing-price {
        font-size: 15px;
    }
    
    .pricing-btn-wrapper {
        gap: 16px;
        margin: 6px auto;
    }
    
    .pricing-buy-btn,
    .pricing-add-btn {
        width: 140px;
        padding: 10px 16px;
        font-size: 14px;
    }
}

/* ===== Auth Modal (登录/注册) ===== */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    padding: 20px;
}

.auth-modal.active {
    opacity: 1;
    visibility: visible;
}

.auth-modal-content {
    background: var(--white);
    border-radius: 24px;
    width: 100%;
    max-width: 420px;
    padding: 40px;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.auth-modal.active .auth-modal-content {
    transform: scale(1) translateY(0);
}

.auth-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    font-size: 18px;
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.auth-modal-close:hover {
    background: var(--gray-200);
    color: var(--dark);
}

.auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    background: var(--gray-100);
    padding: 4px;
    border-radius: 12px;
}

.auth-tab {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
}

.auth-tab.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.auth-tab:hover:not(.active) {
    color: var(--dark);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-form h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    text-align: center;
}

.auth-subtitle {
    font-size: 14px;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #94a3b8;
    border-radius: 12px;
    font-size: 14px;
    color: #1e293b;
    background-color: #ffffff;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder {
    color: var(--gray-400);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 13px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--gray-600);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.forgot-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

.auth-submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-1);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 20px;
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.social-login {
    text-align: center;
}

.social-login p {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.social-buttons {
    display: flex;
    gap: 12px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--white);
}

.social-btn.wechat {
    color: #07c160;
}

.social-btn.wechat:hover {
    background: #07c160;
    color: var(--white);
    border-color: #07c160;
}

.social-btn.qq {
    color: #1296db;
}

.social-btn.qq:hover {
    background: #1296db;
    color: var(--white);
    border-color: #1296db;
}

@media (max-width: 480px) {
    .auth-modal-content {
        padding: 24px;
    }
    
    .auth-form h2 {
        font-size: 20px;
    }
    
    .form-group input {
        padding: 12px 14px;
    }
}
