/* 牌照圖區塊 響應式排列 */
.license-mobile-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
    width: 100%;
}
.license-mobile-grid .pages-footer-license-mobile {
    width: 44vw;
    max-width: 120px;
    min-width: 80px;
    margin-bottom: 0;
}
@media (max-width: 767.98px) {
    .license-mobile-grid {
        gap: 12px 0;
    }
    .license-mobile-grid .pages-footer-license-mobile {
        flex: 0 0 48%;
        margin-bottom: 0;
    }
    /* 兩排兩張 */
    .license-mobile-grid .pages-footer-license-mobile:nth-child(1),
    .license-mobile-grid .pages-footer-license-mobile:nth-child(2) {
        margin-bottom: 10px;
    }
}
.license-tablet-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    width: 100%;
}
.license-tablet-grid .pages-footer-license-tablet {
    width: 100px;
    max-width: 140px;
    min-width: 80px;
}
.license-desktop-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 100%;
}
/* 電腦版主選單（slots.html）hover/active 只變色不變背景 */
@media (min-width: 1200px) {
    .d-xl-flex > a,
    .d-xl-flex > a:visited {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
        background: none !important;
        color: #444 !important;
        font-size: 1rem;
        font-weight: 500;
        border-radius: 8px;
        white-space: nowrap;
        transition: color 0.18s;
        box-shadow: none !important;
        text-decoration: none !important;
    }

    .d-xl-flex > a:hover,
    .d-xl-flex > a:active,
    .d-xl-flex > a.active {
        color: #26A17B !important;
        background: none !important;
        box-shadow: none !important;
    }

    .d-xl-flex > a:hover i,
    .d-xl-flex > a:active i,
    .d-xl-flex > a.active i {
        color: #26A17B !important;
    }
}

/* 禁止導覽列 logo 連結滑動效果 */
a[href="index.html"]:hover,
a[href="index.html"]:active,
a[href="index.html"]:focus {
    background: none !important;
    box-shadow: none !important;
    filter: none !important;
    color: inherit !important;
    outline: none !important;
    transition: none !important;
}

/* 全域RWD設定 - 參考main.css */
* { 
    box-sizing: border-box; 
}

body, html {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    background-color: #fff !important;
}

.container, .container-fluid, nav, main, .navbar {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
}

/* 移除任何可能的外層容器邊距 */
body > * {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
        
/* 手機平板版的底部留白 - 使用偽元素填充灰色 */
@media (max-width: 1199px) {
    body {
        padding-bottom: 80px !important;
    }
    
    body::after {
        content: '';
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 80px;
        background: #f8f8f8;
        z-index: 5;
    }
}
        
/* 電腦版導覽列選單樣式 */
@media (min-width: 1200px) {
    .navbar a:hover {
        color: #2bac86 !important;
        transition: all 0.2s ease;
    }
    .navbar a:hover i {
        color: #2bac86 !important;
        transition: all 0.2s ease;
    }
}

* {
    box-sizing: border-box;
}

body, html {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
}

/* 確保所有容器全寬 */
.container, .container-fluid,
.navbar, .pages-navbar-custom,
.promotion-swiper, main,
.pages-header, .pages-nav,
.pages-section, .pages-footer,
.app-mobile-shell, .app-mobile-main,
.main-menu-list, .brand-list {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

/* 所有螢幕尺寸都確保100%寬度 */
@media (min-width: 1200px) {
    .container, .container-fluid,
    .app-mobile-shell, .app-mobile-main,
    main, .pages-header, .pages-nav,
    .pages-section, .pages-footer {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        margin: 0 !important;
        box-sizing: border-box;
    }
}

/* 平板模式全寬設定 */
@media (min-width: 481px) and (max-width: 1024.98px) {
    body, html {
        overflow-x: hidden !important;
    }
    
    .container, .container-fluid,
    .navbar, .pages-navbar-custom {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box;
    }
}

/* 輪播點點樣式，從 main.css 複製 */
.promotion-swiper .swiper-pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: var(--swiper-pagination-bottom,0px) !important;
    width: 100%;
    text-align: center;
    z-index: 2;
    pointer-events: none;
}

.promotion-swiper .swiper-pagination .swiper-pagination-bullet {
    background: #fff;
    opacity: 1;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin: 0 3px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.10);
    border: 1px solid transparent;
    transition: all 0.2s;
    pointer-events: auto;
}

.promotion-swiper .swiper-pagination .swiper-pagination-bullet-active {
    width: 16px;
    height: 6px;
    border-radius: 5px;
    background: #fff;
    border: 1px solid #26A17B;
    box-shadow: 0 2px 8px rgba(38,161,123,0.10);
}

.promotion-swiper .swiper-pagination .swiper-pagination-bullet {
    pointer-events: auto;
}

.pages-navbar-custom {
    min-height: 44px;
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
}

/* slots 頁面樣式 */
/* 主容器全寬設定 */
.pages-main {
    width: 100% !important;
    background: #fff !important;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.pages-nav {
    border-bottom: 1.5px solid #e0e0e0;
    box-shadow: none;
    width: 100%;
    padding: 0.5rem 16px;
}

.pages-navbar-container {
    max-width: 100%;
}

.pages-header-accent {
    height: 32px;
}

.pages-header-accent-mobile {
    height: 28px;
}

.pages-main-content {
    width: 100%;
    background: #fff;
    padding: 0 16px;
}

.pages-promotion-swiper {
    margin-top: 8px;
    margin-bottom: 4px;
}

.pages-promotion-img {
    width: 100%;
    object-fit: cover;
}

.pages-menu-list {
    margin-top: 8px;
    margin-bottom: 8px;
    width: 100%;
    gap: 0;
}

.pages-menu-item {
    text-decoration: none;
    color: #888;
    font-size: 0.9rem;
    flex: 1;
}

.pages-menu-icon {
    font-size: 1.5rem;
    margin-bottom: 2px;
    color: #2bac86;
    text-shadow: 0 2px 6px #1a5e4a55, 0 1px 0 #fff, 0 -1px 0 #b6ffe0;
    filter: drop-shadow(0 1px 0 #fff) drop-shadow(0 2px 4px #1a5e4a33);
}

.pages-menu-active {
    color: #2bac86;
    font-weight: 600;
}

.pages-content {
    width: 100%;
    background: #fff;
    margin: 20px 0;
}

.pages-content h1 {
    font-size: 2.5rem;
    color: #333;
    text-align: center;
    font-weight: 700;
}

.pages-content .intro-text {
    font-size: 1.1rem;
    color: #666;
    padding: 25px;
    text-align: center;
    line-height: 1.8;
}

.pages-section-title {
    font-size: 2rem;
    color: #333;
    text-align: center;
    margin: 20px 0 20px 0;
    font-weight: 600;
}

.pages-provider-grid, .pages-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.pages-provider-item, .pages-feature-item {
    padding: 25px;
    background: #f9f9f9;
    border-radius: 8px;
}

.pages-provider-img {
    width: 80px;
    height: auto;
    margin-bottom: 15px;
}

.pages-item-title {
    color: #444;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.pages-feature-title {
    color: #444;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.pages-item-text {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.pages-conclusion {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    margin-top: 50px;
}

.pages-conclusion h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 600;
}

.pages-conclusion p {
    font-size: 1.1rem;
    color: #34495e;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
}

.pages-footer-gray {
    background: #f8f8f8 !important;
    width: 100vw !important;
    min-width: 100vw !important;
    margin: 0 !important;
    padding: 0 0 !important;
    position: relative;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.pages-footer-section {
    background: #f8f8f8;
    padding: 24px 4px;
    border-top: 1.5px solid #e0e0e0;
    width: 100%;
    margin: 0 auto;
    max-width: calc(100% - 32px);
}

.pages-footer-text {
    color: #888;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    margin: 0;
}

.pages-footer-hr {
    margin: 20px 0;
    border-top: 1.5px solid #e0e0e0;
}

.pages-footer-images {
    margin-top: 20px;
}

/* 響應式圖片尺寸 */
.pages-footer-brand-mobile {
    width: 80px;
    height: auto;
}

.pages-footer-brand-tablet {
    width: 100px;
    height: auto;
}

.pages-footer-brand-desktop {
    width: 120px;
    height: auto;
}

.pages-footer-license-mobile {
    width: 100px;
    height: auto;
}

.pages-footer-license-tablet {
    width: 120px;
    height: auto;
}

.pages-footer-license-desktop {
    width: 140px;
    height: auto;
}

/* slots頁面導覽列按鈕樣式 - 與主頁保持一致 */
.pages-nav .btn-outline-success,
.pages-nav .btn-outline-success:hover,
.pages-nav .btn-outline-success:focus,
.pages-nav .btn-outline-success:active,
.pages-nav .btn-outline-success:active:focus {
    background: #fff !important;
    color: #26A17B !important;
    border-color: #26A17B !important;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

.pages-nav .btn-success {
    background: #26A17B !important;
    border-color: #26A17B !important;
    color: #fff !important;
    transition: all 0.2s ease;
}

.pages-nav .btn-success:hover,
.pages-nav .btn-success:focus,
.pages-nav .btn-success:active {
    background: #228a6f !important;
    border-color: #228a6f !important;
    color: #fff !important;
    box-shadow: 0 2px 4px rgba(38, 161, 123, 0.3) !important;
}

/* ===================== 導覽列 Logo 樣式區 ===================== */
.pages-navbar-logo-group {
    min-width: 120px;
    gap: 12px;
}

.pages-navbar-logo, .pages-navbar-logo2 {
    height: 32px;
    display: block;
    transition: none !important;
    pointer-events: none;
}

/* 禁止 logo 圖片任何互動動畫 */
.pages-navbar-logo:hover, .pages-navbar-logo:active, .pages-navbar-logo:focus,
.pages-navbar-logo2:hover, .pages-navbar-logo2:active, .pages-navbar-logo2:focus {
    filter: none !important;
    background: none !important;
    box-shadow: none !important;
    transition: none !important;
    outline: none !important;
}

.pages-navbar-logo2 {
    margin: 0 auto;
}

/* 禁止 Logo hover 效果 */
.pages-navbar-logo:hover, .pages-navbar-logo2:hover {
    filter: none !important;
    background: none !important;
    box-shadow: none !important;
    transition: none !important;
}

/* =================== 導覽列 Logo 樣式區結束 =================== */

.pages-navbar-logo, .pages-navbar-logo2 {
    height: 24px;
}

/* 響應式選單顯示策略 - 確保所有螢幕都顯示選單 */
.pages-navbar-menu {
    display: flex !important; /* 所有螢幕都顯示選單 */
}

/* 大螢幕優化 */
@media (min-width: 1200px) {
    .pages-navbar-menu {
        gap: 15px !important;
        column-gap: 15px !important;
    }

    .pages-navbar-link {
        font-size: 0.9rem;
        padding: 0 8px;
        gap: 6px;
    }

    .pages-navbar-icon {
        font-size: 1rem;
        margin-right: 5px;
    }
}

/* 中等螢幕優化 */
@media (min-width: 992px) and (max-width: 1199px) {
    .pages-navbar-menu {
        gap: 8px !important;
        column-gap: 8px !important;
    }

    .pages-navbar-link {
        font-size: 0.8rem;
        padding: 0 6px;
        gap: 4px;
    }

    .pages-navbar-icon {
        font-size: 0.9rem;
        margin-right: 3px;
    }
}

/* 平板優化 */
@media (min-width: 768px) and (max-width: 991px) {
    .pages-navbar-menu {
        gap: 4px !important;
        column-gap: 4px !important;
        flex: 1;
        max-width: 60%;
    }

    .pages-navbar-link {
        font-size: 0.75rem;
        padding: 0 4px;
        gap: 3px;
        min-width: 50px;
    }

    .pages-navbar-icon {
        font-size: 0.8rem;
        margin-right: 2px;
    }

    .pages-navbar-btn-group {
        min-width: 100px;
        flex-shrink: 0;
    }
}

/* 小螢幕優化 */
@media (max-width: 767px) {
    .pages-navbar-menu {
        gap: 2px !important;
        column-gap: 2px !important;
        flex: 1;
        flex-wrap: wrap;
        max-width: 65%;
    }

    .pages-navbar-link {
        font-size: 0.65rem;
        padding: 2px 3px;
        gap: 2px;
        min-width: 40px;
        height: 32px;
    }

    .pages-navbar-icon {
        font-size: 0.7rem;
        margin-right: 1px;
    }

    .pages-navbar-btn-group {
        min-width: 80px;
        flex-shrink: 0;
        gap: 4px;
    }

    .pages-navbar-login, .pages-navbar-register {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
}

.pages-navbar-btn-group {
    gap: 6px;
    min-width: 80px;
}

/* 移除舊的重複規則，已在上面統一處理 */

@media (max-width: 1200px) and (min-width: 768px) {
    .pages-navbar-menu {
        flex: 0 1 auto;
        max-width: 68vw;
        min-width: 0;
        overflow: hidden;
        gap: 10px !important;
    }

    .pages-navbar-btn-group {
        flex-shrink: 0;
        min-width: 120px;
        margin-left: auto !important;
    }
}

@media (max-width: 1200px) and (min-width: 768px) {
    .pages-navbar-logo-group {
        gap: 3px;
    }
    
    .pages-navbar-menu {
        gap: 14px !important;
        column-gap: 14px !important;
        row-gap: 0 !important;
        flex-wrap: nowrap !important;
        min-width: 0;
    }

    .pages-navbar-link {
        font-size: 0.85rem;
        padding: 0 1px;
        min-width: 56px;
        max-width: 110px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pages-navbar-icon {
        font-size: 0.88rem;
        margin-right: 4px;
    }
}

@media (max-width: 950px) and (min-width: 768px) {
    .pages-navbar-menu {
        gap: 2px !important;
        column-gap: 2px !important;
    }

    .pages-navbar-link {
        font-size: 0.75rem !important;
        padding: 0 0.5px;
        min-width: 44px;
        max-width: 90px;
    }

    .pages-navbar-icon {
        font-size: 0.52rem;
        margin-right: 1px;
    }
}

@media (max-width: 1200px) and (min-width: 768px) {
    .pages-navbar-logo-group {
        gap: 6px;
    }

    .pages-navbar-menu {
        gap: 10px !important;
        column-gap: 10px !important;
        row-gap: 0 !important;
    }

    .pages-navbar-link {
        font-size: 0.85rem;
        padding: 0 1px;
        min-width: 60px;
    }

    .pages-navbar-icon {
           font-size: 0.95rem;
        margin-right: 5px;
    }
}

@media (max-width: 1200px) {
    .pages-navbar-link {
        flex-direction: row !important;
        gap: 5px;
        height: 38px;
    }

    .pages-navbar-menu {
        align-items: center !important;
    }
}

/* 所有模式下設置全寬 */
@media (max-width: 1200px) {
    .container, .container-fluid {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        margin: 0 !important;
        box-sizing: border-box;
    }
}

@media (min-width: 1200px) {
    .container, .container-fluid {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        margin: 0 !important;
        box-sizing: border-box;
    }
}

/* 專屬導覽列樣式 */
.pages-navbar-custom {
    border-bottom: none;
    box-shadow: none;
    min-height: 56px;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

.pages-navbar-logo-group {
    min-width: 120px;
    gap: 12px;
}

.pages-navbar-logo, .pages-navbar-logo2 {
    height: 32px;
    display: block;
}

.pages-navbar-logo2 {
    margin: 0 auto;
}

/* 電腦版 navbar 字體與間距 - 優化選單項目間距 */
@media (min-width: 1200px) {
    .pages-navbar-menu {
        gap: 15px !important; /* 與上面統一 */
        column-gap: 15px !important;
    }

    .pages-navbar-link {
        font-size: 0.9rem; /* 與上面統一 */
        padding: 0 8px;
        gap: 6px;
    }

    .pages-navbar-icon {
        font-size: 1rem;
        margin-right: 5px;
    }
}

.pages-navbar-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #888 !important;
    font-size: 0.92rem;
    height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    transition: background 0.18s, color 0.18s;
    font-weight: 400;
    background: none;
    box-shadow: none;
    gap: 11px;
    white-space: nowrap;
}

.pages-navbar-link:hover, .pages-navbar-link.active {
    color: #26A17B !important;
    background: none !important;
}

.pages-navbar-link:hover .pages-navbar-icon,
.pages-navbar-link.active .pages-navbar-icon {
    color: #26A17B !important;
}

.pages-navbar-link.active {
    color: #26A17B !important;
    background: #f3fefb;
}

.pages-navbar-icon {
    font-size: 1.05rem;
    margin-right: 7px;
    color: #2bac86;
    text-shadow: 0 2px 6px #1a5e4a55,0 1px 0 #fff,0 -1px 0 #b6ffe0;
    filter: drop-shadow(0 1px 0 #fff) drop-shadow(0 2px 4px #1a5e4a33);
}

.pages-navbar-btn-group {
    gap: 10px;
}

.pages-navbar-login {
    color: #26A17B !important;
    border-color: #26A17B !important;
    min-width: 70px;
    background: #fff !important;
}

.pages-navbar-login:hover {
    background: #e8f7f1 !important;
    color: #218e6a !important;
    border-color: #218e6a !important;
}

.pages-navbar-register {
    background: #26A17B !important;
    border: none !important;
    min-width: 70px;
    color: #fff !important;
}

.pages-navbar-register:hover {
    background: #218e6a !important;
    color: #fff !important;
}

body {
    margin: 0;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: #ededed;
    color: #222;
}

.pages-header {
    background: #fff;
    text-align: center;
    padding: 2.5rem 1rem 1.5rem 1rem;
    border-bottom: 1.5px solid #e0e0e0;
}

.pages-header h1 {
    font-size: 2.2rem;
    margin: 0 0 0.5rem 0;
    color: #26A17B;
    letter-spacing: 2px;
}

.pages-header p {
    font-size: 1.1rem;
    color: #888;
}

.pages-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    background: #fff;
    border-bottom: 1.5px solid #e0e0e0;
    padding: 0.7rem 0;
    flex-wrap: wrap;
}

.pages-nav a {
    color: #26A17B;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.2s;
    padding: 0.2em 0.7em;
    border-radius: 8px;
}

.pages-nav a:hover, .pages-nav a.active {
    color: #fff;
    background: #26A17B;
}

main {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 2rem 16px 3rem 16px;
    box-sizing: border-box;
}

.pages-section {
    margin-bottom: 2.5rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(38,161,123,0.08);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
}

.pages-section h2 {
    color: #26A17B;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
}

.brand-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.brand-item {
    background: #ededed;
    border-radius: 0.8rem;
    text-align: center;
    padding: 1.2rem 0.7rem 1rem 0.7rem;
    box-shadow: 0 1px 6px rgba(38,161,123,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.brand-item:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 4px 18px rgba(38,161,123,0.12);
}

.brand-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 0.7rem;
    border-radius: 0.5rem;
    background: #fff;
}

.brand-item h3 {
    color: #26A17B;
    font-size: 1.1rem;
    margin: 0.3rem 0 0.5rem 0;
}

.brand-item p {
    color: #888;
    font-size: 0.98rem;
    margin: 0;
}

.pages-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pages-section ul li {
    padding-left: 1.2em;
    position: relative;
    margin-bottom: 0.7em;
    color: #222;
    font-size: 1rem;
}

.pages-section ul li:before {
    content: "•";
    color: #26A17B;
    position: absolute;
    left: 0;
    font-size: 1.2em;
    top: 0;
}

.pages-footer {
    background: #fff;
    text-align: center;
    color: #888;
    padding: 1.2rem 0 1.2rem 0;
    font-size: 0.98rem;
    letter-spacing: 1px;
    border-top: 1.5px solid #e0e0e0;
}

/* chess 頁面樣式 */
.chess-main {
    width: 100% !important;
    background: #fff !important;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.chess-nav {
    border-bottom: 1.5px solid #e0e0e0;
    box-shadow: none;
    width: 100%;
    padding: 0.5rem 16px;
}

.chess-navbar-container {
    max-width: 100%;
}

.chess-header-accent {
    height: 32px;
}

.chess-header-accent-mobile {
    height: 28px;
}

.chess-main-content {
    width: 100%;
    background: #fff;
    padding: 0 16px;
}

.chess-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.chess-feature-item {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chess-feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.chess-item-text {
    font-size: 1rem;
    color: #666;
}

@media (max-width: 800px) {
    main {
        padding: 1.2rem 0.5rem 2rem 0.5rem;
    }

    .pages-section {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }

    .brand-list {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
    }

    .brand-item img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 500px) {
    .pages-header h1 {
        font-size: 1.3rem;
    }

    .pages-header p {
        font-size: 0.95rem;
    }

    .pages-section h2 {
        font-size: 1.1rem;
    }

    .brand-item h3 {
        font-size: 0.95rem;
    }

    .brand-item p {
        font-size: 0.9rem;
    }

    .pages-nav {
        gap: 1rem;
        font-size: 0.95rem;
    }

    .pages-navbar-btn-group {
        gap: 6px;
        min-width: 80px;
        justify-content: flex-end;
        margin-left: auto !important;
    }

    .pages-navbar-logo-group {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        width: auto !important;
        min-width: 80px;
        flex: 0 0 auto;
    }

    .pages-navbar-menu {
        display: none !important;
        flex: 0 0 auto;
    }

    .pages-navbar-btn-group {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-end !important;
        align-items: center !important;
        min-width: 80px;
        flex: 0 0 auto;
        margin-left: auto !important;
    }
}
.pages-navbar-logo2 {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
}

/* 试玩老虎机页面专用样式 */
.demo-slot-list {
    margin-top: 0.5rem;
}
.demo-slot-card {
    border-radius: 14px;
    transition: box-shadow 0.2s, transform 0.2s;
    background: #fff;
    box-shadow: 0 2px 12px 0 #0001;
}
.demo-slot-card:hover {
    box-shadow: 0 4px 24px 0 #0002;
    transform: translateY(-4px) scale(1.03);
}
.demo-slot-img {
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    width: 100%;
    height: 140px;
    object-fit: cover;
    background: #f8f8f8;
}
@media (min-width: 768px) {
    .demo-slot-img {
        height: 160px;
    }
}
@media (min-width: 1200px) {
    .demo-slot-img {
        height: 180px;
    }
}
.demo-slot-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #222;
}
.demo-play-btn {
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 20px;
    padding: 4px 20px;
    background: #26A17B;
    border: none;
    color: #fff;
    transition: background 0.18s;
}
.demo-play-btn:hover, .demo-play-btn:focus {
    background: #218a6a;
    color: #fff;
}


