       :root {
            --primary-color: #2563eb;
            --primary-dark: #1d4ed8;
            --secondary-color: #ea580c;
            --accent-color: #10b981;
            --danger-color: #ef4444;
            --warning-color: #f59e0b;
            --light-bg: #f8fafc;
            --card-bg: #ffffff;
            --text-primary: #1e293b;
            --text-secondary: #64748b;
            --border-color: #e2e8f0;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.1);
            --shadow-large: 0 10px 40px rgba(0, 0, 0, 0.08);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;
            line-height: 1.6;
            color: var(--text-primary);
            background-color: var(--light-bg);
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* 头部设计 */
        .site-header {
            background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
            color: white;
            padding: 1.2rem 0 0;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            position: relative;
            z-index: 10;
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            padding-bottom: 15px;
        }
        
        .logo-area {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .logo-icon {
            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;
        }
        
        .logo-text h1 {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 5px;
        }
        
        .logo-text p {
            font-size: 14px;
            opacity: 0.9;
        }
        
        /* 移动端搜索按钮 */
        .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;
        }
        
        /* 主内容区域模糊效果 */
        .content-wrapper {
            transition: filter 0.4s ease, opacity 0.4s ease;
        }
        
        .content-wrapper.blurred {
            filter: blur(5px) brightness(0.9);
            opacity: 0.8;
            pointer-events: none;
        }
        
        /* 导航栏 - 桌面端 */
        .main-nav {
            background-color: rgba(255, 255, 255, 0.08);
            border-radius: 10px 10px 0 0;
            position: relative;
        }
        
        .nav-list {
            display: flex;
            list-style: none;
            justify-content: space-between;
        }
        
        .nav-item {
            flex: 1;
        }
        
        .nav-link {
            display: block;
            text-align: center;
            padding: 16px 8px;
            color: white;
            text-decoration: none;
            font-weight: 500;
            border-bottom: 3px solid transparent;
            transition: all 0.3s;
            font-size: 15px;
        }
        
        .nav-link:hover, .nav-link.active {
            background-color: rgba(255, 255, 255, 0.15);
            border-bottom-color: white;
        }
        
        .nav-link i {
            margin-right: 8px;
            font-size: 16px;
        }
        
        /* 页面标题区域 */
        .page-hero {
            background: linear-gradient(135deg, var(--primary-color), #3b82f6);
            color: white;
            padding: 40px 0;
            margin-bottom: 30px;
            border-radius: 0 0 16px 16px;
            box-shadow: var(--shadow-large);
            position: relative;
            overflow: hidden;
        }
        
        .page-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwMCAxMDAwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9IiMyNTYzZWIiLz48ZyBmaWxsPSIjMzI3OWY3IiBvcGFjaXR5PSIwLjEiPjxwYXRoIGQ9Ik0wIDBoMTAwdjEwMEgweiIvPjxwYXRoIGQ9Ik0xMDAgMGgxMDB2MTAwSDEwMHoiLz48cGF0aCBkPSJNMjAwIDBoMTAwdjEwMEgyMDB6Ii8+PHBhdGggZD0iTTMwMCAwaDEwMHYxMDBIMzAweiIvPjxwYXRoIGQ9Ik00MDAgMGgxMDB2MTAwSDQwMHoiLz48cGF0aCBkPSJNNTAwIDBoMTAwdjEwMEg1MDB6Ii8+PHBhdGggZD0iTTYwMCAwaDEwMHYxMDBINjAweiIvPjxwYXRoIGQ9Ik03MDAgMGgxMDB2MTAwSDcwMHoiLz48cGF0aCBkPSJNODAwIDBoMTAwdjEwMEg4MDB6Ii8+PHBhdGggZD0iTTkwMCAwaDEwMHYxMDBIOTAweiIvPjxwYXRoIGQ9Ik0wIDEwMGgxMDB2MTAwSDB6Ii8+PHBhdGggZD0iTTEwMCAxMDBoMTAwdjEwMEgxMDB6Ii8+PHBhdGggZD0iTTIwMCAxMDBoMTAwdjEwMEgyMDB6Ii8+PHBhdGggZD0iTTMwMCAxMDBoMTAwdjEwMEgzMDB6Ii8+PHBhdGggZD0iTTQwMCAxMDBoMTAwdjEwMEg0MDB6Ii8+PHBhdGggZD0iTTUwMCAxMDBoMTAwdjEwMEg1MDB6Ii8+PHBhdGggZD0iTTYwMCAxMDBoMTAwdjEwMEg2MDB6Ii8+PHBhdGggZD0iTTcwMCAxMDBoMTAwdjEwMEg3MDB6Ii8+PHBhdGggZD0iTTgwMCAxMDBoMTAwdjEwMEg4MDB6Ii8+PHBhdGggZD0iTTkwMCAxMDBoMTAwdjEwMEg5MDB6Ii8+PC9nPjwvc3ZnPg==');
            opacity: 0.1;
        }
        
        .hero-content {
            position: relative;
            z-index: 1;
        }
        
        .page-title {
            font-size: 36px;
            font-weight: 800;
            margin-bottom: 10px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        
        .page-subtitle {
            font-size: 18px;
            opacity: 0.9;
            margin-bottom: 25px;
            max-width: 800px;
        }
        
        .hero-stats {
            display: flex;
            gap: 30px;
            flex-wrap: wrap;
        }
        
        .stat-box {
            background: rgba(255, 255, 255, 0.15);
            padding: 15px 25px;
            border-radius: 12px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .stat-value {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 5px;
        }
        
        .stat-label {
            font-size: 14px;
            opacity: 0.9;
        }
        
        /* 筛选工具栏 */
        .filter-section {
            background: var(--card-bg);
            border-radius: 16px;
            padding: 25px;
            margin-bottom: 30px;
            box-shadow: var(--shadow);
        }
        
        .filter-title {
            font-size: 20px;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .filter-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-bottom: 20px;
        }
        
        .filter-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        
        .filter-label {
            font-weight: 600;
            font-size: 14px;
            color: var(--text-primary);
        }
        
        .filter-select, .filter-input {
            padding: 10px 15px;
            border: 1px solid var(--border-color);
            border-radius: 10px;
            background: white;
            color: var(--text-primary);
            font-size: 15px;
            outline: none;
            transition: all 0.3s;
        }
        
        .filter-select:focus, .filter-input:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }
        
        .filter-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
            padding-top: 20px;
            border-top: 1px solid var(--border-color);
        }
        
        .filter-btns {
            display: flex;
            gap: 12px;
        }
        
        .filter-btn {
            padding: 10px 20px;
            border-radius: 10px;
            font-weight: 500;
            font-size: 15px;
            cursor: pointer;
            transition: all 0.3s;
            border: none;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .primary-btn {
            background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
            color: white;
        }
        
        .primary-btn:hover {
            background: linear-gradient(to right, var(--primary-dark), #1e40af);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
        }
        
        .secondary-btn {
            background: #f1f5f9;
            color: var(--text-primary);
            border: 1px solid var(--border-color);
        }
        
        .secondary-btn:hover {
            background: #e2e8f0;
        }
        
        .export-btns {
            display: flex;
            gap: 10px;
        }
        
        .export-btn {
            padding: 8px 16px;
            background: #f8fafc;
            color: var(--text-secondary);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .export-btn:hover {
            background: #e2e8f0;
            color: var(--text-primary);
        }
        
        /* 开奖记录表格 */
        .lottery-table-container {
            background: var(--card-bg);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: var(--shadow-large);
            margin-bottom: 30px;
        }
        
        .table-header {
            padding: 25px 30px;
            background: linear-gradient(to right, #f0f7ff, #e6f0ff);
            border-bottom: 1px solid var(--border-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .table-title {
            font-size: 24px;
            font-weight: 700;
            color: var(--primary-color);
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .table-actions {
            display: flex;
            gap: 10px;
        }
        
        .action-btn {
            padding: 8px 16px;
            background: white;
            color: var(--text-primary);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .action-btn:hover {
            background: #f1f5f9;
            border-color: var(--primary-color);
        }
        
        .table-wrapper {
            overflow-x: auto;
        }
        
        .lottery-table {
            width: 100%;
            border-collapse: collapse;
            min-width: 1000px;
        }
        
        .lottery-table thead {
            background: #f8fafc;
        }
        
        .lottery-table th {
            padding: 18px 20px;
            text-align: left;
            font-weight: 600;
            color: var(--text-primary);
            border-bottom: 2px solid var(--border-color);
            white-space: nowrap;
        }
        
        .lottery-table th.sortable {
            cursor: pointer;
            transition: color 0.3s;
            position: relative;
        }
        
        .lottery-table th.sortable:hover {
            color: var(--primary-color);
        }
        
        .lottery-table th .sort-icon {
            margin-left: 5px;
            opacity: 0.5;
        }
        
        .lottery-table th.sorted .sort-icon {
            opacity: 1;
            color: var(--primary-color);
        }
        
        .lottery-table tbody tr {
            border-bottom: 1px solid var(--border-color);
            transition: background-color 0.2s;
        }
        
        .lottery-table tbody tr:hover {
            background-color: #f8fafc;
        }
        
        .lottery-table tbody tr:nth-child(even) {
            background-color: #fcfdfe;
        }
        
        .lottery-table tbody tr:nth-child(even):hover {
            background-color: #f8fafc;
        }
        
        .lottery-table td {
            padding: 18px 20px;
            vertical-align: middle;
        }
        
        .period-cell {
            font-weight: 700;
            color: var(--primary-color);
            font-size: 16px;
        }
        
        .date-cell {
            color: var(--text-secondary);
            font-size: 14px;
        }
        
        .numbers-cell {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .number-ball {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--danger-color), #dc2626);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 18px;
            box-shadow: 0 3px 6px rgba(239, 68, 68, 0.2);
        }
        
        .sum-cell {
            font-weight: 700;
            color: var(--text-primary);
            font-size: 18px;
        }
        
        .type-cell {
            display: inline-block;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
            text-align: center;
            min-width: 70px;
        }
        
        .type-group3 {
            background: #fef3c7;
            color: #92400e;
        }
        
        .type-group6 {
            background: #d1fae5;
            color: #065f46;
        }
        
        .type-leopard {
            background: #fee2e2;
            color: #991b1b;
        }
        
        .span-cell {
            font-weight: 600;
            color: var(--text-primary);
        }
        
        .parity-cell, .size-cell {
            font-weight: 500;
            color: var(--text-secondary);
        }
        
        .action-cell {
            display: flex;
            gap: 8px;
        }
        
        .view-btn {
            padding: 6px 12px;
            background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
            color: white;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .view-btn:hover {
            background: linear-gradient(to right, var(--primary-dark), #1e40af);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(37, 99, 235, 0.2);
        }
        
        /* 表格底部 */
        .table-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 30px;
            border-top: 1px solid var(--border-color);
            background: #f8fafc;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .table-info {
            font-size: 14px;
            color: var(--text-secondary);
        }
        
        .pagination {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .page-btn {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            background: white;
            border: 1px solid var(--border-color);
            color: var(--text-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 14px;
            font-weight: 500;
        }
        
        .page-btn:hover, .page-btn.active {
            background: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }
        
        .page-btn i {
            font-size: 12px;
        }
        
        .page-info {
            font-size: 14px;
            color: var(--text-secondary);
            margin: 0 10px;
        }
        
        .page-select {
            padding: 8px 12px;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            background: white;
            font-size: 14px;
            outline: none;
        }
        
        /* 统计卡片区 */
        .stats-section {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
            margin-bottom: 30px;
        }
        
        .stat-card {
            background: var(--card-bg);
            border-radius: 16px;
            padding: 25px;
            box-shadow: var(--shadow);
            display: flex;
            align-items: center;
            gap: 20px;
        }
        
        .stat-icon {
            width: 60px;
            height: 60px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            flex-shrink: 0;
        }
        
        .stat-icon-1 {
            background: linear-gradient(135deg, #3b82f6, #1d4ed8);
            color: white;
        }
        
        .stat-icon-2 {
            background: linear-gradient(135deg, #10b981, #059669);
            color: white;
        }
        
        .stat-icon-3 {
            background: linear-gradient(135deg, #f59e0b, #d97706);
            color: white;
        }
        
        .stat-icon-4 {
            background: linear-gradient(135deg, #8b5cf6, #7c3aed);
            color: white;
        }
        
        .stat-content {
            flex: 1;
        }
        
        .stat-value-large {
            font-size: 28px;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 5px;
        }
        
        .stat-label-large {
            font-size: 14px;
            color: var(--text-secondary);
        }
        
        /* 页脚 */
        .site-footer {
            background: #1e293b;
            color: #cbd5e1;
            padding: 10px 0 25px;
            margin-top: 20px;
        }
        
        .copyright {
            text-align: center;
            padding-top: 25px;
            border-top: 1px solid #334155;
            color: #94a3b8;
            font-size: 14px;
        }
        
        /* 空状态 */
        .empty-state {
            padding: 60px 20px;
            text-align: center;
        }
        
        .empty-icon {
            font-size: 60px;
            color: var(--border-color);
            margin-bottom: 20px;
        }
        
        .empty-title {
            font-size: 20px;
            font-weight: 600;
            color: var(--text-secondary);
            margin-bottom: 10px;
        }
        
        .empty-text {
            font-size: 16px;
            color: var(--text-secondary);
            max-width: 500px;
            margin: 0 auto 25px;
        }
        
        /* 响应式设计 */
        @media (max-width: 1200px) {
            .container {
                max-width: 100%;
            }
            
            .stats-section {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 1100px) {
            body .header-search {
                display: none;
            }
            
            .nav-link span {
                display: none;
            }
            
            .nav-link i {
                margin-right: 0;
                font-size: 18px;
            }
            
            .nav-link {
                padding: 16px 10px;
                font-size: 0;
            }
            
            .hero-stats {
                gap: 20px;
            }
            
            .stat-box {
                padding: 12px 20px;
            }
            
            .stat-value {
                font-size: 20px;
            }
        }
        
        @media (max-width: 992px) {
            .header-content {
                flex-direction: row;
                align-items: center;
                gap: 15px;
            }
            
            .logo-area {
                order: 1;
                flex: 1;
            }
            
            .mobile-search-btn {
                order: 2;
                display: block;
            }
            
            .mobile-menu-toggle {
                order: 3;
                display: block;
            }
            
            .page-title {
                font-size: 30px;
            }
            
            .page-subtitle {
                font-size: 16px;
            }
            
            .filter-actions {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .export-btns {
                align-self: flex-end;
            }
        }
        
        @media (max-width: 768px) {
            .main-nav {
                display: none;
            }
            
            .page-hero {
                padding: 30px 0;
            }
            
            .hero-stats {
                flex-direction: column;
                gap: 15px;
            }
            
            .stat-box {
                width: 100%;
            }
            
            .filter-section {
                padding: 20px;
            }
            
            .filter-grid {
                grid-template-columns: 1fr;
            }
            
            .table-header {
                padding: 20px;
                flex-direction: column;
                align-items: flex-start;
            }
            
            .table-actions {
                align-self: flex-end;
            }
            
            .stats-section {
                grid-template-columns: 1fr;
            }
            
            .stat-card {
                padding: 20px;
            }
            
            .table-footer {
                flex-direction: column;
                align-items: flex-start;
                padding: 20px;
            }
            
            .pagination {
                align-self: flex-end;
            }
            
            .lottery-table th, .lottery-table td {
                padding: 14px 16px;
            }
            
            .number-ball {
                width: 36px;
                height: 36px;
                font-size: 16px;
            }
        }
        
        @media (max-width: 576px) {
            .container {
                padding: 0 15px;
            }
            
            .page-hero {
                padding: 25px 0;
            }
            
            .page-title {
                font-size: 26px;
            }
            
            .page-subtitle {
                font-size: 15px;
            }
            
            .filter-section {
                padding: 18px;
            }
            
            .filter-btns {
                width: 100%;
            }
            
            .filter-btn {
                flex: 1;
                justify-content: center;
            }
            
            .export-btns {
                width: 100%;
                justify-content: space-between;
            }
            
            .table-header {
                padding: 18px;
            }
            
            .table-title {
                font-size: 20px;
            }
            
            .action-btn, .export-btn {
                padding: 7px 12px;
                font-size: 13px;
            }
            
            .table-footer {
                padding: 18px;
            }
            
            .page-btn {
                width: 36px;
                height: 36px;
                font-size: 13px;
            }
            
            .stat-card {
                padding: 18px;
            }
            
            .stat-icon {
                width: 50px;
                height: 50px;
                font-size: 20px;
            }
            
            .stat-value-large {
                font-size: 24px;
            }
            
            .period-cell {
                font-size: 15px;
            }
            
            .number-ball {
                width: 32px;
                height: 32px;
                font-size: 14px;
            }
        }
        
        @media (max-width: 480px) {
            .logo-text h1 {
                font-size: 20px;
            }
            
            .logo-icon {
                width: 40px;
                height: 40px;
                font-size: 20px;
            }
            
            .page-title {
                font-size: 22px;
            }
            
            .stat-value {
                font-size: 18px;
            }
            
            .stat-label {
                font-size: 12px;
            }
            
            .action-cell {
                flex-direction: column;
                gap: 5px;
            }
            
            .view-btn {
                padding: 5px 10px;
                font-size: 12px;
            }
            
            .type-cell {
                padding: 4px 8px;
                font-size: 12px;
                min-width: 60px;
            }
        }
        
        @media (max-width: 380px) {
            .hero-stats {
                gap: 12px;
            }
            
            .stat-box {
                padding: 10px 15px;
            }
            
            .page-title {
                font-size: 20px;
            }
            
            .table-actions {
                flex-direction: column;
                width: 100%;
                gap: 8px;
            }
            
            .action-btn {
                width: 100%;
                justify-content: center;
            }
            
            .export-btns {
                flex-direction: column;
            }
            
            .export-btn {
                width: 100%;
                justify-content: center;
            }
            
            .pagination {
                flex-wrap: wrap;
                justify-content: center;
                width: 100%;
            }
        }