/* ============================================================
   发卡网演示站 - 小红书风格主题
   ============================================================ */

/* ====== CSS Variables / Theme ====== */
:root {
    /* Light Theme */
    --bg-primary: #f5f5f7;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-nav: rgba(255, 255, 255, 0.85);
    
    --text-primary: #1a1a2e;
    --text-secondary: #666680;
    --text-tertiary: #9999aa;
    
    --border-light: rgba(0, 0, 0, 0.06);
    --border-card: rgba(0, 0, 0, 0.04);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-card-hover: 0 16px 48px rgba(0, 0, 0, 0.1);
    
    --gradient-primary: linear-gradient(135deg, #2563eb, #1e40af);
    --gradient-hero: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #e0e7ff 100%);
    
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-soft: rgba(37, 99, 235, 0.1);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    
    --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #0f0f1a;
    --bg-secondary: #1a1a2e;
    --bg-card: #1a1a2e;
    --bg-glass: rgba(26, 26, 46, 0.7);
    --bg-nav: rgba(15, 15, 26, 0.85);
    
    --text-primary: #eeeedd;
    --text-secondary: #9999aa;
    --text-tertiary: #666680;
    
    --border-light: rgba(255, 255, 255, 0.06);
    --border-card: rgba(255, 255, 255, 0.04);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.2);
    --shadow-card-hover: 0 16px 48px rgba(0, 0, 0, 0.4);
    
    --gradient-hero: linear-gradient(135deg, #0a1628 0%, #0f1a3e 50%, #0a0a1a 100%);
    
    --accent-soft: rgba(37, 99, 235, 0.15);
}

/* ====== Reset & Base ====== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background var(--transition-base), color var(--transition-base);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ====== Scrollbar ====== */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--text-tertiary);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* ====== Section Banner ====== */
.section-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #eef2ff, #dbeafe);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(37, 99, 235, 0.12);
    color: #1e40af;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
}

.section-banner .banner-text {
    flex: 1;
    font-weight: 500;
}

.banner-close-sm {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 6px;
    background: rgba(37, 99, 235, 0.1);
    color: #1e40af;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.banner-close-sm:hover {
    background: rgba(37, 99, 235, 0.2);
}

.section-banner.hidden {
    display: none;
}

[data-theme="dark"] .section-banner {
    background: linear-gradient(135deg, #1e2a4a, #1a2744);
    border-color: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
}

[data-theme="dark"] .banner-close-sm {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
}

[data-theme="dark"] .banner-close-sm:hover {
    background: rgba(59, 130, 246, 0.25);
}

/* ====== Navigation ====== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-nav);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
    transition: background var(--transition-base), border-color var(--transition-base), transform 0.3s;
}

.navbar.nav-hidden {
    transform: translateY(-100%);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
}

.brand-icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    background: var(--gradient-primary);
    border-radius: 6px;
}

.brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 18px;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--accent-soft);
}

.nav-link.active {
    color: var(--accent);
    background: var(--accent-soft);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--accent-soft);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    position: relative;
    color: var(--text-secondary);
}

.theme-toggle:hover {
    background: rgba(37, 99, 235, 0.2);
    transform: scale(1.05);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    position: absolute;
    transition: all var(--transition-base);
}

[data-theme="light"] .theme-toggle .icon-moon { opacity: 0; transform: rotate(90deg) scale(0); }
[data-theme="light"] .theme-toggle .icon-sun { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="dark"] .theme-toggle .icon-sun { opacity: 0; transform: rotate(-90deg) scale(0); }
[data-theme="dark"] .theme-toggle .icon-moon { opacity: 1; transform: rotate(0) scale(1); }

.btn-admin {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.btn-admin:hover {
    background: var(--accent-soft);
    color: var(--accent);
    transform: rotate(30deg);
}

/* ====== Hero Section ====== */
.hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 24px 40px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 0;
    transition: background var(--transition-base);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 0%, rgba(37, 99, 235, 0.05) 0%, transparent 40%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
}

.hero-title {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-tertiary);
    animation: float 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-arrow {
    font-size: 16px;
    animation: bounce-down 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

@keyframes bounce-down {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.5; }
}

/* ====== Main Content ====== */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 80px;
    position: relative;
    z-index: 1;
}

.content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding: 0 4px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.count-badge {
    font-size: 13px;
    font-weight: 600;
    background: var(--accent-soft);
    color: var(--accent);
    padding: 3px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.view-options {
    display: flex;
    gap: 4px;
    background: var(--bg-secondary);
    padding: 4px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.view-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    transition: all var(--transition-fast);
}

.view-btn:hover {
    color: var(--text-primary);
    background: var(--accent-soft);
}

.view-btn.active {
    background: var(--accent);
    color: white;
}

.view-btn.active:hover {
    background: var(--accent-hover);
    color: white;
}

/* ====== Masonry Grid ====== */
.sites-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .sites-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .sites-masonry {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* List View */
.sites-masonry.list-view {
    grid-template-columns: 1fr;
}

.sites-masonry.list-view .site-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.sites-masonry.list-view .card-image-wrapper {
    width: 240px;
    min-height: 160px;
    flex-shrink: 0;
}

.sites-masonry.list-view .card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 640px) {
    .sites-masonry.list-view .site-card {
        flex-direction: column;
    }
    .sites-masonry.list-view .card-image-wrapper {
        width: 100%;
        min-height: 180px;
    }
}

/* ====== Site Card ====== */
.site-card {
    display: block;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-card);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.site-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
}

.site-card:active {
    transform: translateY(-2px) scale(0.98);
}

/* Card Image */
.card-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: var(--bg-primary);
}

.card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-card:hover .card-image {
    transform: scale(1.05);
}

.card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
}

/* Card Overlay */
.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition-base);
    backdrop-filter: blur(4px);
}

.site-card:hover .card-overlay {
    opacity: 1;
}

.visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: white;
    color: #1a1a2e;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transform: translateY(12px);
    transition: all var(--transition-base);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.site-card:hover .visit-btn {
    transform: translateY(0);
}

.visit-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

/* Card Badge */
.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: var(--gradient-primary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Card Info */
.card-info {
    padding: 18px 20px 20px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-tertiary);
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.card-action {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--accent);
    font-weight: 500;
    transition: gap var(--transition-fast);
}

.site-card:hover .card-action {
    gap: 8px;
}

/* ====== Empty State ====== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    border: 2px dashed var(--border-light);
}

.empty-state h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition-base);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

/* ====== Footer ====== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    padding: 40px 24px;
    transition: background var(--transition-base);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-text {
    color: var(--text-tertiary);
    font-size: 13px;
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 13px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-links .sep {
    color: var(--text-tertiary);
    margin: 0 8px;
}

/* ====== Scroll to Top ====== */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-secondary);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all var(--transition-base);
    border: 1px solid var(--border-light);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

/* ====== Customer Service ====== */
.cs-button {
    position: fixed;
    bottom: 100px;
    right: 32px;
    z-index: 998;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35);
    transition: all var(--transition-base);
    border: none;
}

.cs-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.45);
}

.cs-button:active {
    transform: scale(0.95);
}

/* Modal Overlay */
.cs-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: csFadeIn 0.2s ease;
}

.cs-modal-overlay.show {
    display: flex;
}

@keyframes csFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal Box */
.cs-modal {
    background: var(--bg-card);
    border-radius: 20px;
    width: 90%;
    max-width: 380px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
    animation: csSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--border-light);
}

@keyframes csSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cs-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 0;
}

.cs-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.cs-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.cs-modal-close:hover {
    background: var(--accent);
    color: white;
}

.cs-modal-body {
    padding: 24px;
}

.cs-empty {
    text-align: center;
    padding: 32px 0;
    color: var(--text-tertiary);
    font-size: 14px;
}

.cs-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
}

.cs-item + .cs-item {
    border-top: 1px solid var(--border-light);
}

.cs-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cs-wechat {
    background: #e8f5e9;
    color: #2e7d32;
}

.cs-qq {
    background: #e3f2fd;
    color: #1565c0;
}

.cs-item-body {
    flex: 1;
    min-width: 0;
}

.cs-item-label {
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 500;
    margin-bottom: 2px;
}

.cs-item-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-all;
    margin-bottom: 8px;
}

.cs-copy-btn {
    padding: 4px 14px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.cs-copy-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

.cs-copy-btn.copied {
    border-color: #2e7d32;
    color: #2e7d32;
    background: #e8f5e9;
}

/* ====== Page Load Animation ====== */
.site-card {
    opacity: 0;
    transform: translateY(30px);
    animation: cardFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.site-card:nth-child(1) { animation-delay: 0.05s; }
.site-card:nth-child(2) { animation-delay: 0.1s; }
.site-card:nth-child(3) { animation-delay: 0.15s; }
.site-card:nth-child(4) { animation-delay: 0.2s; }
.site-card:nth-child(5) { animation-delay: 0.25s; }
.site-card:nth-child(6) { animation-delay: 0.3s; }
.site-card:nth-child(7) { animation-delay: 0.35s; }
.site-card:nth-child(8) { animation-delay: 0.4s; }
.site-card:nth-child(9) { animation-delay: 0.45s; }

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
    .navbar {
        background: var(--bg-nav);
    }
    
    .nav-inner {
        padding: 0 16px;
        height: 56px;
    }
    
    .nav-center {
        display: none;
    }
    
    .brand-text {
        display: none;
    }
    
    .hero {
        min-height: 35vh;
        padding: 80px 20px 30px;
    }
    
    .hero-stats {
        gap: 32px;
    }
    
    .main-content {
        padding: 0 16px 60px;
    }
    
    .card-info {
        padding: 14px 16px 16px;
    }
    
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
    
    .cs-button {
        bottom: 80px;
        right: 20px;
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .stat-number {
        font-size: 22px;
    }
    
    .section-title {
        font-size: 18px;
    }
}

/* ====== Smooth Theme Transition ====== */
body, .navbar, .hero-bg, .footer, .site-card, .card-info,
.card-title, .card-desc, .card-meta, .card-image-wrapper,
.hero-title, .hero-subtitle, .section-banner,
.scroll-top, .empty-state, .content-header {
    transition: background var(--transition-base), 
                color var(--transition-base), 
                border-color var(--transition-base),
                box-shadow var(--transition-base);
}
