.red{
	color: red;
}
.logo-text a , .side-nav-title a , .side-nav-footer a{
	color: #fff;
}

a{text-decoration: none;}
.lottery-period a{
	color: #991b1b;
}

.copyright a{
	color: #94a3b8;
}

        
/* 上一篇 下一篇 */
.action-buttons {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .action-btn {
            padding: 12px 20px;
            border-radius: 10px;
            font-weight: 500;
            font-size: 15px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            text-decoration: none;
            border: none;
        }

        .prev-btn , .next-btn{
            background: #f1f5f9;
            color: var(--text-primary);
            border: 1px solid var(--border-color);
        }
        
        .prev-btn:hover , .next-btn:hover{
            background: #e2e8f0;
        }
/* 移动端搜索按钮 */
        .mobile-search-btn {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 20px;
            cursor: pointer;
            padding: 8px;
            border-radius: 8px;
            transition: background 0.3s;
        }
        
        .mobile-search-btn:hover {
            background: rgba(255, 255, 255, 0.1);
        }
        
        /* 移动端搜索框 - 全屏显示 */
        .mobile-search-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 2000;
            display: none;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            padding-top: 80px;
        }
        
        .mobile-search-overlay.active {
            display: flex;
        }
        
        .mobile-search-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
            padding: 8px;
            border-radius: 8px;
            transition: background 0.3s;
        }
        
        .mobile-search-close:hover {
            background: rgba(255, 255, 255, 0.1);
        }
        
        .mobile-search-container {
            width: 90%;
            max-width: 600px;
            padding: 20px;
        }
        
        .mobile-search-input {
            width: 100%;
            padding: 16px 20px;
            border: none;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            font-size: 18px;
            outline: none;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .mobile-search-input::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }
        
        .mobile-search-input:focus {
            background: rgba(255, 255, 255, 0.15);
            border-color: rgba(255, 255, 255, 0.3);
        }
        
        .mobile-search-results {
            margin-top: 20px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            padding: 20px;
            max-height: 60vh;
            overflow-y: auto;
        }
        
        .mobile-search-result-item {
            padding: 15px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            color: white;
            cursor: pointer;
            transition: background 0.3s;
        }
        
        .mobile-search-result-item:hover {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 8px;
        }
        
        .mobile-search-result-title {
            font-weight: 600;
            margin-bottom: 5px;
            font-size: 16px;
        }
        
        .mobile-search-result-period {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
        }
        
        /* 移动端汉堡菜单 */
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
            padding: 8px;
            border-radius: 8px;
            transition: background 0.3s;
            z-index: 1001;
        }
        
        .mobile-menu-toggle:hover {
            background: rgba(255, 255, 255, 0.1);
        }
        
        /* 侧边导航栏 - 移动端专用 */
        .side-nav {
            position: fixed;
            top: 0;
            left: -280px;
            width: 280px;
            height: 100vh;
            background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
            box-shadow: 8px 0 30px rgba(0, 0, 0, 0.3);
            z-index: 1000;
            transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            display: flex;
            flex-direction: column;
            overflow-y: auto;
        }
        
        .side-nav.active {
            left: 0;
        }
        
        .side-nav-header {
            padding: 25px 20px 15px;
            display: flex;
            align-items: center;
            gap: 15px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .side-nav-logo {
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.15);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
        }
        
        .side-nav-title h2 {
            font-size: 18px;
            color: white;
            margin-bottom: 4px;
        }
        
        .side-nav-title p {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.7);
        }
        
        .side-nav-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            color: white;
            font-size: 22px;
            cursor: pointer;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background 0.3s;
        }
        
        .side-nav-close:hover {
            background: rgba(255, 255, 255, 0.1);
        }
        
        .side-nav-list {
            list-style: none;
            padding: 20px 0;
            flex: 1;
        }
        
        .side-nav-item {
            margin-bottom: 5px;
        }
        
        .side-nav-link {
            display: flex;
            align-items: center;
            padding: 18px 25px;
            color: white;
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
            transition: all 0.3s;
            border-left: 4px solid transparent;
        }
        
        .side-nav-link:hover, .side-nav-link.active {
            background: rgba(255, 255, 255, 0.1);
            border-left-color: white;
            padding-left: 28px;
        }
        
        .side-nav-link i {
            margin-right: 15px;
            font-size: 18px;
            width: 24px;
            text-align: center;
        }
        
        .side-nav-footer {
            padding: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 12px;
            color: rgba(255, 255, 255, 0.6);
            text-align: center;
        }
        
     /* 头部搜索框样式 */
        .header-search {
            display: flex;
            align-items: center;
            max-width: 280px;
            flex: 1;
            margin: 0 20px;
        }
        
        .search-form {
            width: 100%;
            position: relative;
        }
        
        .search-input {
            width: 100%;
            padding: 10px 45px 10px 16px;
            border: none;
            border-radius: 30px;
            background: rgba(255, 255, 255, 0.15);
            color: white;
            font-size: 15px;
            transition: all 0.3s;
            outline: none;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .search-input::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }
        
        .search-input:focus {
            background: rgba(255, 255, 255, 0.25);
            border-color: rgba(255, 255, 255, 0.3);
            box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
        }
        
        .search-btn {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            background: transparent;
            border: none;
            color: rgba(255, 255, 255, 0.8);
            cursor: pointer;
            font-size: 16px;
            padding: 0;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.3s;
        }
        
        .search-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            color: white;
        }