/* PR模板 - 赌场风格样式 */

/* 基础变量 */
:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #ffd700;
    --accent-gradient: linear-gradient(135deg, #ffd700, #ffed4e);
    --text-color: #ffffff;
    --text-muted: #b8b8b8;
    --border-color: #333;
    --card-bg: #0f0f23;
    --hover-color: #e6c200;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 30px rgba(255, 215, 0, 0.2);
}

/* 全局样式 */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    min-height: 100vh;
}

.pr-theme {
    background-attachment: fixed;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
.pr-header {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 导航菜单 */
.main-nav {
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-item {
    margin: 0 15px;
    position: relative;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.nav-link i {
    margin-right: 5px;
}

.nav-link:hover,
.nav-item.active .nav-link {
    background: var(--accent-gradient);
    color: var(--primary-color);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

/* 下拉菜单 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: var(--shadow);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

/* 头部操作区 */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-form {
    position: relative;
}

.search-form .form-control {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 25px;
    padding: 8px 15px;
    width: 200px;
}

.search-form .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    outline: none;
}

.btn-search {
    background: var(--accent-gradient);
    border: none;
    color: var(--primary-color);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-search:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
}

.user-actions {
    display: flex;
    gap: 10px;
}

.user-btn {
    background: var(--card-bg);
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.user-btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.login-btn {
    background: var(--accent-gradient);
    color: var(--primary-color);
    border: none;
}

/* 子导航 */
.header-sub {
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.2);
}

.sub-nav {
    display: flex;
    gap: 20px;
}

.sub-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.sub-nav a:hover {
    color: var(--accent-color);
}

.header-info {
    text-align: right;
}

.date-info {
    color: var(--text-muted);
    font-size: 14px;
}

/* 面包屑导航 */
.breadcrumb-container {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 0;
}

.breadcrumb {
    background: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    color: var(--text-muted);
}

.breadcrumb-item a {
    color: var(--text-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--accent-color);
}

.breadcrumb-item.active {
    color: var(--accent-color);
}

/* 主要内容区域 */
.main-content {
    padding: 30px 0;
    min-height: calc(100vh - 200px);
}

/* 卡片样式 */
.pr-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.pr-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* 按钮样式 */
.btn-primary {
    background: var(--accent-gradient);
    border: none;
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: var(--primary-color);
}

.btn-secondary {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 10px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.btn-sm {
    padding: 5px 15px;
    font-size: 14px;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    margin-bottom: 15px;
}

h1 {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 链接样式 */
a {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--hover-color);
    text-decoration: none;
}

/* 表单样式 */
.form-control {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 10px;
    padding: 10px 15px;
}

.form-control:focus {
    background: var(--card-bg);
    border-color: var(--accent-color);
    color: var(--text-color);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* 首页样式 */
.hero-section {
    margin-bottom: 40px;
}

.hero-banner {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.hero-slide {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 20px;
}

.hero-content {
    text-align: center;
    max-width: 600px;
    z-index: 2;
}

.hero-category .category-badge {
    background: var(--accent-gradient);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero-title a {
    color: var(--text-color);
    text-decoration: none;
}

.hero-meta {
    margin-bottom: 15px;
}

.meta-item {
    margin-right: 15px;
    color: var(--text-muted);
    font-size: 14px;
}

.hero-excerpt {
    font-size: 16px;
    margin-bottom: 25px;
    color: var(--text-muted);
}

/* 区块标题 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-title {
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-nav {
    display: flex;
    gap: 15px;
}

.section-nav .nav-link {
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 14px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.section-nav .nav-link.active {
    background: var(--accent-gradient);
    color: var(--primary-color);
}

.more-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 14px;
}

/* 特色文章网格 */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.featured-item {
    position: relative;
}

.featured-main {
    grid-column: span 2;
}

.featured-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
}

.featured-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-image:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-image:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    font-size: 3rem;
    color: var(--accent-color);
}

.featured-category .category-tag {
    background: var(--accent-gradient);
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.featured-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.featured-title a {
    color: var(--text-color);
    text-decoration: none;
}

.featured-excerpt {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 10px;
}

.featured-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
}

/* 最新文章列表 */
.latest-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.latest-item {
    display: flex;
    gap: 15px;
    padding: 15px;
}

.latest-thumb {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    overflow: hidden;
    border-radius: 8px;
}

.latest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-content {
    flex: 1;
}

.latest-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.latest-title a {
    color: var(--text-color);
    text-decoration: none;
}

.latest-excerpt {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 8px;
}

.latest-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
}

/* 分类展示 */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.category-card {
    padding: 20px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.category-name {
    font-size: 1.2rem;
    margin: 0;
}

.category-name a {
    color: var(--text-color);
    text-decoration: none;
}

.category-count {
    background: var(--accent-gradient);
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
}

.category-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-article-title {
    font-size: 1rem;
    margin-bottom: 8px;
}

.category-article-title a {
    color: var(--text-color);
    text-decoration: none;
}

.category-article-excerpt {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
}

.category-list {
    margin-bottom: 15px;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.category-item:last-child {
    border-bottom: none;
}

.category-item-title {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    flex: 1;
}

.category-item-date {
    color: var(--text-muted);
    font-size: 12px;
}

.category-footer {
    text-align: center;
}

/* 侧边栏样式 */
.sidebar {
    padding-left: 20px;
}

.sidebar-widget {
    margin-bottom: 25px;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-content {
    padding: 0;
}

/* 侧边栏搜索 */
.sidebar-search-form .search-input-group {
    display: flex;
    border-radius: 25px;
    overflow: hidden;
}

.sidebar-search-form .form-control {
    border-radius: 0;
    border-right: none;
    flex: 1;
}

.sidebar-search-form .search-btn {
    background: var(--accent-gradient);
    border: none;
    color: var(--primary-color);
    padding: 8px 15px;
    cursor: pointer;
}

/* 热门文章 */
.hot-articles {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hot-article-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.hot-article-rank {
    flex-shrink: 0;
}

.rank-number {
    display: inline-block;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    background: var(--border-color);
    color: var(--text-color);
}

.rank-number.top-rank {
    background: var(--accent-gradient);
    color: var(--primary-color);
}

.hot-article-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 45px;
    overflow: hidden;
    border-radius: 5px;
}

.hot-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hot-article-info {
    flex: 1;
}

.hot-article-title {
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.hot-article-title a {
    color: var(--text-color);
    text-decoration: none;
}

.hot-article-meta {
    font-size: 12px;
    color: var(--text-muted);
}

/* 最新评论 */
.recent-comments {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-item {
    display: flex;
    gap: 10px;
}

.comment-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.comment-author strong {
    color: var(--accent-color);
    font-size: 14px;
}

.comment-time {
    font-size: 12px;
    color: var(--text-muted);
}

.comment-text {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.comment-article {
    font-size: 12px;
    color: var(--text-muted);
}

.comment-article a {
    color: var(--accent-color);
}

/* 分类导航 */
.category-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-nav-item:hover,
.category-nav-item.active {
    background: var(--accent-gradient);
    color: var(--primary-color);
}

.category-name {
    flex: 1;
    margin-left: 8px;
}

.category-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

/* 标签云 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    padding: 5px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: var(--accent-gradient);
    color: var(--primary-color);
}

/* 友情链接 */
.friend-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.friend-link {
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.friend-link:hover {
    background: var(--accent-gradient);
    color: var(--primary-color);
}

.friend-link i {
    margin-right: 8px;
}

/* 统计信息 */
.site-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.stat-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-color);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

/* 底部样式 */
.pr-footer {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    margin-top: 50px;
}

.footer-main {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.footer-section {
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 35px;
    margin-right: 10px;
}

.footer-logo-text {
    font-size: 20px;
    font-weight: bold;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-gradient);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 14px;
}

.contact-item i {
    color: var(--accent-color);
    width: 16px;
}

.footer-bottom {
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.3);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-copyright a {
    color: var(--text-muted);
    text-decoration: none;
}

.footer-copyright a:hover {
    color: var(--accent-color);
}

.footer-links-bottom {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-links-bottom a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links-bottom a:hover {
    color: var(--accent-color);
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* 加载动画 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.loading-spinner {
    text-align: center;
}

.spinner-ring {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 215, 0, 0.3);
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner-text {
    color: var(--accent-color);
    font-size: 14px;
}

/* 空状态 */
.empty-notice {
    text-align: center;
    color: var(--text-muted);
    padding: 30px;
    font-size: 14px;
}

.empty-notice i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    color: var(--accent-color);
}

/* 动画效果 */
.animate-fadeIn {
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 移动端适配 */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 20px;
    cursor: pointer;
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-menu-wrapper {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 10px;
        margin-top: 10px;
    }
    
    .nav-menu-wrapper.show {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
        padding: 10px;
    }
    
    .nav-item {
        margin: 5px 0;
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        justify-content: center;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }
    
    .search-form .form-control {
        width: 100%;
    }
    
    .sidebar {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .featured-main {
        grid-column: span 1;
    }
    
    .hero-slide {
        height: 300px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .header-top {
        padding: 10px 0;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .sub-nav {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .header-info {
        text-align: left;
        margin-top: 10px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .latest-item {
        flex-direction: column;
    }
    
    .latest-thumb {
        width: 100%;
        height: 150px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .site-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-links-bottom {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* 特殊效果 */
.glow-effect {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--hover-color);
}

/* Swiper样式覆盖 */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
}

.swiper-pagination-bullet-active {
    background: var(--accent-color);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--accent-color);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

/* 页面加载完成效果 */
body.loaded {
    animation: pageLoaded 0.5s ease-in-out;
}

@keyframes pageLoaded {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
} 