/* ========================================
   Laduma Lotto Styles
   ======================================== */

/* CSS Variables */
:root {
    --bingo-primary: #007105;
    --bingo-secondary: #0cae13;
    --bingo-success: #28a745;
    --bingo-warning: #ffc107;
    --bingo-danger: #dc3545;
    --bingo-info: #17a2b8;
}

/* ========================================
   Hero Banner
   ======================================== */
.bingo-hero-banner {
    position: relative;
    background: linear-gradient(135deg, #1a5d1a 0%, #228b22 50%, #32cd32 100%);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 113, 5, 0.3);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bingo-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(50, 205, 50, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.2) 0%, transparent 50%);
    animation: pulseGlow 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

.floating-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.15);
    animation: float 6s ease-in-out infinite;
}

.floating-icon.icon-1 {
    top: 15%;
    right: 10%;
    font-size: 60px;
    animation-delay: 0s;
}

.floating-icon.icon-2 {
    top: 60%;
    right: 5%;
    font-size: 45px;
    animation-delay: 1s;
    color: rgba(255, 215, 0, 0.25);
}

.floating-icon.icon-3 {
    top: 20%;
    right: 25%;
    font-size: 35px;
    animation-delay: 2s;
}

.floating-icon.icon-4 {
    top: 70%;
    right: 20%;
    font-size: 28px;
    animation-delay: 0.5s;
    color: rgba(255, 215, 0, 0.2);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.glow-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.glow-circle.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
    animation: pulse 5s ease-in-out infinite;
}

.glow-circle.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -80px;
    left: -50px;
    animation: pulse 5s ease-in-out infinite 1s;
}

.glow-circle.circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 30%;
    animation: pulse 5s ease-in-out infinite 2s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.hero-text {
    color: white;
}

.bingo-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.bingo-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-features {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature-item i {
    color: #90EE90;
    font-size: 1.1rem;
}

.hero-actions {
    flex-shrink: 0;
}

.btn-wallet {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-wallet:hover {
    background: rgba(255, 255, 255, 0.35);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.wallet-balance {
    font-size: 1.2rem;
}

.btn-hero-cta {
    background: #ffffff !important;
    color: #007105 !important;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid #ffffff !important;
}

.btn-hero-cta:hover {
    background: #007105 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    text-decoration: none !important;
    border: 2px solid #ffffff !important;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .bingo-hero-banner {
        padding: 30px 20px;
    }

    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .bingo-title {
        font-size: 1.8rem;
    }

    .bingo-subtitle {
        font-size: 1rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 10px;
    }

    .floating-icon {
        display: none;
    }

    .hero-actions {
        width: 100%;
    }

    .btn-wallet,
    .btn-hero-cta {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   Navigation
   ======================================== */
.bingo-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bingo-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f8f9fa;
    border-radius: 25px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.bingo-nav-item:hover {
    background: var(--bingo-primary);
    color: white;
    text-decoration: none;
}

.bingo-nav-item.active {
    background: var(--bingo-primary);
    color: white;
}

/* ========================================
   Game Cards
   ======================================== */
.bingo-game-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: visible;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bingo-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.bingo-game-card.locked {
    opacity: 0.85;
}

.game-card-header {
    padding: 20px 15px 15px 15px;
    text-align: right;
    overflow: visible;
}

.game-status {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.game-status.open {
    background: linear-gradient(135deg, #00c853 0%, #00e676 50%, #69f0ae 100%);
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    box-shadow:
        0 0 10px rgba(0, 200, 83, 1),
        0 0 20px rgba(0, 200, 83, 0.8),
        0 0 30px rgba(0, 200, 83, 0.6),
        0 0 40px rgba(0, 200, 83, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
    animation: statusGlow 1s ease-in-out infinite alternate, statusPulse 1.5s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    padding: 10px 20px;
}

.game-status.open::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, #00c853, #69f0ae, #00e676, #00c853);
    background-size: 400% 400%;
    border-radius: 24px;
    z-index: -1;
    animation: borderGlow 3s ease infinite;
    opacity: 0.8;
    filter: blur(4px);
}

.game-status.open::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 50%);
    border-radius: 20px;
    pointer-events: none;
}

@keyframes statusGlow {
    0% {
        box-shadow:
            0 0 10px rgba(0, 200, 83, 1),
            0 0 20px rgba(0, 200, 83, 0.8),
            0 0 30px rgba(0, 200, 83, 0.6),
            0 0 40px rgba(0, 200, 83, 0.4),
            inset 0 0 10px rgba(255, 255, 255, 0.3);
    }
    100% {
        box-shadow:
            0 0 15px rgba(0, 230, 118, 1),
            0 0 30px rgba(0, 230, 118, 0.9),
            0 0 45px rgba(0, 230, 118, 0.7),
            0 0 60px rgba(0, 230, 118, 0.5),
            inset 0 0 15px rgba(255, 255, 255, 0.4);
    }
}

@keyframes statusPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

@keyframes borderGlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.game-status.locked,
.game-status.in_progress {
    background: linear-gradient(135deg, #ffc107 0%, #ffca28 50%, #ffd54f 100%);
    color: #5d4037;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.5), 0 0 30px rgba(255, 193, 7, 0.3);
    animation: lockedPulse 2s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

@keyframes lockedPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 193, 7, 0.5), 0 0 20px rgba(255, 193, 7, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 193, 7, 0.7), 0 0 40px rgba(255, 193, 7, 0.4);
    }
}

.game-status.completed {
    background: linear-gradient(135deg, #2196f3 0%, #42a5f5 50%, #64b5f6 100%);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.game-status.ended {
    background: linear-gradient(135deg, #9e9e9e 0%, #bdbdbd 100%);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.game-card-body {
    padding: 15px 20px;
    flex: 1;
}

.game-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.game-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.game-stats .stat {
    text-align: center;
}

.game-stats .stat-label {
    display: block;
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 3px;
}

.game-stats .stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
}

.game-stats .stat-value.prize {
    color: var(--bingo-success);
}

.game-deadline {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 5px;
}

.game-card-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
}

.btn-game {
    width: 100%;
    padding: 10px;
    font-weight: 600;
    border-radius: 8px;
}

/* ========================================
   Info Cards
   ======================================== */
.bingo-info-card .game-info-grid {
    display: grid;
    gap: 12px;
}

.bingo-info-card .info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bingo-info-card .info-label {
    color: #666;
    font-size: 0.9rem;
}

.bingo-info-card .info-value {
    font-weight: 600;
    color: #333;
}

.prize-breakdown {
    margin-top: 15px;
}

.prize-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.prize-item.total {
    font-weight: 700;
    border-bottom: 2px solid var(--bingo-primary);
}

.prize-amount {
    font-weight: 600;
    color: var(--bingo-success);
}

/* ========================================
   Teams Grid
   ======================================== */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 10px;
}

.team-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.team-item.won {
    background: #d4edda;
    border-left: 3px solid var(--bingo-success);
}

.team-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.team-details {
    display: flex;
    flex-direction: column;
}

.team-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.team-match {
    font-size: 0.75rem;
    color: #666;
}

/* ========================================
   Bingo Board (5x5 Grid)
   ======================================== */
.bingo-board {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.bingo-row {
    display: flex;
    gap: 8px;
}

.bingo-cell {
    flex: 1;
    aspect-ratio: 1;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.bingo-cell:hover {
    border-color: var(--bingo-primary);
    transform: scale(1.02);
}

.bingo-cell.marked {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-color: var(--bingo-success);
}

.bingo-cell.empty {
    background: #e9ecef;
}

.cell-logo {
    width: 35px;
    height: 35px;
    object-fit: contain;
    margin-bottom: 4px;
}

.cell-name {
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    color: #333;
    line-height: 1.2;
}

.cell-score {
    position: absolute;
    bottom: 4px;
    right: 4px;
    font-size: 0.6rem;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
}

.marked-overlay {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background: var(--bingo-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
}

.board-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.85rem;
    color: #666;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-box {
    width: 18px;
    height: 18px;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    background: #f8f9fa;
}

.legend-box.marked {
    background: #d4edda;
    border-color: var(--bingo-success);
}

/* ========================================
   Teams List
   ======================================== */
.teams-list {
    max-height: 400px;
    overflow-y: auto;
}

.team-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.team-list-item:last-child {
    border-bottom: none;
}

.team-list-item.won {
    background: #f8fff9;
}

.team-logo-sm {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.team-name-text {
    font-size: 0.9rem;
}

/* ========================================
   Wallet
   ======================================== */
.wallet-balance-card {
    background: linear-gradient(135deg, var(--bingo-primary) 0%, var(--bingo-secondary) 100%);
    color: white;
}

.wallet-balance-card .text-muted {
    color: rgba(255, 255, 255, 0.85) !important;
}

.wallet-balance-card .text-warning {
    color: #FFD700 !important;
}

.wallet-balance-card h6 {
    color: rgba(255, 255, 255, 0.9);
}

.wallet-balance-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.wallet-balance-amount .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.earn-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.earn-item i {
    font-size: 1.2rem;
    margin-top: 3px;
}

/* Featured Earn DiskiBucks Card */
.earn-diskibucks-featured {
    border: 2px solid #ffc107;
    background: linear-gradient(135deg, #fffef5 0%, #fff8e1 100%);
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.3), 0 0 40px rgba(255, 193, 7, 0.1);
    animation: earnCardGlow 2s ease-in-out infinite alternate;
}

.earn-diskibucks-featured .earn-header {
    background: linear-gradient(135deg, #ffc107 0%, #ffca28 50%, #ffd54f 100%);
    color: #333;
    font-weight: 600;
}

.earn-diskibucks-featured .earn-header i {
    color: #ff8f00;
    animation: starPulse 1s ease-in-out infinite;
}

@keyframes earnCardGlow {
    0% {
        box-shadow: 0 0 20px rgba(255, 193, 7, 0.3), 0 0 40px rgba(255, 193, 7, 0.1);
    }
    100% {
        box-shadow: 0 0 30px rgba(255, 193, 7, 0.5), 0 0 60px rgba(255, 193, 7, 0.2);
    }
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.earn-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.2s ease;
}

.earn-item-link:hover {
    text-decoration: none;
    color: inherit;
}

.earn-item-link:hover .earn-item {
    background: rgba(255, 193, 7, 0.15);
    border-radius: 8px;
    padding: 8px;
    margin: -8px;
    margin-bottom: 4px;
}

.earn-item-link:last-child:hover .earn-item {
    margin-bottom: -8px;
}

.earn-diskibucks-featured .earn-item {
    padding: 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.earn-diskibucks-featured .earn-item:hover {
    background: rgba(255, 193, 7, 0.2);
}

.winnings-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.winnings-total {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-top: 2px solid var(--bingo-primary);
}

/* ========================================
   How to Play
   ======================================== */
.how-to-step {
    padding: 20px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--bingo-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 10px;
}

/* ========================================
   Purchase Form
   ======================================== */
.purchase-form .form-select {
    border: 2px solid #dee2e6;
    padding: 10px 15px;
}

.purchase-form .form-select:focus {
    border-color: var(--bingo-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 113, 5, 0.25);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .bingo-header {
        padding: 20px;
    }

    .bingo-title {
        font-size: 1.4rem;
    }

    .bingo-nav-item {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .game-stats {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .game-stats .stat {
        display: flex;
        justify-content: space-between;
        text-align: left;
    }

    .teams-grid {
        grid-template-columns: 1fr;
    }

    .bingo-cell {
        padding: 5px;
    }

    .cell-logo {
        width: 25px;
        height: 25px;
    }

    .cell-name {
        font-size: 0.6rem;
    }

    .wallet-balance-amount {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .bingo-nav {
        flex-direction: column;
    }

    .bingo-nav-item {
        justify-content: center;
    }

    .bingo-board {
        gap: 5px;
    }

    .bingo-row {
        gap: 5px;
    }

    .bingo-cell {
        border-radius: 5px;
    }

    .marked-overlay {
        width: 16px;
        height: 16px;
        font-size: 0.6rem;
    }
}

/* ========================================
   3x5 Prediction Card Selection UI
   ======================================== */

/* Selection Summary */
.selection-row {
    padding: 10px;
    border-radius: 8px;
    background: #f8f9fa;
}

.selection-row h6 {
    margin-bottom: 10px;
    font-weight: 600;
}

.selection-slots {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.slot {
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.slot.empty {
    background: #e9ecef;
    color: #6c757d;
    font-style: italic;
}

.slot.filled {
    background: white;
    border: 2px solid;
    cursor: pointer;
    font-weight: 500;
}

.slot.filled.win {
    border-color: var(--bingo-success);
}

.slot.filled.draw {
    border-color: var(--bingo-warning);
}

.slot.filled.lose {
    border-color: var(--bingo-danger);
}

.slot.filled:hover {
    opacity: 0.8;
}

.slot-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.slot .remove-btn {
    margin-left: auto;
    color: #dc3545;
    font-size: 0.75rem;
}

/* Fixtures Selection */
.fixtures-selection {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fixture-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 12px 15px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.fixture-card.fixture-used {
    border-color: var(--bingo-primary);
    background: #f0fff0;
}

.fixture-date {
    font-size: 0.75rem;
    color: #6c757d;
    text-align: center;
    margin-bottom: 8px;
}

.fixture-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.team-select {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.team-select:hover:not(.disabled):not(.selected) {
    border-color: var(--bingo-primary);
    background: #f0f8ff;
}

.team-select.selected {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-color: var(--bingo-success);
}

.team-select.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.team-logo-small {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.vs-text {
    font-weight: 600;
    color: #6c757d;
    font-size: 0.85rem;
}

.selection-badge {
    margin-left: auto;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

.selection-badge.WIN {
    background: var(--bingo-success);
}

.selection-badge.DRAW {
    background: var(--bingo-warning);
    color: #333;
}

.selection-badge.LOSE {
    background: var(--bingo-danger);
}

/* Prediction Modal */
.prediction-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.prediction-modal-content {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    max-width: 350px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.prediction-modal-content h5 {
    margin-bottom: 20px;
    font-weight: 600;
}

.prediction-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.prediction-btn {
    padding: 12px 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.prediction-btn small {
    opacity: 0.8;
}

.prediction-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========================================
   3x5 Bingo Board Display
   ======================================== */
.bingo-board-3x5 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 700px;
    margin: 0 auto;
}

.bingo-row-3x5 {
    display: flex;
    gap: 8px;
}

.prediction-row-label {
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 8px;
    color: white;
}

.prediction-row-label.win {
    background: var(--bingo-success);
}

.prediction-row-label.draw {
    background: var(--bingo-warning);
    color: #333;
}

.prediction-row-label.lose {
    background: var(--bingo-danger);
}

.bingo-cell-3x5 {
    flex: 1;
    aspect-ratio: 1;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    position: relative;
    transition: all 0.3s ease;
    min-width: 80px;
}

.bingo-cell-3x5.blank {
    background: #e9ecef;
    border-color: #e9ecef;
}

.bingo-cell-3x5.correct {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-color: var(--bingo-success);
}

.bingo-cell-3x5.incorrect {
    background: #f8d7da;
    border-color: var(--bingo-danger);
}

.bingo-cell-3x5.pending {
    background: #fff3cd;
    border-color: var(--bingo-warning);
}

.cell-result-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: white;
}

.cell-result-icon.correct {
    background: var(--bingo-success);
}

.cell-result-icon.incorrect {
    background: var(--bingo-danger);
}

.board-win-banner {
    background: linear-gradient(135deg, #ffc107 0%, #ffeb3b 100%);
    color: #333;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 15px;
}

.board-win-banner i {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

/* Responsive for 3x5 board */
@media (max-width: 768px) {
    .prediction-row-label {
        width: 45px;
        font-size: 0.7rem;
    }

    .bingo-cell-3x5 {
        min-width: 50px;
        padding: 5px;
    }

    .cell-logo {
        width: 25px;
        height: 25px;
    }

    .cell-name {
        font-size: 0.6rem;
    }

    .fixture-teams {
        flex-direction: column;
        gap: 8px;
    }

    .vs-text {
        display: none;
    }

    .team-select {
        width: 100%;
    }

    .selection-slots {
        gap: 3px;
    }

    .slot {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

/* ========================================
   Compact 3x3 Bingo Grid
   ======================================== */
.bingo-grid-3x3 {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 400px;
}

.bingo-row-3x3 {
    display: flex;
    gap: 6px;
    align-items: stretch;
}

.row-label {
    width: 55px;
    min-width: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 6px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.row-label.win {
    background: #28a745;
}

.row-label.draw {
    background: #ffc107;
    color: #333;
}

.row-label.lose {
    background: #dc3545;
}

.bingo-cell-3x3 {
    flex: 1;
    min-width: 90px;
    height: 70px;
    background: #fff;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px;
    position: relative;
    transition: all 0.2s ease;
}

.bingo-cell-3x3.empty {
    background: #f8f9fa;
    border-color: #e9ecef;
    color: #adb5bd;
}

.bingo-cell-3x3.pending {
    background: #fff;
    border-color: #dee2e6;
}

.bingo-cell-3x3.correct {
    background: #d4edda;
    border-color: #28a745;
}

.bingo-cell-3x3.incorrect {
    background: #f8d7da;
    border-color: #dc3545;
}

.cell-logo-sm {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin-bottom: 2px;
}

.cell-team-name {
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
}

.cell-team-link {
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cell-team-link:hover {
    color: var(--bingo-primary);
    text-decoration: underline;
    cursor: pointer;
}

.team-name-link {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.team-name-link:hover {
    color: var(--bingo-primary);
    text-decoration: underline;
    cursor: pointer;
}

.cell-result {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: white;
}

.cell-result.correct {
    background: #28a745;
}

.cell-result.incorrect {
    background: #dc3545;
}

/* Legend */
.bingo-legend {
    font-size: 0.75rem;
    color: #666;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.legend-row {
    margin-bottom: 4px;
}

.legend-row:last-child {
    margin-bottom: 0;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    display: inline-block;
}

.legend-color.win {
    background: #28a745;
}

.legend-color.draw {
    background: #ffc107;
}

.legend-color.lose {
    background: #dc3545;
}

/* Responsive 3x3 */
@media (max-width: 576px) {
    .bingo-grid-3x3 {
        gap: 4px;
    }

    .bingo-row-3x3 {
        gap: 4px;
    }

    .row-label {
        width: 40px;
        min-width: 40px;
        font-size: 0.65rem;
    }

    .bingo-cell-3x3 {
        min-width: 70px;
        height: 60px;
        padding: 4px;
    }

    .cell-logo-sm {
        width: 22px;
        height: 22px;
    }

    .cell-team-name,
    .cell-team-link {
        font-size: 0.6rem;
    }

    .bingo-legend {
        font-size: 0.7rem;
    }
}

/* ========================================
   Compact Fixture Selection
   ======================================== */
.fixture-search .input-group-text {
    background: #f8f9fa;
    border-right: none;
}

.fixture-search .form-control {
    border-left: none;
}

.fixture-search .form-control:focus {
    border-color: #ced4da;
    box-shadow: none;
}

.fixture-search .btn-outline-secondary {
    border-color: #ced4da;
}

.fixtures-selection-compact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 400px;
    overflow-y: auto;
}

.fixture-card-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.15s ease;
}

.fixture-card-compact.used {
    background: #e8f5e9;
    border-color: var(--bingo-success);
}

.fixture-time {
    font-size: 0.7rem;
    color: #6c757d;
    min-width: 75px;
    text-align: center;
}

.fixture-teams-compact {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.team-btn {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.15s ease;
}

.team-btn:hover:not(.disabled):not(.selected) {
    border-color: var(--bingo-primary);
    background: #f0fff0;
}

.team-btn.selected {
    background: #d4edda;
    border-color: var(--bingo-success);
}

.team-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.team-logo-xs {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.team-btn span:not(.sel-badge) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vs {
    font-size: 0.7rem;
    color: #6c757d;
    font-weight: 500;
    flex-shrink: 0;
}

.sel-badge {
    margin-left: auto;
    padding: 1px 6px;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.sel-badge.win {
    background: var(--bingo-success);
}

.sel-badge.draw {
    background: var(--bingo-warning);
    color: #333;
}

.sel-badge.lose {
    background: var(--bingo-danger);
}

/* Mobile compact fixtures */
@media (max-width: 768px) {
    .fixture-card-compact {
        flex-direction: column;
        padding: 8px;
        gap: 4px;
    }

    .fixture-time {
        min-width: auto;
        font-size: 0.65rem;
    }

    .fixture-teams-compact {
        width: 100%;
    }

    .team-btn {
        padding: 5px 8px;
        font-size: 0.75rem;
    }

    .team-logo-xs {
        width: 18px;
        height: 18px;
    }

    .vs {
        display: none;
    }
}

/* ========================================
   Dark Wallet Hero Banner
   ======================================== */
.wallet-hero-banner {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wallet-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 193, 7, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(78, 202, 81, 0.15) 0%, transparent 50%);
    animation: walletPulseGlow 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes walletPulseGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.wallet-hero-banner .hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

.wallet-hero-banner .floating-icon {
    position: absolute;
    font-size: 50px;
    opacity: 0.12;
    animation: walletFloat 6s ease-in-out infinite;
}

.wallet-hero-banner .icon-1 {
    top: 10%;
    left: 5%;
    color: #FFD700;
    animation-delay: 0s;
}

.wallet-hero-banner .icon-2 {
    top: 15%;
    right: 8%;
    color: #ffc107;
    animation-delay: 1.5s;
}

.wallet-hero-banner .icon-3 {
    bottom: 15%;
    left: 12%;
    color: #4eca51;
    animation-delay: 3s;
}

.wallet-hero-banner .icon-4 {
    bottom: 20%;
    right: 15%;
    color: #FF6B35;
    animation-delay: 4.5s;
}

@keyframes walletFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(8deg);
    }
}

.wallet-hero-banner .glow-circle {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    animation: walletRotate 20s linear infinite;
}

.wallet-hero-banner .circle-1 {
    top: -50px;
    right: 10%;
    animation-duration: 15s;
}

.wallet-hero-banner .circle-2 {
    bottom: -50px;
    left: 20%;
    animation-duration: 20s;
    animation-direction: reverse;
}

.wallet-hero-banner .circle-3 {
    top: 50%;
    right: -30px;
    width: 100px;
    height: 100px;
    animation-duration: 25s;
}

@keyframes walletRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.wallet-hero-banner .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
}

.wallet-hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.wallet-hero-title i {
    color: #FFD700;
}

.wallet-hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.wallet-hero-balance {
    display: flex;
    justify-content: center;
}

.balance-display {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 30px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.balance-display i {
    font-size: 1.8rem;
    color: #FFD700;
}

.balance-amount {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.balance-currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 768px) {
    .wallet-hero-banner {
        padding: 30px 20px;
    }

    .wallet-hero-title {
        font-size: 1.5rem;
    }

    .wallet-hero-subtitle {
        font-size: 0.9rem;
    }

    .balance-display {
        padding: 12px 20px;
    }

    .balance-amount {
        font-size: 1.5rem;
    }

    .balance-display i {
        font-size: 1.4rem;
    }

    .wallet-hero-banner .floating-icon {
        font-size: 35px;
    }
}

/* ========================================
   Play Again Banner (BoardDetails)
   ======================================== */
.play-again-banner {
    background: linear-gradient(135deg, #1a5d1a 0%, #228b22 50%, #32cd32 100%);
    border-radius: 16px;
    padding: 25px 30px;
    margin-top: 20px;
    box-shadow: 0 8px 32px rgba(0, 113, 5, 0.4);
    position: relative;
    overflow: hidden;
}

.play-again-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.play-again-content {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.play-again-icon {
    font-size: 3rem;
    color: #ffd700;
    animation: pulse-fire 1.5s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

@keyframes pulse-fire {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.play-again-text {
    flex: 1;
}

.play-again-text h3 {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.play-again-text p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1rem;
}

.play-again-text p strong {
    color: #ffd700;
    font-size: 1.1rem;
}

.play-again-buttons {
    display: flex;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.btn-play-again-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #1a5d1a;
    border: none;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
    flex: 1;
}

.btn-play-again-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.6);
    color: #1a5d1a;
    background: linear-gradient(135deg, #ffe44d 0%, #ffbb33 100%);
}

.btn-play-again-primary:active {
    transform: translateY(-1px);
}

.btn-play-again-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 16px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.btn-play-again-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .play-again-banner {
        padding: 20px;
    }

    .play-again-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .play-again-icon {
        font-size: 2.5rem;
    }

    .play-again-text h3 {
        font-size: 1.3rem;
    }

    .play-again-buttons {
        flex-direction: column;
    }

    .btn-play-again-primary,
    .btn-play-again-secondary {
        width: 100%;
        padding: 14px 24px;
    }
}
