/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 移除所有元素的焦点轮廓 */
*:focus {
    outline: none;
}

/* 为键盘导航用户保留可访问性焦点 */
*:focus-visible {
    outline: 2px solid #2196f3;
    outline-offset: 2px;
    border-radius: 4px;
}

/* 移除按钮和链接点击后的焦点效果 */
button:focus,
a:focus {
    outline: none;
}

/* 移除链接的默认焦点轮廓 */
a:active,
a:focus {
    outline: none;
}

/* 优化按钮焦点样式 */
.download-btn:focus {
    outline: none;
    box-shadow: 
        0 8px 25px rgba(33, 150, 243, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 0 3px rgba(33, 150, 243, 0.2);
}

/* 导航链接焦点优化 */
.nav-link:focus {
    outline: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, '微软雅黑', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 20%, #90caf9 40%, #64b5f6 60%, #42a5f5 80%, #2196f3 100%);
    background-attachment: fixed;
    min-height: 100vh;
    line-height: 1.6;
    color: #333;
    display: flex;
    flex-direction: column;
}

/* 统一配色方案 - 应用到所有页面 */
.navbar {
    background: linear-gradient(135deg, rgba(227, 242, 253, 0.95) 0%, rgba(187, 222, 251, 0.95) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(33, 150, 243, 0.25);
    border-bottom: 1px solid rgba(33, 150, 243, 0.2);
}

.nav-brand {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link.active {
    background: linear-gradient(135deg, #42a5f5 0%, #2196f3 100%);
}

.nav-link:hover {
    color: #1976d2;
    background: rgba(33, 150, 243, 0.08);
}

.header {
    background: linear-gradient(135deg, rgba(227, 242, 253, 0.9) 0%, rgba(187, 222, 251, 0.9) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 25px rgba(33, 150, 243, 0.2);
}

.main-title {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: #1976d2;
    font-weight: 700;
}

.notice-banner {
    background: linear-gradient(135deg, rgba(227, 242, 253, 0.95) 0%, rgba(187, 222, 251, 0.95) 100%);
    border-left: 5px solid #2196f3;
    box-shadow: 0 4px 25px rgba(33, 150, 243, 0.25);
}

.notice-text strong {
    color: #1565c0;
}

.category-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 35px rgba(33, 150, 243, 0.15);
    border-top: 3px solid rgba(33, 150, 243, 0.35);
}

.category-card:hover {
    box-shadow: 0 12px 45px rgba(33, 150, 243, 0.25);
    border-top-color: #2196f3;
}

.category-icon {
    filter: drop-shadow(0 2px 5px rgba(33, 150, 243, 0.35));
}

.category-title {
    color: #1565c0;
}

.category-badge {
    background: linear-gradient(135deg, #42a5f5 0%, #2196f3 100%);
}

.wallpaper-card {
    background: linear-gradient(135deg, rgba(227, 242, 253, 0.9) 0%, rgba(187, 222, 251, 0.9) 100%);
    border: 2px solid rgba(33, 150, 243, 0.25);
}

.wallpaper-card:hover {
    background: linear-gradient(135deg, rgba(187, 222, 251, 0.95) 0%, rgba(144, 202, 249, 0.95) 100%);
    border-color: #2196f3;
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.25);
}

.wallpaper-name {
    color: #1565c0;
}

.wallpaper-quality {
    background: linear-gradient(135deg, #42a5f5 0%, #2196f3 100%);
}

.download-btn {
    background: linear-gradient(135deg, #42a5f5 0%, #2196f3 100%);
    box-shadow: 0 4px 18px rgba(33, 150, 243, 0.4);
}

.download-btn:hover {
    box-shadow: 0 6px 25px rgba(33, 150, 243, 0.6);
    transform: scale(1.05);
}

.footer {
    background: linear-gradient(135deg, rgba(227, 242, 253, 0.95) 0%, rgba(187, 222, 251, 0.95) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 -2px 20px rgba(33, 150, 243, 0.25);
    border-top: 1px solid rgba(33, 150, 243, 0.2);
    color: #1565c0;
}

/* 筹备中页面特殊样式 */
.coming-soon-card {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 35px rgba(33, 150, 243, 0.18);
    border: 3px solid rgba(33, 150, 243, 0.2);
}

.coming-soon-title {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-item {
    background: linear-gradient(135deg, rgba(227, 242, 253, 0.85) 0%, rgba(187, 222, 251, 0.85) 100%);
    border-left: 3px solid #2196f3;
}

.feature-item:hover {
    background: linear-gradient(135deg, rgba(187, 222, 251, 0.95) 0%, rgba(144, 202, 249, 0.95) 100%);
}

.feature-text {
    color: #1565c0;
}

/* 导航栏样式 */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 65px;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #666;
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link.active {
    color: white;
    box-shadow: 0 4px 15px rgba(142, 36, 170, 0.4);
}

/* 头部样式 */
.header {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
}

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

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.title-icon {
    font-size: 2rem;
    color: #2196f3;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(33, 150, 243, 0.3);
}

.page-slogan {
    font-size: 1.3rem;
    color: #1976d2;
    font-weight: 600;
    margin: 0.5rem 0 0.8rem;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 1rem;
    color: #555;
    font-weight: 500;
    margin-bottom: 1.2rem;
}

.header-tags {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.15) 0%, rgba(21, 101, 192, 0.15) 100%);
    border: 1.5px solid rgba(33, 150, 243, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #1565c0;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tag:hover {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.25) 0%, rgba(21, 101, 192, 0.25) 100%);
    border-color: #2196f3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
}


/* 主容器 */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 3rem;
    flex: 1;
    width: 100%;
}

/* 提醒横幅 */
.notice-banner {
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin: 0 1.5rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideIn 0.6s ease-out;
}

.notice-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.notice-text {
    color: #2d3436;
    font-size: 1rem;
    line-height: 1.5;
}

/* 分类网格 */
.categories-grid {
    display: grid;
    gap: 2rem;
    padding: 0 1.5rem;
    animation: fadeIn 0.8s ease-out;
}

/* 分类卡片 */
.category-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 
        0 10px 40px rgba(33, 150, 243, 0.12),
        0 2px 8px rgba(33, 150, 243, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(33, 150, 243, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(33, 150, 243, 0.1), transparent);
    transition: left 0.5s;
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 
        0 20px 60px rgba(33, 150, 243, 0.2),
        0 5px 15px rgba(33, 150, 243, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(33, 150, 243, 0.3);
}

/* 分类头部 */
.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.8rem;
    padding-bottom: 1.2rem;
    border-bottom: 2px solid transparent;
    background: linear-gradient(to right, rgba(33, 150, 243, 0.1) 0%, transparent 100%);
    padding: 1rem;
    margin: -2rem -2rem 1.8rem -2rem;
    border-radius: 24px 24px 0 0;
    position: relative;
}

.category-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: linear-gradient(to right, #2196f3, transparent);
}

.category-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(33, 150, 243, 0.3));
    animation: iconFloat 3s ease-in-out infinite;
}

.category-title {
    font-size: 1.6rem;
    font-weight: 700;
    flex: 1;
    background: linear-gradient(135deg, #1565c0 0%, #2196f3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-badge {
    color: white;
    padding: 0.45rem 1.1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    background: linear-gradient(135deg, #42a5f5 0%, #2196f3 100%);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
    letter-spacing: 0.5px;
}

/* 壁纸网格 */
.wallpaper-grid {
    display: grid;
    gap: 1.2rem;
}

/* 壁纸卡片 */
.wallpaper-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 248, 255, 0.95) 100%);
    border-radius: 18px;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(33, 150, 243, 0.15);
    box-shadow: 
        0 4px 12px rgba(33, 150, 243, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.wallpaper-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to bottom, #42a5f5, #2196f3, #1976d2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wallpaper-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #42a5f5, #2196f3);
    border-radius: 18px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.wallpaper-card:hover::before {
    opacity: 1;
}

.wallpaper-card:hover::after {
    opacity: 0.15;
}

.wallpaper-card:hover {
    transform: translateY(-4px) scale(1.02);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(227, 242, 253, 1) 100%);
    border-color: rgba(33, 150, 243, 0.4);
    box-shadow: 
        0 12px 32px rgba(33, 150, 243, 0.18),
        0 4px 12px rgba(33, 150, 243, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* 壁纸信息 */
.wallpaper-info {
    flex: 1;
    padding: 1.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.wallpaper-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1565c0;
    letter-spacing: 0.5px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.wallpaper-name::before {
    content: '📎';
    font-size: 1.1rem;
    opacity: 0.7;
}

.wallpaper-quality {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #42a5f5 0%, #2196f3 100%);
    box-shadow: 
        0 3px 10px rgba(33, 150, 243, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    letter-spacing: 0.5px;
    width: fit-content;
}

.wallpaper-quality::before {
    content: '✓';
    font-size: 0.9rem;
    font-weight: 900;
}

/* 下载按钮 */
.download-btn {
    background: linear-gradient(135deg, #42a5f5 0%, #2196f3 100%);
    color: white;
    text-decoration: none;
    padding: 1.5rem;
    border-radius: 0 18px 18px 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        inset 2px 0 0 rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 90px;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn .btn-text {
    display: none;
}

.download-btn .btn-icon {
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.download-btn:hover {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    transform: scale(1.1);
}

.download-btn:hover .btn-icon {
    transform: scale(1.2);
}

.download-btn:active {
    transform: scale(0.98);
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.download-btn:hover .btn-icon {
    transform: translateX(3px);
}

/* 页脚 */
.footer {
    text-align: center;
    padding: 2rem 1.5rem 1.5rem;
    font-size: 0.95rem;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer > p:first-child {
    margin: 0;
    font-weight: 500;
    color: #1565c0;
}

/* 版权声明 */
.copyright-notice {
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    max-width: 650px;
    font-size: 0.8rem;
    line-height: 1.7;
    color: #e65100;
    background: linear-gradient(135deg, rgba(255, 248, 240, 0.7) 0%, rgba(255, 243, 224, 0.7) 100%);
    border: 1px solid rgba(255, 152, 0, 0.25);
    border-left: 4px solid #ff9800;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 2px 10px rgba(255, 152, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.copyright-icon {
    display: inline-block;
    margin-right: 0.4rem;
    font-size: 1rem;
    vertical-align: middle;
}

/* 访问统计容器 */
.stats-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 0 auto;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(227, 242, 253, 0.8) 100%);
    border-radius: 14px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(33, 150, 243, 0.25);
    box-shadow: 
        0 3px 12px rgba(33, 150, 243, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    max-width: fit-content;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
}

.stat-icon {
    font-size: 1.15rem;
    filter: drop-shadow(0 1px 2px rgba(33, 150, 243, 0.3));
}

.stat-label {
    color: #1976d2;
    font-weight: 600;
}

.stat-value {
    color: #0d47a1;
    font-weight: 700;
    font-size: 1.05rem;
    min-width: 35px;
    text-align: center;
    background: linear-gradient(135deg, #1976d2, #0d47a1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-unit {
    color: #1976d2;
    font-weight: 500;
}

.stat-divider {
    color: rgba(33, 150, 243, 0.35);
    font-weight: 300;
    font-size: 1.2rem;
}

/* 筹备中页面样式 */
.coming-soon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 2rem 1.5rem;
}

.coming-soon-card {
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    max-width: 600px;
    animation: scaleIn 0.6s ease-out;
}

.coming-soon-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
}

.coming-soon-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.coming-soon-text {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.coming-soon-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px);
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-text {
    font-size: 1rem;
    font-weight: 600;
}

.coming-soon-hint {
    font-size: 0.95rem;
    color: #999;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
}

/* 飘落元素容器 */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

/* 飘落元素 */
.floating-item {
    position: absolute;
    top: -50px;
    animation: floating linear infinite;
    pointer-events: none;
    user-select: none;
}

/* 鼠标点击粒子特效 */
.click-particle {
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    font-size: 1.5rem;
    animation: particleBurst 1s ease-out forwards;
    user-select: none;
}

/* 鼠标点击波纹特效 */
.click-ripple {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.6) 0%, rgba(33, 150, 243, 0) 70%);
    border: 2px solid rgba(33, 150, 243, 0.8);
    transform: translate(-50%, -50%) scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
    z-index: 9998;
}

/* 动画 */
@keyframes floating {
    0% {
        transform: translateY(-50px) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes particleBurst {
    0% {
        transform: translate(-50%, -50%) translate(0, 0) scale(1) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) translate(var(--tx), var(--ty)) scale(0) rotate(180deg);
        opacity: 0;
    }
}

@keyframes rippleEffect {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(15);
        opacity: 0;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(5deg);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        height: auto;
        flex-direction: column;
        padding-top: 1rem;
        padding-bottom: 1rem;
        gap: 1rem;
    }

    .nav-brand {
        font-size: 1.3rem;
    }

    .nav-menu {
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
    }

    .nav-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }

    .main-title {
        font-size: 1.8rem;
    }

    .page-slogan {
        font-size: 1.1rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .header-tags {
        gap: 0.6rem;
    }

    .tag {
        font-size: 0.8rem;
        padding: 0.35rem 0.85rem;
    }

    .main-container {
        padding: 0 0 2rem;
    }

    .notice-banner {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        margin: 0 1rem 2rem;
    }

    .categories-grid {
        padding: 0 1rem;
    }

    .category-card {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .category-header {
        flex-wrap: wrap;
        margin: -1.5rem -1.5rem 1.5rem -1.5rem;
        padding: 0.85rem;
        border-radius: 20px 20px 0 0;
    }

    .category-icon {
        font-size: 1.6rem;
    }

    .category-title {
        font-size: 1.35rem;
    }

    .category-badge {
        padding: 0.4rem 0.95rem;
        font-size: 0.8rem;
    }

    .wallpaper-card {
        flex-direction: row;
        align-items: center;
        padding: 1.2rem;
        border-radius: 14px;
        gap: 1rem;
    }

    .wallpaper-info {
        flex: 1;
        padding: 0;
        gap: 0.6rem;
        min-width: 0;
    }

    .wallpaper-name {
        font-size: 1rem;
        flex-wrap: wrap;
    }

    .wallpaper-name::before {
        font-size: 0.95rem;
    }

    .wallpaper-quality {
        padding: 0.3rem 0.8rem;
        font-size: 0.7rem;
    }

    .wallpaper-quality::before {
        font-size: 0.8rem;
    }

    .download-btn {
        width: auto;
        justify-content: center;
        padding: 1rem;
        border-radius: 12px;
        border-left: none;
        border-top: none;
        min-width: 56px;
        flex-shrink: 0;
    }

    .download-btn .btn-icon {
        font-size: 1.5rem;
    }

    .download-btn:hover {
        transform: scale(1.08);
    }

    .coming-soon-container {
        padding: 2rem 1rem;
    }

    .coming-soon-card {
        padding: 2rem 1.5rem;
    }

    .coming-soon-icon {
        font-size: 4rem;
    }

    .coming-soon-title {
        font-size: 1.6rem;
    }

    .stats-container {
        flex-direction: column;
        gap: 0.6rem;
        padding: 0.7rem 1.2rem;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        font-size: 0.85rem;
    }

    .stat-icon {
        font-size: 1rem;
    }

    .stat-value {
        font-size: 0.95rem;
    }

    .footer {
        padding: 1.5rem 1rem 1.2rem;
        gap: 1rem;
    }

    .copyright-notice {
        margin: 0 0.5rem;
        padding: 0.65rem 1rem;
        font-size: 0.78rem;
        line-height: 1.6;
    }

    .copyright-icon {
        font-size: 0.95rem;
    }

    .stats-container {
        gap: 1.2rem;
        padding: 0.8rem 1.5rem;
    }

    .stat-item {
        font-size: 0.82rem;
    }

    .stat-value {
        font-size: 0.98rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.75rem;
    }

    .nav-brand {
        font-size: 1.2rem;
    }

    .nav-menu {
        gap: 0.3rem;
        flex-wrap: wrap;
    }

    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .header {
        padding: 1.5rem 0.75rem;
    }

    .main-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.25rem;
    }

    .title-icon {
        font-size: 1.5rem;
    }

    .page-slogan {
        font-size: 1rem;
        margin: 0.4rem 0 0.6rem;
    }

    .subtitle {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    .header-tags {
        gap: 0.5rem;
    }

    .tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }

    .notice-banner {
        font-size: 0.9rem;
        padding: 0.85rem;
    }

    .notice-icon {
        font-size: 1.5rem;
    }

    .category-card {
        padding: 1.2rem;
        border-radius: 18px;
    }

    .category-header {
        margin: -1.2rem -1.2rem 1.2rem -1.2rem;
        padding: 0.75rem;
        border-radius: 18px 18px 0 0;
    }

    .category-icon {
        font-size: 1.4rem;
    }

    .category-title {
        font-size: 1.15rem;
    }

    .category-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.7rem;
    }

    .wallpaper-card {
    flex-direction: row;
    align-items: center;
        padding: 1rem;
        border-radius: 12px;
        gap: 0.8rem;
    }

    .wallpaper-info {
        flex: 1;
        padding: 0;
        gap: 0.5rem;
        min-width: 0;
    }

    .wallpaper-name {
        font-size: 0.95rem;
        flex-wrap: wrap;
    }

    .wallpaper-name::before {
        font-size: 0.85rem;
    }

    .wallpaper-quality {
        padding: 0.28rem 0.7rem;
        font-size: 0.65rem;
    }

    .wallpaper-quality::before {
        font-size: 0.75rem;
    }

    .download-btn {
        width: auto;
        padding: 0.85rem;
        border-radius: 10px;
        border-left: none;
        border-top: none;
        min-width: 50px;
        flex-shrink: 0;
    }

    .download-btn .btn-icon {
        font-size: 1.3rem;
    }

    .download-btn:hover {
        transform: scale(1.06);
    }

    .coming-soon-container {
        padding: 2rem 0.75rem;
    }

    .coming-soon-card {
        padding: 1.5rem 1rem;
    }

    .coming-soon-icon {
        font-size: 3.5rem;
    }

    .coming-soon-title {
        font-size: 1.4rem;
    }

    .coming-soon-text {
        font-size: 1rem;
    }

    .feature-item {
        padding: 0.85rem;
    }

    .feature-icon {
        font-size: 1.3rem;
    }

    .feature-text {
        font-size: 0.95rem;
    }

    .stats-container {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.6rem 1rem;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        font-size: 0.8rem;
    }

    .stat-icon {
        font-size: 0.95rem;
    }

    .stat-value {
        font-size: 0.9rem;
    }

    .footer {
        padding: 1.2rem 0.75rem 1rem;
        gap: 0.8rem;
    }

    .copyright-notice {
        margin: 0 0.5rem;
        padding: 0.55rem 0.9rem;
        font-size: 0.72rem;
        line-height: 1.55;
    }

    .copyright-icon {
        font-size: 0.88rem;
        margin-right: 0.3rem;
    }

    .stats-container {
        gap: 1rem;
        padding: 0.7rem 1.2rem;
    }

    .stat-item {
        font-size: 0.78rem;
    }

    .stat-icon {
        font-size: 1rem;
    }

    .stat-value {
        font-size: 0.92rem;
        min-width: 28px;
    }

    .stat-divider {
        font-size: 1.1rem;
    }
} 