﻿/* Khai báo Font DePixel Breit */
@font-face {
    font-family: 'DePixel Breit';
    src: url('../../fonts/DePixelBreit.ttf') format('truetype'), url('../../fonts/DePixelBreit.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ================= 1. CONTAINER CHÍNH ================= */
.broball-container {
    width: min(100vw, calc(100vh * (9 / 16)));
    max-width: 450px;
    height: 100vh;
    height: 100dvh;
    margin: 0 auto;
    background: #000 url('../../images/games/broball/BG.png') center center / cover no-repeat;
    font-family: 'DePixel Breit', 'DePixel', 'Courier New', monospace;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    user-select: none;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
}

/* ================= 2. TOP BAR ================= */
.broball-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    z-index: 10;
}

.broball-back-img-btn {
    width: 38px;
    height: 38px;
    object-fit: contain;
    cursor: pointer;
    image-rendering: pixelated;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.5));
    transition: transform 0.1s ease, filter 0.1s ease;
}

    .broball-back-img-btn:hover {
        filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.6)) brightness(1.15);
        transform: scale(1.05);
    }

    .broball-back-img-btn:active {
        transform: scale(0.92) translateY(2px);
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8));
    }

.broball-game-title-img {
    height: 28px;
    width: auto;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(2px 2px 0px #000);
}

/* ================= 3. MAIN GAME PLAY AREA ================= */
.broball-game-play-area {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 2px;
}

/* Phễu ở đỉnh */
.broball-ball-funnel-container {
    position: relative;
    width: 120px;
    height: 58px;
    margin-top: -5px;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.broball-funnel-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
    z-index: 2;
    pointer-events: none;
}

.broball-funnel-balls-animated {
    position: absolute;
    top: 10px;
    width: 80px;
    height: 36px;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3px 5px;
    padding: 0 4px;
}

.broball-f-ball-img {
    width: 13px;
    height: 13px;
    object-fit: contain;
    image-rendering: pixelated;
}

@keyframes broball-funnel-bounce-1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }

    20% {
        transform: translate(-14px, 6px) rotate(-28deg);
    }

    40% {
        transform: translate(12px, -5px) rotate(24deg);
    }

    60% {
        transform: translate(-11px, -6px) rotate(-20deg);
    }

    80% {
        transform: translate(14px, 5px) rotate(30deg);
    }
}

@keyframes broball-funnel-bounce-2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(15px, -5px) rotate(26deg);
    }

    50% {
        transform: translate(-13px, 6px) rotate(-28deg);
    }

    75% {
        transform: translate(-14px, -4px) rotate(32deg);
    }
}

@keyframes broball-funnel-bounce-3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }

    15% {
        transform: translate(-12px, -5px) rotate(25deg);
    }

    45% {
        transform: translate(14px, 6px) rotate(-30deg);
    }

    75% {
        transform: translate(-10px, 6px) rotate(22deg);
    }
}

.ball-anim-1 {
    animation: broball-funnel-bounce-1 0.48s ease-in-out infinite;
}

.ball-anim-2 {
    animation: broball-funnel-bounce-2 0.58s ease-in-out infinite 0.08s;
}

.ball-anim-3 {
    animation: broball-funnel-bounce-3 0.52s ease-in-out infinite 0.15s;
}

.ball-anim-4 {
    animation: broball-funnel-bounce-1 0.60s ease-in-out infinite 0.04s;
}

.ball-anim-5 {
    animation: broball-funnel-bounce-3 0.50s ease-in-out infinite 0.12s;
}

.ball-anim-6 {
    animation: broball-funnel-bounce-2 0.55s ease-in-out infinite 0.20s;
}

/* Cột Multiplier bên trái */
.broball-ball-multipliers-panel {
    position: absolute;
    left: 12px;
    top: 50px;
    border: 2px solid #3d4a8a;
    border-radius: 16px;
    padding: 10px 6px;
    background: rgba(10, 15, 40, 0.6);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 6;
}

.broball-multiplier-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.broball-m-ball {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-bottom: 2px;
}

    .broball-m-ball.broball-cyan {
        background: #00f0ff;
        box-shadow: 0 0 6px #00f0ff;
    }

    .broball-m-ball.broball-yellow {
        background: #ffcc00;
        box-shadow: 0 0 6px #ffcc00;
    }

    .broball-m-ball.broball-pink {
        background: #ff007f;
        box-shadow: 0 0 6px #ff007f;
    }

.broball-m-val {
    font-size: 12px;
    color: #fff;
}

/* Tháp Đinh (Peg Pyramid) */
.broball-peg-pyramid {
    width: 100%;
    flex: 1;
    max-height: 350px;
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative !important;
    overflow: visible !important;
    padding: 0 4px; /* Đồng bộ lề với dãy ô thưởng */
}

.broball-peg-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* width được tính toán linh hoạt theo từng hàng trong Razor */
}

.broball-peg {
    width: 6px;
    height: 6px;
    background: #8a9ce8;
    border-radius: 50%;
    box-shadow: 0 0 5px #a0b0ff;
    flex-shrink: 0;
}

/* Dãy Ô Thưởng ở chân tháp */
.broball-slots-container {
    display: flex;
    gap: 2px;
    margin-top: 6px;
    padding: 0 4px;
    width: 100%;
    justify-content: center;
    z-index: 5;
}

.broball-slot-box {
    flex: 1;
    font-size: 10px;
    text-align: center;
    padding: 4px 0;
    border-radius: 3px;
    font-weight: bold;
    line-height: 1.1;
    color: #fff;
    text-shadow: 1px 1px 0 #000;
    transition: transform 0.15s ease, filter 0.15s ease;
}

    .broball-slot-box.hit {
        transform: scale(1.18);
        filter: brightness(1.6) drop-shadow(0 0 8px #fff);
        z-index: 10;
    }

    .broball-slot-box.broball-blue {
        background: #2b389b;
        border: 1px solid #4858d6;
    }

    .broball-slot-box.broball-purple {
        background: #681f9b;
        border: 1px solid #9c3ae8;
    }

    .broball-slot-box.broball-pink {
        background: #a81369;
        border: 1px solid #ed289c;
    }

    .broball-slot-box.broball-orange {
        background: #b03a18;
        border: 1px solid #e85d33;
    }

    .broball-slot-box.broball-orange-light {
        background: #c25e29;
        border: 1px solid #f08348;
    }

/* ================= 4. CONTROL PANEL ================= */
.broball-control-panel {
    background: transparent url('../../images/games/broball/khung_play.png') center center / 100% 100% no-repeat;
    border: none;
    border-radius: 0;
    margin: 5px 10px;
    padding: 20px 12px 12px 12px;
    position: relative;
    box-shadow: none;
    min-height: 160px;
}

/* LEVEL SELECTOR */
.broball-level-selector {
    position: absolute;
    left: 20px;
    top: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 5;
}

.broball-level-title {
    color: #cca375;
    font-size: 13px;
    margin-bottom: 4px;
    text-shadow: 1px 1px 0 #000;
}

.broball-level-column {
    position: relative;
    display: flex;
    align-items: center;
}

.broball-level-pillar-bg {
    position: absolute;
    left: 4px;
    top: 2px;
    width: 24px;
    height: 92px;
    object-fit: fill;
    image-rendering: pixelated;
    z-index: 1;
    pointer-events: none;
}

.broball-level-options {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.broball-level-item {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

    .broball-level-item.disabled {
        pointer-events: none;
        cursor: not-allowed;
        opacity: 0.55;
        filter: grayscale(0.4);
    }

.broball-level-icon-wrapper {
    position: relative;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.broball-active-hex-bg {
    position: absolute;
    width: 32px;
    height: 32px;
    object-fit: contain;
    image-rendering: pixelated;
    z-index: 1;
}

.broball-level-icon-img {
    position: relative;
    z-index: 2;
    width: 18px;
    height: 18px;
    object-fit: contain;
    image-rendering: pixelated;
}

.broball-level-label {
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 1px 1px 0 #000;
    transition: color 0.1s ease;
}

.broball-level-item.active .broball-level-label {
    color: #ff00ff;
    text-shadow: 0 0 6px rgba(255, 0, 255, 0.8), 1px 1px 0 #000;
}

.broball-level-item:hover .broball-level-label {
    filter: brightness(1.2);
}

/* Nút trung tâm Hold & Drop */
.broball-center-action-box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 2px 0;
}

.broball-drop-img-btn {
    width: 105px;
    height: 105px;
    object-fit: contain;
    cursor: pointer;
    image-rendering: pixelated;
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.65));
    transition: transform 0.1s ease, filter 0.1s ease;
}

    .broball-drop-img-btn:hover {
        filter: drop-shadow(0 8px 12px rgba(255, 170, 0, 0.4)) brightness(1.1);
    }

    .broball-drop-img-btn:active {
        transform: scale(0.94) translateY(4px);
        filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.8));
    }

    .broball-drop-img-btn.disabled {
        pointer-events: none;
        cursor: not-allowed;
    }

/* Cụm chọn Amount bên phải */
.broball-bet-selector {
    position: absolute;
    right: 18px;
    top: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.broball-bet-title {
    color: #cca375;
    font-size: 13px;
    margin-bottom: 4px;
    text-shadow: 1px 1px 0 #000;
}

.broball-bet-diamond-container {
    display: grid;
    grid-template-columns: repeat(3, 30px);
    grid-template-rows: repeat(3, 30px);
    gap: 1px;
    justify-content: center;
    align-items: center;
}

.broball-pos-top {
    grid-column: 2;
    grid-row: 1;
}

.broball-pos-left {
    grid-column: 1;
    grid-row: 2;
}

.broball-pos-right {
    grid-column: 3;
    grid-row: 2;
}

.broball-pos-bottom {
    grid-column: 2;
    grid-row: 3;
}

.broball-bet-amount-btn {
    width: 32px;
    height: 32px;
    background: transparent url('../../images/games/broball/khung_amount.png') center center / contain no-repeat;
    border: none;
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    image-rendering: pixelated;
    transition: transform 0.1s ease, filter 0.1s ease;
    padding: 0;
}

    .broball-bet-amount-btn span {
        text-shadow: 1px 1px 2px #000, -1px -1px 2px #000;
        margin-top: -1px;
    }

    .broball-bet-amount-btn:hover {
        filter: brightness(1.15);
        transform: scale(1.05);
    }

    .broball-bet-amount-btn:active {
        transform: scale(0.92);
    }

    .broball-bet-amount-btn.active {
        background-image: url('../../images/games/broball/khung_amount_active.png');
        filter: drop-shadow(0 0 5px rgba(255, 170, 0, 0.7));
        transform: scale(1.1);
    }

/* Thanh tăng/giảm cược */
.broball-bet-adjust-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.broball-adj-img-btn {
    width: 44px;
    height: 44px;
    object-fit: contain;
    cursor: pointer;
    image-rendering: pixelated;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.5));
    transition: transform 0.1s ease;
}

    .broball-adj-img-btn:active {
        transform: scale(0.9) translateY(3px);
        filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.8));
    }

.broball-bet-display {
    background: #211208;
    border: 2px solid #422613;
    border-radius: 10px;
    padding: 6px 16px;
    color: #fff;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ================= 5. TOTAL BET SUMMARY BAR ================= */
.broball-bet-summary-bar {
    text-align: center;
    font-size: 13px;
    color: #ffaa00;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.broball-b-tag {
    background: #ffaa00;
    color: #000;
    padding: 0 4px;
    border-radius: 3px;
    font-weight: bold;
    font-size: 11px;
}

.broball-pink-ball-img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    image-rendering: pixelated;
    vertical-align: middle;
}

/* ================= 6. BOTTOM NAVIGATION BAR ================= */
.broball-bottom-bar {
    background: rgba(20, 12, 6, 0.85);
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(66, 38, 19, 0.8);
    border-radius: 12px;
    margin: 0 10px 18px 10px;
    backdrop-filter: blur(4px);
    z-index: 10;
}

.broball-right-btn-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

.broball-frame-btn {
    width: 36px;
    height: 36px;
    background: transparent url('../../images/games/broball/khung_menu.png') center center / contain no-repeat;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    image-rendering: pixelated;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transition: transform 0.1s ease, filter 0.1s ease;
}

    .broball-frame-btn:hover {
        filter: drop-shadow(0 0 6px rgba(255, 170, 0, 0.6)) brightness(1.15);
        transform: scale(1.05);
    }

    .broball-frame-btn:active {
        transform: scale(0.92) translateY(2px);
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8));
    }

.broball-btn-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    image-rendering: pixelated;
    pointer-events: none;
}

.broball-info-box {
    background: #211208;
    border: 1px solid #422613;
    border-radius: 8px;
    padding: 2px 12px;
    text-align: center;
}

.broball-info-label {
    font-size: 10px;
    color: #8c735c;
}

.broball-info-val {
    font-size: 14px;
    color: #00f0ff;
}

/* ================= 7. POPUP LỊCH SỬ CƯỢC & HƯỚNG DẪN CHƠI (CLONE TỪ BRODICE) ================= */
.broball-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    backdrop-filter: blur(3px);
}

.broball-history-modal-card {
    position: relative;
    width: 92%;
    max-width: 380px;
    height: 80vh;
    max-height: 560px;
    background: transparent url('../../images/games/brodice/khung_popup.png') center center / 100% 100% no-repeat;
    display: flex;
    flex-direction: column;
    padding: 24px 18px 20px 18px;
    box-sizing: border-box;
    image-rendering: pixelated;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.95);
    animation: broballModalPop 0.25s ease-out;
}

@keyframes broballModalPop {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.broball-history-modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    margin-bottom: 14px;
    padding-top: 4px;
}

.broball-history-title-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.broball-title-star-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.broball-title-history-img {
    height: 22px;
    width: auto;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.broball-title-howtoplay-img {
    height: 22px;
    width: auto;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

.broball-history-close-btn {
    position: absolute;
    top: 0;
    right: 4px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

    .broball-history-close-btn:hover {
        filter: brightness(1.25);
    }

    .broball-history-close-btn:active {
        transform: scale(0.9);
    }

.broball-close-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    image-rendering: pixelated;
}

/* POPUP HƯỚNG DẪN CHƠI CONTENT */
/* CONTAINER BỌC NỘI DUNG HƯỚNG DẪN CHƠI PLINKO */
.plinko-howtoplay-content-wrapper {
    font-family: 'DePixel Breit', monospace, sans-serif;
    color: #e2e8f0;
    font-size: 11px;
    line-height: 1.5;
    text-shadow: 1px 1px 2px #000000;
    /* --- CÁC THUỘC TÍNH BỔ SUNG TẠO THANH CUỘN (SCROLL) --- */
    max-height: 380px; /* Giới hạn chiều cao tối đa của khung popup */
    overflow-y: auto; /* Tự động hiện thanh cuộn dọc khi nội dung bị tràn */
    padding-right: 8px; /* Đệm bên phải để thanh cuộn không đè lên chữ */
    box-sizing: border-box; /* Giữ nguyên kích thước container khi padding */
}

    /* TÙY CHỈNH THANH CUỘN (SCROLLBAR) NỔI BẬT CHUẨN MÀU NEON/PIXEL */
    .plinko-howtoplay-content-wrapper::-webkit-scrollbar {
        width: 6px; /* Độ rộng thanh cuộn nhỏ gọn */
    }

    .plinko-howtoplay-content-wrapper::-webkit-scrollbar-track {
        background: rgba(15, 23, 42, 0.7); /* Mền rãnh cuộn tối màu */
        border-radius: 4px;
    }

    .plinko-howtoplay-content-wrapper::-webkit-scrollbar-thumb {
        background: #00f0ff; /* Màu con trượt Cyan Neon nổi bật */
        border-radius: 4px;
        box-shadow: 0 0 6px #00f0ff;
    }

        .plinko-howtoplay-content-wrapper::-webkit-scrollbar-thumb:hover {
            background: #ff007f; /* Đổi sang màu Hồng Neon khi hover */
            box-shadow: 0 0 8px #ff007f;
        }

.broball-howtoplay-text {
    font-family: 'DePixel Breit', monospace, sans-serif;
    font-size: 12px;
    line-height: 1.6;
    color: #e2e8f0;
    text-shadow: 1px 1px 2px #000;
    margin: 0;
    text-align: justify;
}

/* POPUP LỊCH SỬ CONTENT */
.broball-history-table-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    margin-top: 2px;
}

.broball-history-table-header {
    display: grid;
    grid-template-columns: 1.1fr 1.5fr 1.2fr 1.3fr;
    align-items: center;
    text-align: center;
    font-family: 'DePixel Breit', monospace, sans-serif;
    font-size: 10px;
    color: #88a2d4;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: bold;
}

.broball-history-table-body {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

    .broball-history-table-body::-webkit-scrollbar,
    .broball-howtoplay-content-wrapper::-webkit-scrollbar {
        width: 4px;
    }

    .broball-history-table-body::-webkit-scrollbar-thumb,
    .broball-howtoplay-content-wrapper::-webkit-scrollbar-thumb {
        background: rgba(56, 189, 248, 0.5);
        border-radius: 4px;
    }

.broball-history-row {
    display: grid;
    grid-template-columns: 1.1fr 1.5fr 1.2fr 1.3fr;
    align-items: center;
    text-align: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: 'DePixel Breit', monospace, sans-serif;
    font-size: 11px;
}

.col-phien {
    color: #ffffff;
    font-weight: bold;
    word-break: break-all;
}

.col-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #ffaa00;
}

.col-bet {
    color: #00f0ff;
    font-weight: bold;
}

.col-win {
    color: #ffe600;
    font-weight: bold;
}


/* Plinko How To Play Modal Styles */
.plinko-howtoplay-content-wrapper {
    font-family: 'DePixel Breit', monospace, sans-serif;
    color: #e2e8f0;
    font-size: 11px;
    line-height: 1.5;
    text-shadow: 1px 1px 2px #000000;
}

    .plinko-howtoplay-content-wrapper h2 {
        font-size: 13px;
        color: #facc15;
        margin: 12px 0 6px 0;
        font-weight: bold;
        border-bottom: 1px dashed rgba(250, 204, 21, 0.3);
        padding-bottom: 4px;
    }

    .plinko-howtoplay-content-wrapper p,
    .plinko-howtoplay-content-wrapper li {
        font-size: 10px;
        color: #cbd5e1;
    }

    .plinko-howtoplay-content-wrapper ul,
    .plinko-howtoplay-content-wrapper ol {
        margin: 6px 0;
        padding-left: 18px;
    }

    .plinko-howtoplay-content-wrapper blockquote {
        background: rgba(15, 23, 42, 0.7);
        border-left: 3px solid #38bdf8;
        margin: 8px 0;
        padding: 6px 10px;
        border-radius: 0 6px 6px 0;
        color: #fef08a;
    }

/* Styled Table for Risk Levels */
.plinko-table-responsive {
    overflow-x: auto;
    margin: 8px 0;
}

.plinko-guide-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10px;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
}

    .plinko-guide-table th {
        background: #1e293b;
        color: #38bdf8;
        padding: 6px 4px;
        border: 1px solid #334155;
    }

    .plinko-guide-table td {
        padding: 5px 4px;
        border: 1px solid #334155;
    }

.level-low {
    color: #4ade80;
}

.level-medium {
    color: #facc15;
}

.level-high {
    color: #f87171;
}

.plinko-howtoplay-content-wrapper hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 10px 0;
}