/* Jackpot History Page - Modern Design */
.section.game-section {
    background: transparent !important;
}

.jackpot-history-container {
    background: #161922;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 30px;
    margin-top: 24px;
}

.jackpot-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.jackpot-history-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.jackpot-history-back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.jackpot-history-back-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-1px);
}

.jackpot-history-back-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* Game Stats Table */
.jackpot-history-container .game-stats {
    width: 100%;
}

.jackpot-history-container .table-heading {
    display: table;
    width: 100%;
    border-collapse: initial;
    border-spacing: 0;
    table-layout: fixed;
}

.jackpot-history-container .table-heading .thead {
    display: table-header-group;
    vertical-align: middle;
}

.jackpot-history-container .table-heading .tr {
    display: table-row;
    vertical-align: inherit;
}

.jackpot-history-container .table-heading .th {
    display: table-cell;
    vertical-align: inherit;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0px 15px 15px -1px rgba(0, 0, 0, 0.1);
    color: #959fb1;
    font-size: 11px;
    line-height: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 20px;
    text-align: left;
}

.jackpot-history-container .table-heading .th:first-child {
    border-radius: 6px 0 0 0;
}

.jackpot-history-container .table-heading .th:last-child {
    border-radius: 0 6px 0 0;
    text-align: right;
}

.jackpot-history-container .table-stats-wrap {
    overflow: hidden;
    border-radius: 0 0 6px 6px;
}

.jackpot-history-container .table-wrap {
    position: relative;
}

.jackpot-history-container .table {
    color: #fff;
    width: 100%;
    border-spacing: 0;
    border-collapse: initial;
    table-layout: fixed;
}

.jackpot-history-container .table tr {
    padding: 0 12px;
}

.jackpot-history-container .table tr td,
.jackpot-history-container .table tr th {
    padding: 14px 20px;
}

.jackpot-history-container .table tr td {
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    letter-spacing: .2px;
    vertical-align: middle;
}

.jackpot-history-container .table tr:last-child td:first-child {
    border-radius: 0 0 0 6px;
}

.jackpot-history-container .table tr:last-child td:last-child {
    border-radius: 0 0 6px 0;
}

.jackpot-history-container .table.hoverable tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.jackpot-history-container .table .btn-link {
    color: #7d8a98;
    font-weight: 600;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.jackpot-history-container .table .btn-link:hover {
    color: #fff;
}

.jackpot-history-container .table .btn-primary {
    background: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jackpot-history-container .table .btn-primary:hover {
    background: var(--main-color) !important;
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* Disable text selection */
.jackpot-history-container {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.jackpot-history-container * {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.jackpot-history-container .btn-link,
.jackpot-history-container .btn-primary {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Responsive */
@media (max-width: 768px) {
    .jackpot-history-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .jackpot-history-back-btn {
        width: 100%;
        justify-content: center;
    }
    
    .jackpot-history-container .table-heading .th:nth-child(3),
    .jackpot-history-container .table-heading .th:nth-child(4),
    .jackpot-history-container .table tr td:nth-child(3),
    .jackpot-history-container .table tr td:nth-child(4) {
        display: none;
    }
}
