
        .navbar-custom {
            background-color: #d32f2f;
            padding: 8px 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            border: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1050;
            transition: all 0.3s ease;
            min-height: 70px;
        }
        .navbar-custom .navbar-brand {
            color: white;
            font-weight: bold;
            font-size: 1.2rem;
        }
        
        .brand-text {
            display: flex;
            flex-direction: column;
            line-height: 1.2;
        }
        
        .brand-name {
            font-size: 1.25rem;
            font-weight: bold;
            color: white;
            letter-spacing: 2.4px;
        }
        
        .brand-slogan {
            font-size: 0.75rem;
            font-weight: normal;
            color: rgba(255, 255, 255, 0.65);
            margin-top: 2px;
        }
        .navbar-custom .nav-link {
            color: white;
            margin: 0 10px;
            font-size: 1.25rem;
            transition: all 0.3s ease;
            border: none;
            outline: none;
            font-weight: 600;
        }
        .navbar-custom .nav-link:hover {
            color: #ffeb3b;
            transform: translateY(-2px);
        }
        .navbar-custom .nav-link:focus {
            outline: none;
            box-shadow: none;
        }
        .navbar-custom .nav-link.active {
            color: #ffeb3b;
            font-weight: 600;
        }
        
        /* 导航下拉菜单样式 */
        .navbar-custom .dropdown-menu {
            background-color: #d32f2f;
            border: none;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            margin-top: 0;
            padding: 0.5rem 0;
        }
        
        .navbar-custom .dropdown-item {
            color: white !important;
            padding: 0.5rem 1.5rem;
            font-size: 1rem;
            transition: all 0.3s ease;
            border: none;
            outline: none;
            background-color: transparent;
        }
        
        .navbar-custom .dropdown-item:hover,
        .navbar-custom .dropdown-item:focus,
        .navbar-custom .dropdown-item:active,
        .navbar-custom .dropdown-item.active {
            background-color: rgba(255,255,255,0.1) !important;
            color: #ffeb3b !important;
            outline: none;
            box-shadow: none;
        }
        
        .navbar-custom .dropdown-item:hover {
            padding-left: 2rem;
        }
        
        .navbar-custom .dropdown-toggle::after {
            margin-left: 0.5rem;
        }
        
        /* 移除下拉菜单展开时的边框 */
        .navbar-custom .dropdown-toggle.show {
            outline: none;
            box-shadow: none;
            border: none;
            color: #ffeb3b;
        }
        
        /* 下拉菜单展开时，保持主导航链接为黄色 */
        .navbar-custom .dropdown:hover > .nav-link,
        .navbar-custom .dropdown.show > .nav-link {
            color: #ffeb3b;
        }
        
        /* 轮播图样式 */
        .hero-carousel {
            height: auto;
            overflow: hidden;
            margin-top: 0;
        }
        
        .hero-carousel .carousel-inner {
            border-radius: 0;
        }
        
        .hero-carousel img {
            width: 100%;
            height: auto;
            display: block;
        }
        .carousel-item {
            min-height: 400px;
            height: auto;
            background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
            position: relative;
        }
        
        @media (min-width: 768px) {
            .carousel-item {
                min-height: 500px;
            }
        }
        .carousel-item.slide-2 {
            background: linear-gradient(135deg, #d32f2f 0%, #f44336 100%);
        }
        .carousel-item.slide-3 {
            background: linear-gradient(135deg, #4caf50 0%, #8bc34a 100%);
        }
        .carousel-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            color: white;
            z-index: 2;
        }
        .carousel-title {
            font-size: 3rem;
            font-weight: bold;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }
        .carousel-subtitle {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }
        .carousel-btn {
            background: rgba(255,255,255,0.2);
            border: 2px solid white;
            color: white;
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: bold;
            transition: all 0.3s ease;
        }
        .carousel-btn:hover {
            background: white;
            color: #1a237e;
            transform: translateY(-2px);
        }
        
        .lottery-section {
            background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
            padding: 25px 0;
            box-shadow: inset 0 2px 10px rgba(0,0,0,0.1);
        }
        .lottery-ball {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            margin: 0 4px;
            box-shadow: 0 3px 6px rgba(0,0,0,0.2);
            transition: transform 0.3s ease;
        }
        .lottery-ball:hover {
            transform: scale(1.1);
        }
        .red-ball {
            background: linear-gradient(135deg, #f44336, #d32f2f);
        }
        .blue-ball {
            background: linear-gradient(135deg, #2196f3, #1976d2);
        }
        
        .content-section {
            padding: 70px 0;
            margin-top: 20px;
        }
        .video-card {
            border: none;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            border-radius: 15px;
            overflow: hidden;
        }
        .video-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.2);
        }
        
        /* 16:9 视频缩略图 */
        .video-thumbnail {
            aspect-ratio: 16/9;
            position: relative;
            background: linear-gradient(45deg, #1a237e, #3949ab);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            overflow: hidden;
            background-size: cover;
            background-position: center;
        }
        
        /* 播放按钮 */
        .play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 2;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            border: 2px solid rgba(255, 255, 255, 0.6);
        }
        .play-button:hover {
            background: rgba(255, 255, 255, 0.5);
            transform: translate(-50%, -50%) scale(1.1);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        }
        .play-button i {
            color: white;
            font-size: 1.5rem;
            margin-left: 3px;
        }
        .play-button::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            border: 2px solid rgba(255, 255, 255, 0.4);
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0% {
                transform: scale(1);
                opacity: 1;
            }
            100% {
                transform: scale(1.3);
                opacity: 0;
            }
        }
        
        /* 视频覆盖层 */
        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0);
            transition: all 0.3s ease;
        }
        .video-card:hover .video-overlay {
            background: rgba(0,0,0,0);
        }
        
        .live-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: linear-gradient(45deg, #f44336, #ff5722);
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: bold;
            z-index: 3;
            transition: all 0.3s ease;
        }
        
        /* 平板端状态徽章样式 */
        @media (min-width: 769px) and (max-width: 1024px) {
            .live-badge {
                top: auto;
                bottom: 10px;
                right: 10px;
                padding: 8px 16px;
                font-size: 0.9rem;
                border-radius: 25px;
            }
            
            /* iPad首页最新直播布局优化 - 两个col-md-6都占100%垂直排列 */
            #zhibo .row > .col-md-6 {
                width: 100% !important;
                max-width: 100% !important;
                flex: 0 0 100% !important;
            }
        }
        
        /* PC端状态徽章样式 */
        @media (min-width: 1025px) {
            .live-badge {
                top: auto;
                bottom: 15px;
                right: 15px;
                padding: 12px 24px;
                font-size: 1.1rem;
                border-radius: 30px;
            }
        }
        
        .live-badge:not(.bg-secondary) {
            animation: pulse 2s infinite;
        }
        
        .live-badge.bg-secondary {
            background: #6c757d !important;
            animation: none;
        }
        
        .live-badge.bg-warning {
            background: linear-gradient(45deg, #ff9800, #ffc107) !important;
        }
        
        .live-badge.bg-success {
            background: linear-gradient(45deg, #4caf50, #8bc34a) !important;
        }
        
        .live-badge.live-pulse {
            background: linear-gradient(45deg, #d32f2f, #f44336) !important;
            animation: live-pulse 1.5s infinite;
        }
        
        @keyframes live-pulse {
            0%, 100% {
                box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7);
            }
            50% {
                box-shadow: 0 0 0 10px rgba(211, 47, 47, 0);
            }
        }
        
        .video-card-disabled {
            pointer-events: none;
        }
        
        .video-card-disabled:hover {
            transform: none !important;
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        .footer-custom {
            background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
            color: white;
            padding: 50px 0 30px;
        }
        
        .footer-custom .title {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }
        
        .footer-custom ul li {
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
        }
        
        .footer-custom ul li span {
            cursor: default;
        }
        
        .footer-custom ul li a {
            transition: all 0.3s ease;
            display: inline-block;
        }
        
        .footer-custom ul li a:hover {
            color: #ffeb3b !important;
            padding-left: 5px;
        }
        
        .qr-code-wrapper img {
            width: 180px;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }
        
        .qr-code-img {
            width: 100%;
            height: auto;
            display: block;
        }
        
        /* 移动端Footer样式 */
        .footer-mobile {
            background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
            padding-bottom: 70px;
        }
        
        .footer-mobile .qr-code-mobile {
            display: inline-block;
            max-width: 150px;
        }
        
        .footer-mobile .qr-code-mobile img {
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        }
        
        .footer-mobile .btn-outline-light {
            border-color: rgba(255,255,255,0.5);
            color: white;
        }
        
        .footer-mobile .btn-outline-light:hover {
            background-color: rgba(255,255,255,0.1);
            border-color: white;
        }
        
        .section-title {
            color: #d32f2f;
            font-weight: bold;
            margin-bottom: 30px;
            position: relative;
            font-size: 1.4rem;
        }
        .section-title-with-icon {
            padding-left: 58px;
            display: inline-block;
            position: relative;
        }
        .section-title-with-icon::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 48px;
            height: 48px;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M579.015 422.753v-24.347h-51.503v32.45h40.198c8.705 1.068 12.507-1.624 11.305-8.103zM496.112 430.856v-32.45H445.45l0.009 32.45z' fill='%23d81e06'/%3E%3Cpath d='M988.834 510.977c0-262.892-213.115-476.007-476.006-476.007-262.891 0-476.006 213.115-476.006 476.007 0 262.89 213.115 476.005 476.006 476.005 262.892 0 476.006-213.115 476.006-476.005zM692.41 730.929h-36.886v90.433h-36.12V730.91l-46.36 0.018H526.68v90.433H490.55v-90.433h-36.828v-29.682H692.41v29.682z m-329.705-73.94l-28.765 0.017-0.058-114.163 30.315-0.017 52.48 75.29-0.025-75.29 28.849-0.017 0.05 114.147-30.634 0.032-52.236-74.755 0.024 74.756z m-88.415-297.538h28.79l18.352 44.634 19.187-56.023h-65.48v-25.14h98.68v22.713l-35.794 95.778 15.709 38.129c0.559 4.32 3.202 6.22 7.855 5.67h11.322v21.127H346.74c-7.563 0-12.515-3.533-14.825-10.555l-7.862-17.041-7.005 17.04c-2.31 7.571-7.853 11.357-16.584 11.357h-23.571v-21.927h7.003c4.662 0.567 7.263-1.07 7.862-4.853l15.718-42.198-33.185-78.711z m166.798 148.507c-22.678 2.152-31.991-5.437-27.94-22.746V376.494h133.583l22.676-25.18H455.956l-8.754 8.137c-2.31 3.218-7.555 4.57-15.717 4.061H413.15v-23.554h8.763c2.31 0.558 4.92-0.791 7.813-4.053l14.867-15.4h36.653l-6.964 8.097h136.185v22.712l-23.579 25.18H611.3v52.739c1.77 18.375-7.236 26.514-27.012 24.338H445.45v25.172c-1.151 5.4 1.192 7.586 7.003 6.47H612.2v22.746h-171.11z m28.9-250.47h-14.333l8.757-22.787c4.851-0.349 9.754-0.662 14.693-0.943l-9.117 23.73z m16.094-24.113a1042.75 1042.75 0 0 1 43.067-1.294c9.092 0.463 20.665 1.408 33.978 2.815-4.096 1.12-8.345 1.77-12.692 1.77h-24.99l-16.126 42.057h-40.673l17.436-45.348z m160.804 195.047v-22.747h24.446v-55.987h-24.446v-22.712h74.208v21.92l-21.847-0.009v57.622h20.944v21.913h-20.944v59.258h20.944v21.078h-74.207v-20.296h25.348v-60.04h-24.446z m54.397 173.335c0 43.758-35.723 79.445-79.445 79.445-43.756 0-79.445-35.702-79.445-79.445 0-43.754 35.689-79.424 79.445-79.424 43.722 0 79.41 35.67 79.445 79.424zM526.41 660.624h-38.528l-0.042-121.533 38.522-0.016 0.048 121.549z m328.49 83.363c0 43.76-35.686 79.446-79.408 79.446-43.759 0-79.446-35.707-79.446-79.446 0-43.74 35.687-79.427 79.446-79.427 43.722 0 79.407 35.67 79.407 79.427z m-48.491-201.16l28.85-0.018 0.032 114.147-30.619 0.032-52.23-74.755 0.033 74.755-28.782 0.017-0.065-114.163 30.317-0.017 52.495 75.31-0.031-75.309z m40.387-168.734l-1.467 8.128-3.769 21.038c-0.323 1.784-0.796 3.382-1.412 4.803-2.715 6.365-8.357 9.117-16.932 8.23H805.74V396.78h5.269c2.302 0.518 4.07-1.349 5.204-5.677l3.5-17.066h27.082l-0.01 0.058h0.01z m-1.736-31.71c0 14.092-8.737 20.846-26.178 20.296l-18.346-0.011v62.501h28.816l6.104 56.823c0 4.854 1.733 7.039 5.236 6.469h5.204v21.097h-16.544c-12.238 0.55-18.643-4.321-19.244-14.576l-6.104-55.196h-3.469v47.06c1.17 16.792-5.234 24.327-19.21 22.712h-18.343v-21.097h4.368c2.903 0 4.37-1.615 4.37-4.869v-43.807h-2.635l-10.439 53.563c-2.366 10.29-8.471 15.41-18.374 15.41h-16.578V487.68h1.768c3.503 0.515 5.804-1.352 6.972-5.688l10.508-56.823h28.78v-61.657h-45.424v-24.355l46.326 0.01-0.033-15.443h28.813v15.443h12.208c3.504 0 5.57-1.636 6.103-4.888v-7.302h25.347v15.406z m-80.308 53.563v19.502l-19.212-0.007c-10.472 1.074-16.275-3.528-17.475-13.817l-4.37-26.763h27.083l3.469 16.232c0 3.787 2.035 5.413 6.104 4.854h4.401z m-3.97-22.812h0.734v3.535l-0.734-3.535zM551.766 172.566h-1.633L543.05 191a738.454 738.454 0 0 0-16.116-0.61c-5.598-0.145-11.3-0.218-16.948-0.218-2.446 0-4.88 0.047-7.321 0.075l19.228-50.007h36.01c26.147 0 45.925 21.729 43.859 48.209-0.206 2.578-0.661 5.09-1.246 7.56a708.896 708.896 0 0 0-32.513-3.398c0.19-0.615 0.351-1.237 0.473-1.868 2.037-9.99-5.503-18.177-16.71-18.177z m-121.964 22.289c-11.21 1.295-22.258 2.86-33.14 4.621-0.558-3.55-0.767-7.232-0.48-11.028 2.102-26.48 25.188-48.209 51.336-48.209h25.63l-12.422 32.326h-6.505c-11.264 0-22.104 8.187-24.164 18.176a16.17 16.17 0 0 0-0.255 4.114z m67.653-99.673h43.108l-5.638 14.675-28.806 0.008-31.161 81.248c-4.92 0.252-9.82 0.552-14.703 0.906l37.2-96.837z m11.648 23.237h43.066l-5.638 14.667h-28.75l-21.99 57.242c-4.85 0.104-9.683 0.265-14.505 0.468l27.817-72.377z m17.626 79.86c104.88 2.693 232.952 29.7 307.492 97.955-68.704-44.158-242.733-68.92-304.907-72.048-139.169 1.258-247.778 28.832-350.319 64.444 56.907-46.668 199.82-94.153 347.734-90.351z m-351.068 308.86v-21.927h7.812c1.76 0.55 2.951-0.234 3.511-2.42l18.318-48.683-29.64-73.857 27.04-0.007 16.566 38.962 16.617-50.319h-61.116v-25.164h93.418v21.912l-34.052 90.9 18.327 44.623c1.159 3.253 3.21 4.604 6.104 4.054h10.473v21.927h-24.44c-7.546 0-12.206-3.25-13.965-9.738l-10.472-24.347-9.606 24.347c-2.901 7.037-7.854 10.29-14.808 9.738H175.66z m107.152 301.617H183.54v-117.63h34.277v94.235h64.995v23.395z m-1.636-168.577l-7.703 8.27-9.698 5.74-11.481 3.485-12.78 1.516-13.585-0.25-13.707-1.67-8.221-2.433-6.995-3.518-5.862-4.5-4.786-5.388-3.776-6.288-2.752-7.088-1.741-7.888-0.735-8.622-0.041-68.62 31.007-0.032 0.15 73.506 2.893 9.523 5.795 7.086 7.637 4.184 8.455 1.419 8.472-1.419 7.661-4.184 5.838-7.071 2.95-9.52 0.042-73.539 31.001-0.02-0.017 71.139-2.634 14.91-5.387 11.272z m7.981 108.927c0-43.755 35.677-79.444 79.434-79.444 43.749 0 79.434 35.689 79.434 79.444 0 43.74-35.686 79.427-79.434 79.427-43.757 0-79.434-35.687-79.434-79.427z' fill='%23d81e06'/%3E%3C/svg%3E");
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }
        .section-title-with-icon::after {
            display: none;
        }
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, #d32f2f, #f44336);
            border-radius: 2px;
        }
        
        /* 直播背景图片样式 - CSS静态定义 */
        .bg-image-1 {
            background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/gm.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }
        .bg-image-2 {
            background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/zjt.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }
        .bg-image-3 {
            background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/ll.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }
        
        /* 宝典背景图片 - CSS固定设置 */
        .bg-baodian {
            background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url('https://vpic-cover.puui.qpic.cn/f3187uzj6g7/f3187uzj6g7_1768369532_hz.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }
        
        /* 卡片内容样式 */
        .card-body {
            padding: 20px;
        }
        .card-text {
            font-size: 1rem;
            line-height: 1.5;
            margin-bottom: 10px;
        }
        
        /* 链接样式统一 */
        a, a:link {
            text-decoration: none !important;
            color: inherit;
        }
        a:hover {
            text-decoration: none !important;
        }
        
        /* 实心按钮链接保持白色文字 */
        a.btn-primary, a.btn-primary:link, a.btn-primary:visited, a.btn-primary:hover, a.btn-primary:active,
        a.btn-danger, a.btn-danger:link, a.btn-danger:visited, a.btn-danger:hover, a.btn-danger:active,
        a.btn-success, a.btn-success:link, a.btn-success:visited, a.btn-success:hover, a.btn-success:active,
        a.btn-info, a.btn-info:link, a.btn-info:visited, a.btn-info:hover, a.btn-info:active {
            color: white !important;
        }
        
        /* 最新课程标题样式 */
        .item-title a h3 {
            font-size: 1rem;
            line-height: 1.5;
            color: inherit;
            transition: color 0.3s ease;
        }
        .item-title a:hover h3 {
            color: #d32f2f;
        }
        
        /* Slogan样式 - 已移至brand-slogan */
        
        /* 圆形图标容器样式 */
        .icon-circle {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto;
            transition: all 0.3s ease;
        }
        .icon-circle i {
            font-size: 2rem;
        }
        .icon-circle:hover {
            transform: scale(1.1);
        }
        
        /* 活动卡片优化样式 */
        .activity-card {
            transition: all 0.3s ease;
            border-radius: 20px !important;
        }
        .activity-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
        }
        .activity-card .card-body {
            padding: 1rem !important;
        }
        .activity-card .card-title {
            color: #333;
            font-size: 1.25rem;
        }
        .activity-card .btn {
            border-radius: 25px;
            font-weight: 500;
            transition: all 0.3s ease;
            border-width: 2px;
            border-style: solid;
            border-color: #d32f2f;
            background-color: transparent;
            color: #d32f2f;
        }
        .activity-card .btn:hover {
            background-color: #d32f2f;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
        }
        
        /* 平滑滚动 */
        html {
            scroll-behavior: smooth;
        }
        
        /* 锚点偏移，避免导航栏遮挡 */
        section[id] {
            scroll-margin-top: 80px;
        }
        
        /* 响应式优化 */
        @media (max-width: 768px) {
            .carousel-title {
            }
            .play-button {
                width: 30px;
                height: 30px;
            }
            .play-button i {
                font-size: 0.8rem;
            }
            
            /* 移动端banner图片优化 */
            .hero-carousel .carousel-inner img {
                width: 100% !important;
                height: auto !important;
                min-width: 100% !important;
                max-width: 100% !important;
                object-fit: contain;
            }
            
            .hero-carousel .carousel-item {
                height: auto;
                min-height: auto;
            }
            
            .hero-carousel .container {
                padding: 0;
                max-width: 100%;
            }
            
            .hero-carousel .d-flex {
                width: 100%;
            }
            
            /* 移动端导航栏优化 */
            .navbar-custom {
                min-height: 60px;
            }
            
            body {
                padding-top: 60px;
            }
            
            .brand-name {
                font-size: 1.2rem !important;
                letter-spacing: 0px;
            }
            
            .brand-slogan {
                font-size: 0.65rem !important;
                display: block;
            }
            
            /* 移动端导航菜单背景 */
            .navbar-collapse {
                background-color: #d32f2f;
                padding: 1rem;
                margin-top: 0.5rem;
                border-radius: 8px;
            }
            
            /* 移动端返回顶部按钮位置调整 */
            .back-to-top {
                bottom: 20px;
                right: 20px;
                width: 45px;
                height: 45px;
                font-size: 1.1rem;
            }
            
            /* 移动端彩票区域优化 */
            .lottery-section {
                padding: 20px 0;
            }
            
            .lottery-section .row {
                justify-content: center;
            }
            
            .lottery-section .col-md-8,
            .lottery-section .col-md-4 {
                text-align: center;
            }
            
            .lottery-section .d-flex {
                justify-content: center;
            }
            
            .lottery-ball {
                width: 32px;
                height: 32px;
                font-size: 0.85rem;
                margin: 0 2px;
            }
            
            .lottery-section .text-muted {
                font-size: 0.85rem;
            }
            
            /* 移动端内容区域padding优化 */
            .content-section {
                padding: 0;
            }
            
            /* 移动端直播区域布局优化 */
            #zhibo .row {
                display: flex;
                flex-wrap: wrap;
            }
            
            #zhibo .col-md-6:first-child,
            #zhibo .col-md-3:first-child {
                width: 100%;
                margin-bottom: 20px;
            }
            
            #zhibo .col-md-3:nth-child(2),
            #zhibo .col-md-3:nth-child(3) {
                width: 50%;
                padding-left: 7.5px;
                padding-right: 7.5px;
            }
            
            #zhibo .col-md-3:nth-child(2) {
                padding-left: 15px;
                padding-right: 7.5px;
            }
            
            #zhibo .col-md-3:nth-child(3) {
                padding-left: 7.5px;
                padding-right: 15px;
            }
            
            /* 移动端宝典区域布局优化 */
            #baodian .row {
                display: flex;
                flex-wrap: wrap;
            }
            
            #baodian .section-title {
                padding-top: 20px;
            }
            
            #baodian .col-md-4:first-child {
                width: 100%;
                margin-bottom: 20px;
            }
            
            #baodian .col-md-4:nth-child(2),
            #baodian .col-md-4:nth-child(3) {
                width: 50%;
                padding-left: 7.5px;
                padding-right: 7.5px;
            }
            
            #baodian .col-md-4:nth-child(2) {
                padding-left: 15px;
                padding-right: 7.5px;
            }
            
            #baodian .col-md-4:nth-child(3) {
                padding-left: 7.5px;
                padding-right: 15px;
            }
            
            /* 移动端课程区域布局优化 - 一行两个 */
            #kecheng .row {
                display: flex;
                flex-wrap: wrap;
            }
            
            #kecheng .col-md-3 {
                width: 50%;
                margin-bottom: 20px;
                padding-left: 7.5px;
                padding-right: 7.5px;
            }
            
            #kecheng .col-md-3:nth-child(odd) {
                padding-left: 15px;
                padding-right: 7.5px;
            }
            
            #kecheng .col-md-3:nth-child(even) {
                padding-left: 7.5px;
                padding-right: 15px;
            }
            
            /* 移动端会员与活动区域布局优化 - 一行两个 */
            #huodong .row {
                display: flex;
                flex-wrap: wrap;
            }
            
            #huodong .col-md-3 {
                width: 50%;
                margin-bottom: 20px;
                padding-left: 7.5px;
                padding-right: 7.5px;
            }
            
            #huodong .col-md-3:nth-child(odd) {
                padding-left: 15px;
                padding-right: 7.5px;
            }
            
            #huodong .col-md-3:nth-child(even) {
                padding-left: 7.5px;
                padding-right: 15px;
            }
        }
        
        /* 为固定导航栏添加body顶部间距 */
        body {
            padding-top: 70px;
            margin: 0;
        }
        
        /* 防止模态框打开时滚动条消失导致页面跳动 */
        body.modal-open {
            overflow: hidden;
            padding-right: 0 !important;
        }
        
        .modal-open .navbar-custom {
            padding-right: 0 !important;
        }
        
        /* 保持滚动条始终显示 */
        html {
            overflow-y: scroll;
        }
        
        /* 移动端防止横向滚动 */
        @media (max-width: 768px) {
            html, body {
                overflow-x: hidden;
                max-width: 100vw;
            }
        }
        
        /* 导航栏切换按钮样式 */
        .navbar-toggler {
            border-color: rgba(255,255,255,0.5);
            padding: 0.5rem 0.75rem;
        }
        
        .navbar-toggler:focus {
            box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.25);
        }
        
        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }
        
        /* 返回顶部按钮样式 */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #d32f2f, #f44336);
            color: white;
            border: none;
            border-radius: 50%;
            font-size: 1.2rem;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
            transition: all 0.3s ease;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
        }
        .back-to-top.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .back-to-top:hover {
            background: linear-gradient(135deg, #b71c1c, #d32f2f);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
        }
        .back-to-top:active {
            transform: translateY(0);
        }
        
        /* 移动端底部导航 */
        .mobile-bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: white;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
            display: flex;
            justify-content: space-around;
            align-items: center;
            padding: 8px 0;
            z-index: 1040;
            border-top: 1px solid #e0e0e0;
        }
        
        .mobile-nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: #666;
            font-size: 0.75rem;
            padding: 4px 8px;
            transition: all 0.3s ease;
            flex: 1;
            max-width: 80px;
        }
        
        .mobile-nav-item i {
            font-size: 1.5rem;
            margin-bottom: 2px;
        }
        
        .mobile-nav-item span {
            font-size: 0.7rem;
        }
        
        .mobile-nav-item.active {
            color: #d32f2f !important;
        }
        
        .mobile-nav-item.active i {
            color: #d32f2f !important;
        }
        
        .mobile-nav-item.active span {
            color: #d32f2f !important;
        }
        
        /* 彩票图标样式 */
        .lottery-icon {
            display: inline-block;
            width: 1.7rem;
            height: 1.7rem;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M579.015 422.753v-24.347h-51.503v32.45h40.198c8.705 1.068 12.507-1.624 11.305-8.103zM496.112 430.856v-32.45H445.45l0.009 32.45z' fill='%23666'/%3E%3Cpath d='M988.834 510.977c0-262.892-213.115-476.007-476.006-476.007-262.891 0-476.006 213.115-476.006 476.007 0 262.89 213.115 476.005 476.006 476.005 262.892 0 476.006-213.115 476.006-476.005zM692.41 730.929h-36.886v90.433h-36.12V730.91l-46.36 0.018H526.68v90.433H490.55v-90.433h-36.828v-29.682H692.41v29.682z m-329.705-73.94l-28.765 0.017-0.058-114.163 30.315-0.017 52.48 75.29-0.025-75.29 28.849-0.017 0.05 114.147-30.634 0.032-52.236-74.755 0.024 74.756z m-88.415-297.538h28.79l18.352 44.634 19.187-56.023h-65.48v-25.14h98.68v22.713l-35.794 95.778 15.709 38.129c0.559 4.32 3.202 6.22 7.855 5.67h11.322v21.127H346.74c-7.563 0-12.515-3.533-14.825-10.555l-7.862-17.041-7.005 17.04c-2.31 7.571-7.853 11.357-16.584 11.357h-23.571v-21.927h7.003c4.662 0.567 7.263-1.07 7.862-4.853l15.718-42.198-33.185-78.711z m166.798 148.507c-22.678 2.152-31.991-5.437-27.94-22.746V376.494h133.583l22.676-25.18H455.956l-8.754 8.137c-2.31 3.218-7.555 4.57-15.717 4.061H413.15v-23.554h8.763c2.31 0.558 4.92-0.791 7.813-4.053l14.867-15.4h36.653l-6.964 8.097h136.185v22.712l-23.579 25.18H611.3v52.739c1.77 18.375-7.236 26.514-27.012 24.338H445.45v25.172c-1.151 5.4 1.192 7.586 7.003 6.47H612.2v22.746h-171.11z m28.9-250.47h-14.333l8.757-22.787c4.851-0.349 9.754-0.662 14.693-0.943l-9.117 23.73z m16.094-24.113a1042.75 1042.75 0 0 1 43.067-1.294c9.092 0.463 20.665 1.408 33.978 2.815-4.096 1.12-8.345 1.77-12.692 1.77h-24.99l-16.126 42.057h-40.673l17.436-45.348z m160.804 195.047v-22.747h24.446v-55.987h-24.446v-22.712h74.208v21.92l-21.847-0.009v57.622h20.944v21.913h-20.944v59.258h20.944v21.078h-74.207v-20.296h25.348v-60.04h-24.446z m54.397 173.335c0 43.758-35.723 79.445-79.445 79.445-43.756 0-79.445-35.702-79.445-79.445 0-43.754 35.689-79.424 79.445-79.424 43.722 0 79.41 35.67 79.445 79.424zM526.41 660.624h-38.528l-0.042-121.533 38.522-0.016 0.048 121.549z m328.49 83.363c0 43.76-35.686 79.446-79.408 79.446-43.759 0-79.446-35.707-79.446-79.446 0-43.74 35.687-79.427 79.446-79.427 43.722 0 79.407 35.67 79.407 79.427z m-48.491-201.16l28.85-0.018 0.032 114.147-30.619 0.032-52.23-74.755 0.033 74.755-28.782 0.017-0.065-114.163 30.317-0.017 52.495 75.31-0.031-75.309z m40.387-168.734l-1.467 8.128-3.769 21.038c-0.323 1.784-0.796 3.382-1.412 4.803-2.715 6.365-8.357 9.117-16.932 8.23H805.74V396.78h5.269c2.302 0.518 4.07-1.349 5.204-5.677l3.5-17.066h27.082l-0.01 0.058h0.01z m-1.736-31.71c0 14.092-8.737 20.846-26.178 20.296l-18.346-0.011v62.501h28.816l6.104 56.823c0 4.854 1.733 7.039 5.236 6.469h5.204v21.097h-16.544c-12.238 0.55-18.643-4.321-19.244-14.576l-6.104-55.196h-3.469v47.06c1.17 16.792-5.234 24.327-19.21 22.712h-18.343v-21.097h4.368c2.903 0 4.37-1.615 4.37-4.869v-43.807h-2.635l-10.439 53.563c-2.366 10.29-8.471 15.41-18.374 15.41h-16.578V487.68h1.768c3.503 0.515 5.804-1.352 6.972-5.688l10.508-56.823h28.78v-61.657h-45.424v-24.355l46.326 0.01-0.033-15.443h28.813v15.443h12.208c3.504 0 5.57-1.636 6.103-4.888v-7.302h25.347v15.406z m-80.308 53.563v19.502l-19.212-0.007c-10.472 1.074-16.275-3.528-17.475-13.817l-4.37-26.763h27.083l3.469 16.232c0 3.787 2.035 5.413 6.104 4.854h4.401z m-3.97-22.812h0.734v3.535l-0.734-3.535zM551.766 172.566h-1.633L543.05 191a738.454 738.454 0 0 0-16.116-0.61c-5.598-0.145-11.3-0.218-16.948-0.218-2.446 0-4.88 0.047-7.321 0.075l19.228-50.007h36.01c26.147 0 45.925 21.729 43.859 48.209-0.206 2.578-0.661 5.09-1.246 7.56a708.896 708.896 0 0 0-32.513-3.398c0.19-0.615 0.351-1.237 0.473-1.868 2.037-9.99-5.503-18.177-16.71-18.177z m-121.964 22.289c-11.21 1.295-22.258 2.86-33.14 4.621-0.558-3.55-0.767-7.232-0.48-11.028 2.102-26.48 25.188-48.209 51.336-48.209h25.63l-12.422 32.326h-6.505c-11.264 0-22.104 8.187-24.164 18.176a16.17 16.17 0 0 0-0.255 4.114z m67.653-99.673h43.108l-5.638 14.675-28.806 0.008-31.161 81.248c-4.92 0.252-9.82 0.552-14.703 0.906l37.2-96.837z m11.648 23.237h43.066l-5.638 14.667h-28.75l-21.99 57.242c-4.85 0.104-9.683 0.265-14.505 0.468l27.817-72.377z m17.626 79.86c104.88 2.693 232.952 29.7 307.492 97.955-68.704-44.158-242.733-68.92-304.907-72.048-139.169 1.258-247.778 28.832-350.319 64.444 56.907-46.668 199.82-94.153 347.734-90.351z m-351.068 308.86v-21.927h7.812c1.76 0.55 2.951-0.234 3.511-2.42l18.318-48.683-29.64-73.857 27.04-0.007 16.566 38.962 16.617-50.319h-61.116v-25.164h93.418v21.912l-34.052 90.9 18.327 44.623c1.159 3.253 3.21 4.604 6.104 4.054h10.473v21.927h-24.44c-7.546 0-12.206-3.25-13.965-9.738l-10.472-24.347-9.606 24.347c-2.901 7.037-7.854 10.29-14.808 9.738H175.66z m107.152 301.617H183.54v-117.63h34.277v94.235h64.995v23.395z m-1.636-168.577l-7.703 8.27-9.698 5.74-11.481 3.485-12.78 1.516-13.585-0.25-13.707-1.67-8.221-2.433-6.995-3.518-5.862-4.5-4.786-5.388-3.776-6.288-2.752-7.088-1.741-7.888-0.735-8.622-0.041-68.62 31.007-0.032 0.15 73.506 2.893 9.523 5.795 7.086 7.637 4.184 8.455 1.419 8.472-1.419 7.661-4.184 5.838-7.071 2.95-9.52 0.042-73.539 31.001-0.02-0.017 71.139-2.634 14.91-5.387 11.272z m7.981 108.927c0-43.755 35.677-79.444 79.434-79.444 43.749 0 79.434 35.689 79.434 79.444 0 43.74-35.686 79.427-79.434 79.427-43.757 0-79.434-35.687-79.434-79.427z' fill='%23666'/%3E%3C/svg%3E");
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }
        
        /* Active状态下的彩票图标变红色 */
        .mobile-nav-item.active .lottery-icon {
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M579.015 422.753v-24.347h-51.503v32.45h40.198c8.705 1.068 12.507-1.624 11.305-8.103zM496.112 430.856v-32.45H445.45l0.009 32.45z' fill='%23d32f2f'/%3E%3Cpath d='M988.834 510.977c0-262.892-213.115-476.007-476.006-476.007-262.891 0-476.006 213.115-476.006 476.007 0 262.89 213.115 476.005 476.006 476.005 262.892 0 476.006-213.115 476.006-476.005zM692.41 730.929h-36.886v90.433h-36.12V730.91l-46.36 0.018H526.68v90.433H490.55v-90.433h-36.828v-29.682H692.41v29.682z m-329.705-73.94l-28.765 0.017-0.058-114.163 30.315-0.017 52.48 75.29-0.025-75.29 28.849-0.017 0.05 114.147-30.634 0.032-52.236-74.755 0.024 74.756z m-88.415-297.538h28.79l18.352 44.634 19.187-56.023h-65.48v-25.14h98.68v22.713l-35.794 95.778 15.709 38.129c0.559 4.32 3.202 6.22 7.855 5.67h11.322v21.127H346.74c-7.563 0-12.515-3.533-14.825-10.555l-7.862-17.041-7.005 17.04c-2.31 7.571-7.853 11.357-16.584 11.357h-23.571v-21.927h7.003c4.662 0.567 7.263-1.07 7.862-4.853l15.718-42.198-33.185-78.711z m166.798 148.507c-22.678 2.152-31.991-5.437-27.94-22.746V376.494h133.583l22.676-25.18H455.956l-8.754 8.137c-2.31 3.218-7.555 4.57-15.717 4.061H413.15v-23.554h8.763c2.31 0.558 4.92-0.791 7.813-4.053l14.867-15.4h36.653l-6.964 8.097h136.185v22.712l-23.579 25.18H611.3v52.739c1.77 18.375-7.236 26.514-27.012 24.338H445.45v25.172c-1.151 5.4 1.192 7.586 7.003 6.47H612.2v22.746h-171.11z m28.9-250.47h-14.333l8.757-22.787c4.851-0.349 9.754-0.662 14.693-0.943l-9.117 23.73z m16.094-24.113a1042.75 1042.75 0 0 1 43.067-1.294c9.092 0.463 20.665 1.408 33.978 2.815-4.096 1.12-8.345 1.77-12.692 1.77h-24.99l-16.126 42.057h-40.673l17.436-45.348z m160.804 195.047v-22.747h24.446v-55.987h-24.446v-22.712h74.208v21.92l-21.847-0.009v57.622h20.944v21.913h-20.944v59.258h20.944v21.078h-74.207v-20.296h25.348v-60.04h-24.446z m54.397 173.335c0 43.758-35.723 79.445-79.445 79.445-43.756 0-79.445-35.702-79.445-79.445 0-43.754 35.689-79.424 79.445-79.424 43.722 0 79.41 35.67 79.445 79.424zM526.41 660.624h-38.528l-0.042-121.533 38.522-0.016 0.048 121.549z m328.49 83.363c0 43.76-35.686 79.446-79.408 79.446-43.759 0-79.446-35.707-79.446-79.446 0-43.74 35.687-79.427 79.446-79.427 43.722 0 79.407 35.67 79.407 79.427z m-48.491-201.16l28.85-0.018 0.032 114.147-30.619 0.032-52.23-74.755 0.033 74.755-28.782 0.017-0.065-114.163 30.317-0.017 52.495 75.31-0.031-75.309z m40.387-168.734l-1.467 8.128-3.769 21.038c-0.323 1.784-0.796 3.382-1.412 4.803-2.715 6.365-8.357 9.117-16.932 8.23H805.74V396.78h5.269c2.302 0.518 4.07-1.349 5.204-5.677l3.5-17.066h27.082l-0.01 0.058h0.01z m-1.736-31.71c0 14.092-8.737 20.846-26.178 20.296l-18.346-0.011v62.501h28.816l6.104 56.823c0 4.854 1.733 7.039 5.236 6.469h5.204v21.097h-16.544c-12.238 0.55-18.643-4.321-19.244-14.576l-6.104-55.196h-3.469v47.06c1.17 16.792-5.234 24.327-19.21 22.712h-18.343v-21.097h4.368c2.903 0 4.37-1.615 4.37-4.869v-43.807h-2.635l-10.439 53.563c-2.366 10.29-8.471 15.41-18.374 15.41h-16.578V487.68h1.768c3.503 0.515 5.804-1.352 6.972-5.688l10.508-56.823h28.78v-61.657h-45.424v-24.355l46.326 0.01-0.033-15.443h28.813v15.443h12.208c3.504 0 5.57-1.636 6.103-4.888v-7.302h25.347v15.406z m-80.308 53.563v19.502l-19.212-0.007c-10.472 1.074-16.275-3.528-17.475-13.817l-4.37-26.763h27.083l3.469 16.232c0 3.787 2.035 5.413 6.104 4.854h4.401z m-3.97-22.812h0.734v3.535l-0.734-3.535zM551.766 172.566h-1.633L543.05 191a738.454 738.454 0 0 0-16.116-0.61c-5.598-0.145-11.3-0.218-16.948-0.218-2.446 0-4.88 0.047-7.321 0.075l19.228-50.007h36.01c26.147 0 45.925 21.729 43.859 48.209-0.206 2.578-0.661 5.09-1.246 7.56a708.896 708.896 0 0 0-32.513-3.398c0.19-0.615 0.351-1.237 0.473-1.868 2.037-9.99-5.503-18.177-16.71-18.177z m-121.964 22.289c-11.21 1.295-22.258 2.86-33.14 4.621-0.558-3.55-0.767-7.232-0.48-11.028 2.102-26.48 25.188-48.209 51.336-48.209h25.63l-12.422 32.326h-6.505c-11.264 0-22.104 8.187-24.164 18.176a16.17 16.17 0 0 0-0.255 4.114z m67.653-99.673h43.108l-5.638 14.675-28.806 0.008-31.161 81.248c-4.92 0.252-9.82 0.552-14.703 0.906l37.2-96.837z m11.648 23.237h43.066l-5.638 14.667h-28.75l-21.99 57.242c-4.85 0.104-9.683 0.265-14.505 0.468l27.817-72.377z m17.626 79.86c104.88 2.693 232.952 29.7 307.492 97.955-68.704-44.158-242.733-68.92-304.907-72.048-139.169 1.258-247.778 28.832-350.319 64.444 56.907-46.668 199.82-94.153 347.734-90.351z m-351.068 308.86v-21.927h7.812c1.76 0.55 2.951-0.234 3.511-2.42l18.318-48.683-29.64-73.857 27.04-0.007 16.566 38.962 16.617-50.319h-61.116v-25.164h93.418v21.912l-34.052 90.9 18.327 44.623c1.159 3.253 3.21 4.604 6.104 4.054h10.473v21.927h-24.44c-7.546 0-12.206-3.25-13.965-9.738l-10.472-24.347-9.606 24.347c-2.901 7.037-7.854 10.29-14.808 9.738H175.66z m107.152 301.617H183.54v-117.63h34.277v94.235h64.995v23.395z m-1.636-168.577l-7.703 8.27-9.698 5.74-11.481 3.485-12.78 1.516-13.585-0.25-13.707-1.67-8.221-2.433-6.995-3.518-5.862-4.5-4.786-5.388-3.776-6.288-2.752-7.088-1.741-7.888-0.735-8.622-0.041-68.62 31.007-0.032 0.15 73.506 2.893 9.523 5.795 7.086 7.637 4.184 8.455 1.419 8.472-1.419 7.661-4.184 5.838-7.071 2.95-9.52 0.042-73.539 31.001-0.02-0.017 71.139-2.634 14.91-5.387 11.272z m7.981 108.927c0-43.755 35.677-79.444 79.434-79.444 43.749 0 79.434 35.689 79.434 79.444 0 43.74-35.686 79.427-79.434 79.427-43.757 0-79.434-35.687-79.434-79.427z' fill='%23d32f2f'/%3E%3C/svg%3E");
        }
        
        .mobile-nav-item:hover {
            color: #d32f2f;
            text-decoration: none;
        }
        
        /* 移动端底部导航显示时，给body添加底部padding */
        @media (max-width: 991.98px) {
            body {
                padding-bottom: 60px;
            }
            
            /* 移动端隐藏返回顶部按钮，避免与底部导航冲突 */
            .back-to-top {
                display: none !important;
            }
        }

/* ========== 通用页面样式 ========== */

/* 页面顶部Banner样式 */
.page-banner {
    margin-top: 0;
    padding: 2rem 0;
    background: #f8f9fa;
}

.page-banner .container {
    max-width: 1140px;
}

.page-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .page-banner {
        padding: 1rem 0;
    }
    
    .page-banner img {
        border-radius: 4px;
    }
}

/* 单页内容样式 (page.html) */
.page-content {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.page-header {
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.page-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.page-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.page-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    display: block;
}

.page-body p {
    margin-bottom: 1rem;
}

.page-body h2, .page-body h3, .page-body h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.page-body ul, .page-body ol {
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.page-body a {
    color: #dc3545;
    text-decoration: none;
}

.page-body a:hover {
    text-decoration: underline;
}

/* 面包屑导航样式 */
.breadcrumb {
    margin-bottom: 0;
    background-color: #f8f9fa;
}

.breadcrumb-item a {
    color: #666;
}

.breadcrumb-item a:hover {
    color: #dc3545;
}

.breadcrumb-item.active {
    color: #333;
    font-weight: 500;
}

/* 分页样式美化 */
.pagination-wrap {
    display: flex;
    justify-content: center;
}

.pagination-wrap .pagination {
    margin: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination li {
    list-style: none;
}

.pagination li a {
    display: inline-block;
    padding: 8px 16px;
    min-width: 44px;
    text-align: center;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.pagination li a:hover {
    background: #f8f9fa;
    border-color: #d32f2f;
    color: #d32f2f;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.2);
}

.pagination li.active a {
    background: linear-gradient(135deg, #d32f2f, #f44336);
    border-color: #d32f2f;
    color: white !important;
    font-weight: 600;
    cursor: default;
    pointer-events: none;
}

.pagination li.active a:hover,
.pagination li.active a:focus,
.pagination li.active a:visited {
    color: white !important;
}

/* 共XX条样式 */
.pagination li:first-child a {
    background: #f8f9fa;
    border-color: #e0e0e0;
    color: #999;
    font-size: 0.9rem;
    cursor: default;
    pointer-events: none;
}

.pagination li:first-child a:hover {
    transform: none;
    box-shadow: none;
}

/* 下一页、最后一页按钮 */
.pagination li:nth-last-child(-n+2) a {
    font-weight: 500;
    color: #d32f2f;
    border-color: #d32f2f;
}

.pagination li:nth-last-child(-n+2) a:hover {
    background: #d32f2f;
    color: white;
}

/* ========== 移动端通用样式优化 ========== */
@media (max-width: 768px) {
    /* 单页内容移动端优化 */
    .page-content {
        padding: 1.5rem;
        border-radius: 0;
        box-shadow: none;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .page-body {
        font-size: 1rem;
    }
    
    /* 移动端播放按钮 */
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button i {
        font-size: 1.2rem;
    }
    
    /* 移动端分页优化 */
    .pagination-wrap .pagination {
        gap: 4px;
    }
    
    .pagination li a {
        padding: 6px 12px;
        min-width: 38px;
        font-size: 0.85rem;
    }
    
    /* 移动端隐藏部分页码，只显示关键页码 */
    .pagination li:not(:first-child):not(:nth-child(2)):not(:nth-child(3)):not(:nth-child(4)):not(.active):not(:nth-last-child(-n+2)) {
        display: none;
    }
}

/* ========== 新闻列表页面样式 ========== */

/* 新闻卡片样式 */
.news-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    background: white;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.news-thumb {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
}

.news-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-thumb img {
    transform: scale(1.05);
}

.news-thumb-placeholder {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1976d2;
    font-size: 3rem;
}

.news-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #d32f2f, #f44336);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 2;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-date {
    color: #999;
    font-size: 0.85rem;
}

.news-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.news-card:hover .news-title {
    color: #d32f2f;
}

.news-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 新闻列表移动端优化 */
@media (max-width: 768px) {
    .news-thumb img,
    .news-thumb-placeholder {
        height: 180px;
    }
    
    .news-title {
        font-size: 0.95rem;
    }
    
    .news-desc {
        font-size: 0.85rem;
    }
}

/* ========== 开奖列表页面样式 ========== */

/* 筛选下拉框 */
.kj-filter {
    width: 140px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.kj-filter:focus {
    border-color: #d32f2f;
    box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.15);
}

/* 开奖卡片 */
.kj-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* 开奖表格 */
.kj-table {
    font-size: 0.9rem;
}

.kj-table th,
.kj-table td {
    vertical-align: middle;
    text-align: center;
    padding: 12px 8px;
    border-bottom: 1px solid #f0f0f0;
}

.kj-table thead th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #dee2e6;
}

.kj-header-row th {
    padding: 15px 8px 8px;
}

.kj-subheader-row th {
    padding: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    border-top: none;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.prize-group {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%) !important;
    color: #e65100;
    font-weight: 600;
}

.kj-table tbody tr {
    transition: background-color 0.2s ease;
}

/* 隔行换色 - 给 tr 和 td 都设置背景色 */
.kj-table tbody tr:nth-child(odd),
.kj-table tbody tr:nth-child(odd) td {
    background-color: white !important;
}

.kj-table tbody tr:nth-child(even),
.kj-table tbody tr:nth-child(even) td {
    background-color: #f8f9fa !important;
}

.kj-table tbody tr:hover,
.kj-table tbody tr:hover td {
    background-color: #e3f2fd !important;
}

/* 期号列 */
.kj-period strong {
    font-size: 1.1rem;
    color: #333;
    display: block;
    margin-bottom: 4px;
}

.kj-period small {
    font-size: 0.8rem;
    color: #999;
}

/* 开奖号码球 */
.kj-balls {
    white-space: nowrap;
}

.kj-balls .ball {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    margin: 0 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

/* 详情按钮 */
.kj-detail-btn {
    border-radius: 20px;
    padding: 4px 16px;
    font-size: 0.85rem;
    border-color: #dee2e6;
    color: #666;
    transition: all 0.3s ease;
}

.kj-detail-btn:hover {
    background: #d32f2f;
    border-color: #d32f2f;
    color: white;
    transform: none;
    box-shadow: none;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .kj-filter {
        width: 120px;
        font-size: 0.85rem;
    }
    
    .kj-table {
        font-size: 0.8rem;
    }
    
    .kj-table th,
    .kj-table td {
        padding: 8px 4px;
    }
    
    .kj-balls .ball {
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 0.8rem;
        margin: 0 1px;
    }
    
    .kj-period strong {
        font-size: 1rem;
    }
    
    .kj-period small {
        font-size: 0.7rem;
    }
    
    .kj-detail-btn {
        padding: 3px 12px;
        font-size: 0.75rem;
    }
    
    /* 移动端隐藏部分列 */
    .kj-table thead .prize-group {
        font-size: 0.75rem;
    }
}

/* ==================== 开奖详情页样式 ==================== */

.kj-show-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333;
}

.kj-show-content {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    line-height: 1.6;
}

.kj-show-box {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    overflow: hidden;
}

.kj-show-row {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    font-size: 1.1rem;
}

.kj-back-btn {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.9rem;
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.kj-back-btn:hover {
    background: #e8e8e8;
    color: #333;
    border-color: #ccc;
    text-decoration: none;
}

.kj-back-btn i {
    font-size: 0.9rem;
}

.kj-label {
    font-weight: 600;
    font-size: 1.1rem;
}

.kj-balls-area {
    background: #f8f9fa;
    padding: 2rem 1.5rem;
    text-align: center;
}

.kj-balls-title {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.kj-balls-area .kj-balls {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.kj-balls-area .kj-balls .ball {
    width: 3.8rem;
    height: 3.8rem;
    line-height: 3.8rem;
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
    position: relative;
}

.kj-balls-area .kj-balls .ball-red {
    background: linear-gradient(145deg, #ef5350, #c62828);
    color: white;
}

.kj-balls-area .kj-balls .ball-blue {
    background: linear-gradient(145deg, #42a5f5, #1565c0);
    color: white;
}

.kj-stats {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.kj-province {
    font-size: 1rem;
    color: #666;
    margin: 0.5rem 0 0;
}

.kj-subtitle {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #333;
}

.kj-table {
    width: 100%;
    font-size: 1.05rem;
}

.kj-table th,
.kj-table td {
    padding: 1rem 0.85rem;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #dee2e6;
}

.kj-table thead th {
    background: #f5f5f5;
    font-weight: 700;
    border-bottom: 2px solid #dee2e6;
    min-width: 75px;
}

.kj-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.kj-table .prize-high {
    color: #d32f2f;
    font-weight: 700;
    font-size: 1.15rem;
}

.kj-table .prize-low {
    color: #388e3c;
    font-weight: 700;
    font-size: 1.15rem;
}

.kj-table .prize-bold {
    font-weight: 900;
}

.kj-notice {
    background: #fff9e6;
    border-left: 4px solid #ffc107;
    padding: 1.25rem 1.5rem;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #666;
}

.kj-notice p {
    margin-bottom: 0.5rem;
}

.kj-notice p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .kj-show-title {
        font-size: 1.4rem;
    }
    
    .kj-show-row {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .kj-back-btn {
        position: static;
        transform: none;
        display: inline-block;
        margin-top: -0.25rem;
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
        float: right;
    }
    
    .kj-balls-area {
        padding: 1.5rem 1rem;
    }
    
    .kj-balls-area .kj-balls {
        gap: 0.4rem;
    }
    
    .kj-balls-area .kj-balls .ball {
        width: 2.6rem;
        height: 2.6rem;
        line-height: 2.6rem;
        font-size: 1.4rem;
    }
    
    .kj-stats {
        font-size: 0.85rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .kj-stats .mx-3 {
        margin: 0 !important;
    }
    
    .kj-subtitle {
        font-size: 1.1rem;
    }
    
    .kj-table {
        font-size: 0.85rem;
    }
    
    .kj-table th,
    .kj-table td {
        padding: 0.7rem 0.5rem;
    }
    
    .kj-notice {
        padding: 1rem;
        font-size: 0.85rem;
    }
}

/* ==================== 新闻详情页样式 ==================== */

.page-meta {
    font-size: 0.9rem;
    color: #999;
    margin-top: 0.5rem;
}

.page-body img {
    max-width: 70%;
    height: auto;
    display: block;
    margin: 2rem auto;
}

.page-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.9rem;
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-back-btn:hover {
    background: #e8e8e8;
    color: #333;
    border-color: #ccc;
    text-decoration: none;
}

.page-back-btn i {
    font-size: 0.8rem;
}

@media (max-width: 767.98px) {
    .page-meta {
        font-size: 0.85rem;
    }
    
    .page-body img {
        max-width: 100%;
    }
    
    .page-back-btn {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* ==================== 走势图导航页样式 ==================== */

/* 导航图标 */
.zst-nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.zst-nav-item:hover {
    background: #f8f9fa;
    border-color: #e0e0e0;
    text-decoration: none;
}

.zst-nav-item.active {
    background: #fff3f3;
    border-color: #ffcdd2;
}

.zst-nav-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.zst-nav-item:hover .zst-nav-icon {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

.zst-nav-item.active .zst-nav-icon {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

.zst-nav-icon i {
    font-size: 0.95rem;
    color: #999;
    transition: all 0.2s ease;
}

.zst-nav-item:hover .zst-nav-icon i,
.zst-nav-item.active .zst-nav-icon i {
    color: white;
}

.zst-nav-title {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
    white-space: nowrap;
}

.zst-nav-item:hover .zst-nav-title,
.zst-nav-item.active .zst-nav-title {
    color: #d32f2f;
}

/* iframe容器 */
.zst-iframe-container {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.zst-iframe {
    width: 100%;
    height: calc(100vh - 250px);
    min-height: 600px;
    border: none;
    display: block;
}

@media (max-width: 767.98px) {
    .zst-nav-item {
        padding: 0.4rem 0.5rem;
        gap: 0.4rem;
    }
    
    .zst-nav-icon {
        width: 28px;
        height: 28px;
    }
    
    .zst-nav-icon i {
        font-size: 0.85rem;
    }
    
    .zst-nav-title {
        font-size: 0.75rem;
    }
    
    .zst-iframe {
        height: calc(100vh - 300px);
        min-height: 500px;
    }
}
