body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.bonus-carousel-container {
    padding: 20px;
    border: 2px solid #007DBA;
    border-radius: 10px;
    position: relative;
    margin: auto;
    overflow: hidden;
    max-width: 100%;
}
.bonus-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.item {
    flex-shrink: 0;
    width: 259.2px;
    margin-right: 10px;
    scroll-snap-align: center;
    border: 3px solid transparent;
    border-radius: 5px;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.item:hover {
    border-color: gold;
    box-shadow: 0 0 10px gold;
}
.item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}
.title {
    padding-top: 10px;
    text-align: center;
    color: #333;
}
.hint {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-top: 10px;
}
@media (max-width: 768px) {
    .item {
        width: 80%;
        margin-right: 5px;
    }
    .bonus-carousel-container {
        border-width: 1px;
        padding: 10px;
        border-radius: 5px;
    }
    .hint {
        font-size: 14px;
        margin-top: 5px;
    }
}
@media (max-width: 480px) {
    .item {
        width: 90%;
    }
    .hint {
        font-size: 12px;
    }
}

/* ========================================
   自訂表格 - 深色背景白字版（強制覆寫 Bootstrap）
   ======================================== */
.custom-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background-color: transparent;
    padding: 10px;
}
.custom-table {
    width: 100%;
    border-collapse: collapse !important;
    white-space: nowrap;
    table-layout: auto;
}
.custom-table,
.custom-table tbody,
.custom-table thead,
.custom-table tr,
.custom-table th,
.custom-table td {
    border: 1px solid #ffffff !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    background-color: transparent !important;
}
.custom-table th,
.custom-table td {
    text-align: center;
    padding: 12px !important;
    word-break: normal;
}
.custom-table th {
    font-weight: bold;
}
.custom-table td p,
.custom-table td span,
.custom-table td strong,
.custom-table td em,
.custom-table th p,
.custom-table th span,
.custom-table th strong {
    color: #ffffff !important;
    margin: 0;
    word-break: break-all;
}
.custom-table a {
    color: #ffffff !important;
    text-decoration: none;
}
.custom-table a:hover {
    text-decoration: underline;
    color: gold !important;
}
.custom-table .stars,
.custom-table .highlight {
    color: gold !important;
}
.game-cate-sec {
    padding-bottom: 20px;
}