.banner {
    background: linear-gradient(135deg, #cf2939, #5e0009);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 35px;
    margin-bottom: 30px;
    padding: 60px 0;
}

.flash-message {
    /* background: linear-gradient(45deg, #ff6b6b, #ffd93d, #6bcf7f, #4d9de0, #ff6b6b);
            background-size: 400% 400%;
            animation: flashGradient 2s ease-in-out infinite; */
    color: #fff;
    padding: 0px 100px 0;
    border-radius: 50px;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    /* box-shadow: 
                0 6px 20px rgba(0,0,0,0.3),
                0 0 30px rgba(255,255,255,0.2); */
    /* border: 2px solid rgba(255,255,255,0.3); */
    position: relative;
    overflow: hidden;
}

.flash-message::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 70%);
    animation: flashShimmer 3s infinite;
    pointer-events: none;
}

@keyframes flashGradient {

    0%,
    100% {
        background-position: 0% 50%;
        transform: scale(1);
    }

    50% {
        background-position: 100% 50%;
        transform: scale(1.02);
    }
}

/* Live Indicator */
.live-indicator {
    color: #328d49;
    font-size: 25px;
    font-weight: bold;
    align-items: center;
}

.live-indicator svg {
    color: #ff4757;
    animation: redBlink 1s infinite;
    font-weight: bold;
    
}

@keyframes redBlink {

    0%,
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 8px #ff4757) drop-shadow(0 0 15px #ff4757);
    }

    51%,
    100% {
        opacity: 0.2;
        filter: none;
    }
}

@keyframes flashShimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.floating-chips {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.chip {
    position: absolute;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    animation: float 8s infinite linear;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.chip.red {
    background: radial-gradient(circle, #ff4757, #c44569);
    border: 3px solid #fff;
}

.chip.blue {
    background: radial-gradient(circle, #3742fa, #2f3542);
    border: 3px solid #fff;
}

.chip.green {
    background: radial-gradient(circle, #2ed573, #1e824c);
    border: 3px solid #fff;
}

.chip::before {
    content: 'â‚¹';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    color: white;
    font-size: 16px;
}

.chip:nth-child(1) {
    left: 5%;
    animation-delay: -1s;
}

.chip:nth-child(2) {
    left: 20%;
    animation-delay: -3s;
}

.chip:nth-child(3) {
    left: 40%;
    animation-delay: -2s;
}

.chip:nth-child(4) {
    left: 60%;
    animation-delay: -4s;
}

.chip:nth-child(5) {
    left: 80%;
    animation-delay: -0.5s;
}

.chip:nth-child(6) {
    left: 95%;
    animation-delay: -2.5s;
}

@keyframes float {
    0% {
        transform: translateY(220px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-50px) rotate(360deg);
        opacity: 0;
    }
}

.game-table {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
    z-index: 10;
}


.odometer-display {
    text-align: center;
    color: white;
    flex: 1;
    margin: 0 30px;
}

.odometer-container {
    display: flex;
    gap: 0;
    justify-content: center;
    align-items: center;
    background:#e9e9e9;
    padding: 20px 30px;
    border-radius: 15px;
    position: relative;
}

.odometer-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ffd700, #ff6b6b, #3742fa, #ffd700);
    background-size: 400% 400%;
    animation: borderGlow 3s ease infinite;
    border-radius: 15px;
    z-index: -1;
}

@keyframes borderGlow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.odometer-digit {
    width: 80px;
    height: 80px;
    background: #0a0a0a;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.8),
        0 2px 10px rgba(255, 255, 255, 0.1);
    border: 1px solid #444;
}

.digit-reel {
    display: flex;
    flex-direction: column;
    animation: odometerSpin 8s infinite linear;
    transition: transform 0.5s ease-in-out;
}

.digit {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    font-weight: bold;
    color: #00ff41;
    background: #0a0a0a;
    border-bottom: 1px solid #222;
    text-shadow: 0 0 10px #00ff41, 0 0 20px #00ff41;
    font-family: 'Courier New', monospace;
    position: relative;
}

.digit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            rgba(0, 255, 65, 0.1) 0%,
            transparent 50%,
            rgba(0, 255, 65, 0.1) 100%);
    pointer-events: none;
}

@keyframes odometerSpin {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-1080px);
    }
}

/* Vintage petrol pump styling */
.odometer-digit:nth-child(1) .digit-reel {
    animation-delay: 0s;
}

.odometer-digit:nth-child(2) .digit-reel {
    animation-delay: -1s;
}

.odometer-digit:nth-child(3) .digit-reel {
    animation-delay: -2s;
}

/* Add mechanical clicking sound effect simulation */
.digit {
    transition: all 0.1s ease;
}

.digit:hover {
    background: #111;
    text-shadow: 0 0 15px #00ff41, 0 0 30px #00ff41;
}

/* Old petrol pump glass reflection effect */
.odometer-digit::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0) 100%);
    animation: glassReflection 8s infinite;
    pointer-events: none;
}

@keyframes glassReflection {

    0%,
    100% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(300%);
    }
}

.betting-area {
    display: none;
}

.play-button {
    display: none;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #ffd700;
    border-radius: 50%;
    animation: sparkle 4s infinite;
}

.particle:nth-child(odd) {
    animation-delay: -2s;
    background: #ff6b6b;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
    }
}

.hand-indicator {
    display: none;
}

.hand-type {
    display: none;
}

@media (max-width: 768px) {
    .banner {
        height: auto;
        padding: 0 15px;
    }

    .game-table {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }

    .game-title {
        font-size: 32px;
    }

    .game-subtitle {
        font-size: 16px;
    }

    .playing-card {
        width: 50px;
        height: 70px;
        margin-left: -10px;
    }

    .card-front {
        font-size: 20px;
    }

    .card-suit {
        font-size: 16px;
    }

    .odometer-digit {
        width: 60px;
        height: 90px;
    }

    .digit {
        height: 90px;
        font-size: 45px;
    }
}

@media (max-width: 576px) {

    .odometer-container {
        padding: 9px 9px;
        flex-direction: column;
    }
    .meter-container {
        padding: 0px;
    }

    .game-table {
        padding: 0 0px;
    }

    .odometer-display {
        margin: 0 0px;
    }

    .floating-chips {
        display: none;
    }

    .odometer-digit {
        width: 60px;
        height: 35px;
    }

    .banner {
        /* margin-top: 13px; */
        /* background: transparent; */
        gap: 0;
        /* border-radius: 15px; */
        margin-bottom: 25px;
        padding: 20px 0;
        height: auto;
    }

    .live-indicator {
        color: #328d49;
        font-size: 20px;
        font-weight: bold;
        margin-top: 0;
        padding: 10px 0px;
    }

    .card-deck {
        display: none;
    }

    .game-table {
        margin-top: 10px;
    }

    .flash-message {
        font-size: 18px;
        font-weight: bold;
        /* color: #0a0a0a; */
        padding: 30px 15px 15px 15px;
        border-radius: 0;
    }

    .current-date {
        font-size: 14px;
        padding: 6px;
    }
}

@media (max-width: 400px) {
    .digit-box {
        width: 40px;
        height: 60px;
        font-size: 50px;
    }
    .live-indicator {
        font-size: 17px;
    }
}