/*
Theme Name: Wallpaper Theme
Theme URI: http://example.com/wallpaper-theme/
Author: Your Name
Author URI: http://example.com/
Description: 一个用于展示壁纸的WordPress主题
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wallpaper-theme
Tags: wallpaper, gallery, responsive
*/

/* 基本样式 */
:root {
    --primary-color: #f44336;
    --secondary-color: #e53935;
    --text-color: #333;
    --lighter-text: #666;
    --bg-color: #f5f5f7;
    --card-bg: #fff;
    --light-grey: #eee;
    --border-color: #f0f0f0;
    --gradient-primary: linear-gradient(135deg, #f44336, #e53935);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 5px 15px rgba(0,0,0,0.08);
}

/* 全局字体加粗 */
body, button, input, select, textarea, p, div, span, a, h1, h2, h3, h4, h5, h6 {
    font-weight: bold !important;
}

/* 主题颜色变量 */
:root {
    --primary-color: #e53935;
    --primary-light: #ffebee;
    --secondary-color: #f44336;
    --success-color: #0acf97;
    --warning-color: #f9a825;
    --danger-color: #fa5c7c;
    --dark-color: #2b3a51;
    --light-color: #f8f9fa;
    --text-muted: #6c757d;
    --border-color: #e9ecef;
    --card-bg: #ffffff;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --gradient-primary: linear-gradient(45deg, #e53935, #f44336);
    --gradient-success: linear-gradient(45deg, #0acf97, #02a774);
    --gradient-warning: linear-gradient(45deg, #f9a825, #f78000);
    --gradient-danger: linear-gradient(45deg, #fa5c7c, #f6378f);
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-branding {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-title {
    font-size: 1.8rem;
    font-weight: bold;
}

/* 导航样式 */
.main-navigation {
    display: flex;
    justify-content: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
}

.main-navigation li {
    position: relative;
    margin: 0 15px;
}

.main-navigation a {
    display: block;
    padding: 10px 0;
    font-size: 1.1rem;
}

/* 主要内容区域 */
.site-content {
    padding: 40px 0;
}

/* 壁纸网格 */
.wallpaper-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.wallpaper-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.wallpaper-item:hover {
    transform: none;
}

.wallpaper-item img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.wallpaper-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    opacity: 1;
}

.wallpaper-item:hover .wallpaper-info {
    opacity: 1;
}

/* 分页导航 */
.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 2px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.pagination .current {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* 页脚 */
.site-footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .wallpaper-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .main-navigation ul {
        flex-direction: column;
    }
    
    .main-navigation li {
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .wallpaper-grid {
        grid-template-columns: 1fr;
    }
}

/* 占位图样式 */
.placeholder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #f5f5f7;
    border-radius: inherit;
}

/* 公告栏样式 */
.announcement {
    margin-bottom: 15px;
}

.announcement-content {
    padding: 10px 15px;
    line-height: 1.5;
}

.announcement-content p {
    margin-bottom: 10px;
}

.announcement-content ul, 
.announcement-content ol {
    margin-left: 20px;
    margin-bottom: 10px;
}

.announcement-content a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.announcement-content a:hover {
    color: var(--primary-color);
}

.announcement-content img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border-radius: 4px;
}

/* 收藏按钮样式 */
.like-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 30px;
    font-size: 15px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 15px;
    outline: none;
    -webkit-tap-highlight-color: transparent; /* 移除移动端点击高亮 */
    position: relative;
    overflow: hidden;
}

.like-button:hover {
    border-color: #ff5a5f;
    color: #ff5a5f;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    transform: none;
}

.like-button:active {
    transform: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.like-button.liked {
    background-color: #ff5a5f;
    border-color: #ff5a5f;
    color: white;
    animation: heart-beat 0.4s ease-in-out;
}

@keyframes heart-beat {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.like-button.processing::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.4);
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    0% {
        opacity: 0.2;
    }
    100% {
        opacity: 0.5;
    }
}

.like-icon {
    font-size: 18px;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.like-button.liked .like-icon {
    color: white;
    transform: scale(1.1);
}

.like-count {
    margin-left: 6px;
    opacity: 0.8;
}

/* 通知样式 */
.wallpaper-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.wallpaper-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    .wallpaper-notification {
        bottom: 80px; /* 为移动端导航栏留出空间 */
    }
}

/* 文章内容页面样式 */
.entry-header {
    text-align: center;
    margin-bottom: 30px;
}

.entry-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #333;
}

.entry-meta {
    color: #666;
    font-size: 0.9rem;
}

.wallpaper-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.wallpaper-image {
    width: 100%;
    max-width: 800px;
    margin-bottom: 20px;
    text-align: center;
}

.wallpaper-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.wallpaper-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.download-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.4);
}

.entry-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.wallpaper-related {
    margin-top: 60px;
}

.wallpaper-related h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: #333;
}

@media (max-width: 768px) {
    .wallpaper-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .like-button {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .entry-title {
        font-size: 1.5rem;
    }
}

/* 增强文章内容页面的样式 */
.single .site-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px 60px;
}

body.single {
    background-color: #f5f5f7;
    padding-top: 0 !important;
    overflow-x: hidden;
}

body.single .site-branding,
body.single .site-header {
    display: none !important; /* 在移动端隐藏头部 */
}

.site-header {
    z-index: 999;
}

body.single .site-main {
    display: block !important;
    visibility: visible !important;
}

body.single .entry-header,
body.single .entry-title,
body.single .entry-meta,
body.single .wallpaper-content,
body.single .wallpaper-image,
body.single .wallpaper-actions,
body.single .entry-content,
body.single .wallpaper-related {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

.single .entry-content {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
}

.single .entry-content p {
    margin-bottom: 1em;
    line-height: 1.7;
    display: block !important;
    max-width: 100% !important;
}

.single .entry-content div {
    display: block !important;
    max-width: 100% !important;
}

.single .entry-content img {
    max-width: 100% !important;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
    display: block !important;
}

.single .entry-content h1, 
.single .entry-content h2, 
.single .entry-content h3, 
.single .entry-content h4, 
.single .entry-content h5, 
.single .entry-content h6 {
    margin: 1.5em 0 0.8em;
    color: #333;
}

.single .entry-content ul, 
.single .entry-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.single .entry-content li {
    margin-bottom: 8px;
}

.single .entry-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-color);
}

.single .entry-content a:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.single .entry-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 10px 20px;
    margin: 20px 0;
    background: #f9f9f9;
    font-style: italic;
}

.single .entry-content code {
    background: #f1f1f1;
    padding: 2px 5px;
    border-radius: 3px;
    font-family: monospace;
}

.single .entry-content pre {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    overflow: auto;
    margin: 20px 0;
}

/* 增强底部相关文章区域 */
.wallpaper-related {
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* 文章内容为空时的样式 */
.single .entry-content:empty {
    display: none !important;
}

.single .entry-content:empty + .wallpaper-related {
    margin-top: 0;
}

/* 确保移动端显示正确 */
@media (max-width: 768px) {
    body.single .site-header {
        display: none !important;
    }
    
    body.single .site-main {
        margin-top: 0 !important;
        padding-top: 10px !important;
    }
    
    .wallpaper-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin: 15px 0;
    }
    
    .like-button {
        margin: 0;
    }
    
    /* 修复图片显示 */
    body.single .wallpaper-image img {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
    }
}

/* 确保导航栏正常显示 */
/*
.nav-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background-color: white !important;
    box-shadow: 0 -1px 8px rgba(0,0,0,0.08) !important;
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding: 8px 0 !important;
    height: 85px !important;
    z-index: 1000 !important;
    border-top: 1px solid rgba(0,0,0,0.05) !important;
}

.nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    color: #999 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    width: 20% !important;
    height: 100% !important;
    padding: 4px 0 !important;
}

.nav-item svg {
    width: 42px !important;
    height: 42px !important;
    margin-bottom: 4px !important;
    opacity: 0.8 !important;
    transition: all 0.2s ease !important;
}

.nav-item span {
    font-size: 18px !important;
    transform: scale(0.95) !important;
    transition: all 0.2s ease !important;
    line-height: 1.2 !important;
    font-weight: bold !important;
}

.nav-item.active {
    color: #f44336 !important;
}

.nav-item.active svg {
    fill: #f44336 !important;
    opacity: 1 !important;
    transform: scale(1.1) !important;
}

.nav-item.active span {
    transform: scale(1) !important;
    font-weight: 700 !important;
}

.nav-item:active {
    opacity: 0.7 !important;
}
*/

/* 全局底部导航栏样式 - 使用统一的template-parts/navigation-bottom.php */
.global-nav-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background-color: white !important;
    box-shadow: 0 -1px 8px rgba(0,0,0,0.08) !important;
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding: 8px 0 !important;
    height: 85px !important;
    z-index: 1000 !important;
    border-top: 1px solid rgba(0,0,0,0.05) !important;
}

.global-nav-bar .nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    color: #999 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    width: 20% !important;
    height: 100% !important;
    padding: 4px 0 !important;
}

.global-nav-bar .nav-item svg {
    width: 42px !important;
    height: 42px !important;
    margin-bottom: 4px !important;
    opacity: 0.8 !important;
    transition: all 0.2s ease !important;
}

.global-nav-bar .nav-item span {
    font-size: 18px !important;
    transform: scale(0.95) !important;
    transition: all 0.2s ease !important;
    line-height: 1.2 !important;
    font-weight: bold !important;
}

.global-nav-bar .nav-item.active {
    color: #f44336 !important;
}

.global-nav-bar .nav-item.active svg {
    fill: #f44336 !important;
    opacity: 1 !important;
    transform: scale(1.1) !important;
}

.global-nav-bar .nav-item.active span {
    transform: scale(1) !important;
    font-weight: 700 !important;
}

.global-nav-bar .nav-item:active {
    opacity: 0.7 !important;
}

/* 确保页面内容有足够的底部间距 */
.site-main, main, #primary,
.content, .search-page-container, .categories-page-container,
.others-page-container, .likes-page-container, .login-container,
.register-container, .account-container {
    padding-bottom: 110px !important;
}

/* 隐藏文章页面的封面图片和相关壁纸 */
.single .wallpaper-image {
    display: none !important;
}

.single .wallpaper-related {
    display: none !important;
}

/* 内容下方收藏按钮样式 */
.single .like-button-container {
    margin-top: 20px;
    text-align: center;
    padding: 15px 0;
}

.single .like-button-container .like-button {
    margin: 0 auto;
    padding: 10px 30px;
}

/* 重新设计的收藏按钮全局样式 */
.single .action-buttons-container {
    margin-top: 25px;
    text-align: center;
    padding: 15px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.single .action-buttons-container .download-button,
.single .action-buttons-container .like-button {
    min-width: 130px;
    border-radius: 50px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.single .action-buttons-container .download-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.25);
}

.single .action-buttons-container .download-button i {
    margin-right: 8px;
    font-size: 18px;
}

.single .action-buttons-container .download-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(229, 57, 53, 0.3);
}

.single .action-buttons-container .like-button {
    background: linear-gradient(to right, #ffffff, #f8f8f8);
    color: #666;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.single .action-buttons-container .like-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff6b6b 0%, #ff4f7e 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.single .action-buttons-container .like-button .like-icon {
    color: #aaa;
    margin-right: 8px;
    font-size: 20px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.single .action-buttons-container .like-button .like-text {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.single .action-buttons-container .like-button .like-count {
    font-size: 0.9em;
    color: #999;
    margin-left: 5px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.single .action-buttons-container .like-button:hover {
    border-color: #ff6b6b;
    transform: none;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.single .action-buttons-container .like-button:hover .like-icon {
    transform: none;
}

.single .action-buttons-container .like-button.liked {
    background: #fff;
    border-color: #ff6b6b;
    color: #ff6b6b;
    position: relative;
    overflow: hidden;
}

.single .action-buttons-container .like-button.liked:before {
    opacity: 0.1;
}

.single .action-buttons-container .like-button.liked .like-icon,
.single .action-buttons-container .like-button.liked .like-text {
    color: #ff6b6b;
}

.single .action-buttons-container .like-button.liked .like-count {
    color: #ff6b6b;
}

@keyframes heart-pulse {
    0% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1.15); }
    75% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.single .action-buttons-container .like-button.liked .like-icon {
    animation: heart-pulse 0.6s ease-in-out;
}

/* 点击特效 */
.single .action-buttons-container .like-button:active,
.single .action-buttons-container .download-button:active {
    transform: translateY(-1px) scale(0.98);
}

/* 处理中状态 */
.single .action-buttons-container .like-button.processing {
    pointer-events: none;
}

.single .action-buttons-container .like-button.processing:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 2;
}

/* 收藏成功特效 */
@keyframes like-success {
    0% { transform: scale(1); opacity: 0; }
    25% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(2); opacity: 0; }
}

.single .action-buttons-container .like-button.liked:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    margin-left: -15px;
    background-color: rgba(255, 107, 107, 0.2);
    border-radius: 50%;
    z-index: 0;
    animation: like-success 0.5s ease-out;
}

/* 电脑端样式优化 */
@media (min-width: 769px) {
    .single .action-buttons-container {
        max-width: 700px;
        margin: 30px auto 50px;
    }
    
    .single .action-buttons-container .download-button,
    .single .action-buttons-container .like-button {
        min-width: 160px;
        padding: 14px 30px;
    }
    
    .single .action-buttons-container .like-button:hover {
        transform: none;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    }
    
    .single .action-buttons-container .download-button:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(110, 142, 251, 0.35);
    }
}

/* 电脑端文章内容居中显示 */
@media (min-width: 769px) {
    .single #primary {
        max-width: 800px;
        margin: 0 auto;
    }
    
    .single .entry-header {
        max-width: 700px;
        margin: 0 auto 30px;
    }
    
    .single .entry-content {
        max-width: 700px;
        margin: 0 auto;
        padding: 30px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        text-align: center;
    }
    
    .single .entry-content p, 
    .single .entry-content div, 
    .single .entry-content h1, 
    .single .entry-content h2, 
    .single .entry-content h3, 
    .single .entry-content h4, 
    .single .entry-content h5, 
    .single .entry-content h6 {
        text-align: center;
    }
    
    .single .action-buttons-container {
        max-width: 700px;
        margin: 25px auto 0;
    }
    
    .single .entry-title {
        font-size: 26px;
        margin-bottom: 20px;
    }
    
    .single .entry-meta {
        margin-bottom: 30px;
    }
    
    /* 确保图片也居中显示 */
    .single .entry-content img {
        margin-left: auto;
        margin-right: auto;
    }
    
    /* 列表项居中显示 */
    .single .entry-content ul,
    .single .entry-content ol {
        display: inline-block;
        text-align: left;
        margin-left: auto;
        margin-right: auto;
    }
}

/* 其他专区页面样式 */
.page-header {
    text-align: center;
    margin-bottom: 25px;
    padding: 25px 0 15px;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.page-title {
    font-size: 22px;
    color: var(--text-color);
    margin-bottom: 8px;
}

.page-description {
    font-size: 14px;
    color: var(--lighter-text);
    margin: 0;
}

.special-areas {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 70px;
}

.special-area-card {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border-radius: 10px;
    padding: 16px;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* 禁用卡片悬停效果 */
.special-area-card::after {
    display: none;
}

.special-area-card:hover {
    transform: none;
}

.special-area-card:hover::after {
    transform: none;
}

.special-area-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffebee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(229, 57, 53, 0.15);
    transition: none;
}

.special-area-icon:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 235, 238, 0.8);
    opacity: 1;
    transition: none;
}

.special-area-card:hover .special-area-icon:before {
    opacity: 1;
}

.special-area-icon i {
    font-size: 22px;
    color: #f44336;
    position: relative;
    z-index: 2;
    transition: none;
}

.special-area-card:hover .special-area-icon i {
    color: #f44336;
    transform: none;
}

.special-area-card:hover .special-area-icon {
    transform: none;
    box-shadow: 0 4px 8px rgba(229, 57, 53, 0.15);
}

.special-area-link {
    width: 40px;
    height: 40px;
    background: var(--light-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    transition: none;
    position: relative;
    overflow: hidden;
}

.special-area-link::before {
    display: none;
}

.special-area-link:hover {
    transform: none;
    background: var(--primary-light);
}

.special-area-link:hover::before {
    transform: none;
}

.special-area-link i {
    font-size: 16px;
    color: #f44336;
    position: relative;
    z-index: 2;
    transition: none;
}

.special-area-link:hover i {
    transform: none;
}

/* 媒体查询 */
@media (min-width: 576px) {
    .special-areas {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .special-areas {
        grid-template-columns: repeat(4, 1fr);
    }
}

.no-special-areas {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.no-special-areas p {
    font-size: 16px;
    color: var(--lighter-text);
    margin: 0;
}

/* 为每个图标添加统一的粉红色背景 */
.special-area-card:nth-child(1) .special-area-icon:before,
.special-area-card:nth-child(2) .special-area-icon:before,
.special-area-card:nth-child(3) .special-area-icon:before,
.special-area-card:nth-child(4) .special-area-icon:before,
.special-area-card:nth-child(5) .special-area-icon:before,
.special-area-card:nth-child(6) .special-area-icon:before,
.special-area-card:nth-child(7) .special-area-icon:before {
    background: rgba(255, 235, 238, 0.8);
}

.special-area-info {
    flex: 1;
}

.special-area-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 5px;
}

.special-area-description {
    font-size: 14px;
    color: var(--lighter-text);
    margin: 0;
}

.stats-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 5px;
}

/* 添加电脑端一行显示4个文章的媒体查询 */
@media (min-width: 1024px) {
    .wallpaper-grid, .home-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

.history-item:hover {
    border-color: #f44336;
    transform: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.search-result-item:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.suggestion-tag:hover {
    background: #e0f0ff;
    transform: none;
}

/* 隐藏所有删除按钮 */
.unlike-button {
    display: none !important;
}

/* 底部导航栏相关样式 */
.site-main, main, #primary {
    padding-bottom: 100px !important;
}

.content, .search-page-container, .categories-page-container, 
.others-page-container, .likes-page-container, .login-container, 
.register-container, .account-container {
    padding-bottom: 100px !important;
}

/* 电脑端网盘下载链接布局 - 一行显示2个 */
@media (min-width: 992px) {
    .download-info-direct {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .download-info-direct .info-item {
        width: 48%;
    }
    
    /* 如果只有一个下载链接，则占满整行 */
    .download-info-direct .info-item:only-child {
        width: 100%;
    }
} 