    @import url('css2-2');
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-user-select: none;
            user-select: none;
            -webkit-touch-callout: none;
        }
        body {
            font-family: 'Trebuchet MS', sans-serif;
            background:
                linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(45, 24, 16, 0.7) 100%),
                url('images/bgfifunclap.png') center/cover no-repeat;
            background-blend-mode: overlay;
            height: 100vh;
            width: 100vw;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            position: relative;
            -webkit-tap-highlight-color: transparent;
            touch-action: manipulation;
        }
        .game-container {
            width: 100%;
            height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 0.5rem;
        }
        .slot-frame {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            background:
                linear-gradient(145deg, rgba(45, 24, 16, 0.7) 0%, rgba(26, 15, 10, 0.7) 100%),
                url('images/bgfifunclap.png') center/cover no-repeat;
            background-blend-mode: overlay;
            border: 3px solid transparent;
            border-image: url('images/border-bg.png') 30 stretch;
            border-image-slice: 30;
            border-radius: 20px;
            box-shadow:
                0 10px 30px rgba(141, 17, 17, 0.7),
                inset 0 0 30px rgba(139, 69, 19, 0.2);
            position: relative;
            overflow: hidden;
        }
        .title-section {
            text-align: center;
            margin-top: -10px;
            padding: 0.5rem;
            background: url('images/title-bg.png') center/cover no-repeat;
            position: relative;
        }
        .logo-container {
            position: absolute;
            top: -10px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 15;
        }
        .logo-img {
            margin-top: 26px;
            width: clamp(400px, 70vw, 400px);
            height: auto;
            display: block;
        }
        .slot-frame::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="rgba(212,175,55,0.1)"/></svg>');
            opacity: 0.3;
            pointer-events: none;
        }
        .decorative-frame {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            pointer-events: none;
            z-index: 10;
        }
        .reels-section {
            flex: 1;
            margin-top: -30px;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0.5rem 0.5rem 0.1rem;
            position: relative;
        }
        .reels-container {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: clamp(0.2rem, 0.6vw, 0.6rem);
            background: url('images/board.png') center/cover no-repeat;
            padding: clamp(0.3rem, 1vw, 0.8rem);
            border-radius: 20px;
            box-shadow:
                inset 0 0 30px rgba(0, 0, 0, 0.7),
                0 5px 20px rgba(0, 0, 0, 0.4);
            width: 100%;
            max-width: 760px;
        }
        .reel-column {
            display: flex;
            flex-direction: column;
            gap: clamp(0.15rem, 0.3vw, 0.3rem);
            min-width: 0;
        }
        .symbol-cell {
            aspect-ratio: 1;
            width: 100%;
            height: clamp(50px, 12vw, 70px);
            background-blend-mode: overlay;
            border-radius: 1000px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
            transition: all 0.2s ease;
            pointer-events: none;
        }
        .symbol-cell img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            display: block;
            z-index: 1;
        }
        .symbol-cell::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
            opacity: 0;
            transition: opacity 0.2s ease;
            z-index: 0;
        }
        .symbol-cell:hover::before {
            opacity: 1;
        }
.symbol-cell.winning {
    animation: winGlow 1.2s ease-in-out infinite;

    border-radius: 80% 80% 80% 80%;

    box-shadow: 0 0 25px rgba(0, 0, 0, 0.8);
    transform-origin: center;
}

@keyframes winGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 0 20px rgba(255, 0, 150, 0.5),
            0 0 40px rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow:
            0 0 35px rgba(255, 0, 150, 0.9),
            0 0 60px rgba(255, 255, 255, 0.5);
    }
}



@keyframes winGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.6),
                    0 0 40px rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 35px rgba(0, 0, 0, 0.9),
                    0 0 60px rgba(255, 255, 255, 0.5);
    }
}

.symbol-cell.spinning {
    animation: spinBlur 0.4s linear infinite;
    transform-origin: center;
}

@keyframes spinBlur {
    0% {
        transform: rotate(0deg) scale(1);
        filter: blur(0.5px) brightness(1);
    }
    50% {
        transform: rotate(180deg) scale(1.05);
        filter: blur(1px) brightness(1.2);
    }
    100% {
        transform: rotate(360deg) scale(1);
        filter: blur(0.5px) brightness(1);
    }
}

        .control-panel {
            background:
               black;
            background-blend-mode: overlay;
            border-radius: 0 0 15px 15px;
            padding: clamp(0.2rem, 0.6vw, 0.4rem);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.3rem;
            box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.4);
            width: 100%;
            max-height: 110px;
            margin-top: -0.7rem;
            z-index: 20;
        }
        .info-display {
            display: flex;
            flex-wrap: wrap;
            margin-top: -35px;
            justify-content: center;
            gap: clamp(0.2rem, 0.6vw, 0.5rem);
            width: 100%;
            padding: 0.2rem;
        }
        .info-item {
            flex: 1 1 60px;
            display: flex;
            flex-direction: column;
            align-items: center;
            min-width: 55px;
            border-radius: 8px;
            padding: 0.2rem;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
            pointer-events: none;
        }
        .info-item:nth-child(1) {
            background:
                linear-gradient(135deg, rgba(45, 24, 16, 0.7) 0%, rgba(26, 15, 10, 0.7) 100%),
                url('images/but.png') center/cover no-repeat;
            background-blend-mode: overlay;
        }
        .info-item:nth-child(2) {
            background:
                linear-gradient(135deg, rgba(45, 24, 16, 0.6) 0%, rgba(26, 15, 10, 0.6) 100%),
                url('images/but.png') center/cover no-repeat;
            background-blend-mode: overlay;
        }
        .info-item:nth-child(3) {
            background:
                linear-gradient(135deg, rgba(45, 24, 16, 0.65) 0%, rgba(26, 15, 10, 0.65) 100%),
                url('images/but.png') center/cover no-repeat;
            background-blend-mode: overlay;
        }
        .info-item:nth-child(4) {
            background:
                linear-gradient(135deg, rgba(45, 24, 16, 0.7) 0%, rgba(26, 15, 10, 0.7) 100%),
                url('images/but.png') center/cover no-repeat;
            background-blend-mode: overlay;
        }
        .info-item:nth-child(5) {
            background:
                linear-gradient(135deg, rgba(45, 24, 16, 0.6) 0%, rgba(26, 15, 10, 0.6) 100%),
                url('images/but.png') center/cover no-repeat;
            background-blend-mode: overlay;
        }
        .info-item:nth-child(6) {
            background:
                linear-gradient(135deg, rgba(45, 24, 16, 0.65) 0%, rgba(26, 15, 10, 0.65) 100%),
                url('images/but.png') center/cover no-repeat;
            background-blend-mode: overlay;
        }
        .info-label {
            font-family: 'Trebuchet MS', sans-serif;
            font-size: clamp(0.8rem, 1.2vw, 1.4rem);
            color: #ffd000;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 0.2rem;
            font-weight: 600;
        }
        .info-value {
            font-family: 'Trebuchet MS', sans-serif;
            font-size: clamp(0.8rem, 1.2vw, 1rem);
            background: linear-gradient(to right, #ff0000, #fa0000);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            font-weight: 900;
            letter-spacing: 1px;
        }
  .message-display {
    font-family: 'Trebuchet MS', sans-serif;
    flex: 1 1 100%;
    text-align: center;
    font-size: clamp(1.2rem, 5.1vw, 2rem); /* 🔹 Larger text */
    background-blend-mode: overlay;
    color: #000000;
    font-weight: 800; /* 🔹 Slightly bolder */
    text-shadow:
        0 0 10px rgba(255, 255, 0, 0.7),
        0 0 20px rgba(255, 215, 0, 0.5);
    min-height: 1.5rem;
    letter-spacing: 1.5px;
    padding: 0.4rem 0.6rem;
    border-radius: 10px;
    margin-top: -105px; /* 🔹 Moves slightly higher */
    pointer-events: none;
    transition: all 0.3s ease; /* Smooth scaling if needed */
}

        .controls-group {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: clamp(0.3rem, 0.8vw, 0.6rem);
            width: 100%;
            margin-top: -10px;
            z-index: 30;
        }
        .control-btn {
            width: clamp(40px, 6.5vw, 50px); /* Reduced size */
            height: clamp(40px, 6.5vw, 50px); /* Reduced size */
            border-radius: 50%;
            border: 2px solid #D4AF37;
            background: linear-gradient(135deg, #2d1810 0%, #1a0f0a 100%);
            color: #D4AF37;
            font-size: clamp(0.7rem, 1.2vw, 0.9rem); /* Adjusted font size */
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
            touch-action: manipulation;
            pointer-events: auto;
            z-index: 30;
        }
        .control-btn:hover {
            background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
            color: #1a0f0a;
            transform: translateY(-1px);
            box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
        }
        .control-btn:active {
            transform: translateY(0);
        }
        .spin-btn {
            width: clamp(50px, 8.5vw, 65px); /* Reduced size */
            height: clamp(50px, 8.5vw, 65px); /* Reduced size */
            border-radius: 50%;
            background: url('images/spin.png') center/cover no-repeat;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: clamp(1rem, 2vw, 1.4rem); /* Adjusted font size */
            z-index: 30;
            touch-action: manipulation;
            pointer-events: auto;
        }
        .spin-btn:hover {
            transform: scale(1.05);
        }
        .spin-btn:active {
            transform: scale(1);
        }
        .spin-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            pointer-events: none;
        }
        .bet-controls {
            display: flex;
            gap: 0.4rem;
            align-items: center;
            z-index: 30;
        }
        .bet-amount-btn {
            width: clamp(40px, 6.5vw, 50px); 
            height: clamp(40px, 6.5vw, 50px); 
            border-radius: 50%;
            border: 2px solid #4a2c70;
            background: linear-gradient(135deg, #2d1810 0%, #1a0f0a 100%);
            color: #D4AF37;
            font-size: clamp(0.7rem, 1.2vw, 0.9rem);
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
            touch-action: manipulation;
            pointer-events: auto;
            z-index: 30;
        }
        .bet-amount-btn:hover {
            background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
            color: #1a0f0a;
            transform: translateY(-1px);
            box-shadow: 0 4px 15px rgba(212, 175, 55, 0.5);
        }
        .bet-amount-btn.active {
            background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
            color: #1a0f0a;
        }
        .fullscreen-btn {
            position: fixed;
            top: 0.5rem;
            right: 0.5rem;
            width: 48px;
            height: 48px;
            border-radius: 6px;
            border: 2px solid #D4AF37;
            background: rgba(26, 15, 10, 0.9);
            color: #D4AF37;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            touch-action: manipulation;
            pointer-events: auto;
        }
        .fullscreen-btn:hover {
            background: #D4AF37;
            color: #1a0f0a;
            transform: scale(1.05);
        }
        .confetti {
            position: fixed;
            width: 6px;
            height: 6px;
            background: #D4AF37;
            animation: confettiFall 2.5s linear forwards;
            pointer-events: none;
            z-index: 1000;
        }
        @keyframes confettiFall {
            to {
                transform: translateY(100vh) rotate(720deg);
                opacity: 0;
            }
        }
        audio {
            display: none;
        }
        .line-indicators,
        .line-indicators-left,
        .line-indicators-right,
        .line-btn {
            display: none !important;
        }
        @media (max-width: 768px) {
            .game-container {
                padding: 0.3rem;
            }
            .slot-frame {
                padding: 0.3rem;
                border-radius: 15px;
            }
            .reels-section {
                margin-top: -100px;
                padding: 0.3rem 0.3rem 0.05rem;
            }
            .reels-container {
                max-width: 100%;
                padding: 0.3rem;
            }
            .symbol-cell {
                height: clamp(45px, 11vw, 65px); /* Adjusted for 4 rows */
            }
            .control-panel {
                max-height: 110px;
                padding: 0.2rem;
                margin-top: -0.5rem;
            }
            .info-display {
                gap: 0.2rem;
                margin-top: -230px;
            }
            .info-item {
                min-width: 50px;
                padding: 0.15rem;
            }
            .info-label {
                font-size: clamp(0.6rem, 1vw, 0.8rem);
            }
            .info-value {
                font-size: clamp(0.7rem, 1.1vw, 0.9rem);
            }
            .message-display {
                font-size: clamp(0.55rem, 0.9vw, 0.75rem);
                min-height: 0.9rem;
                margin-top: auto;
                margin-bottom: 0.2rem;
            }
            .controls-group {
                gap: 0.3rem;
            }
            .control-btn, .bet-amount-btn {
                width: clamp(40px, 5.5vw, 45px); /* Adjusted for smaller screens */
                height: clamp(40px, 5.5vw, 45px); /* Adjusted for smaller screens */
                font-size: clamp(0.6rem, 1vw, 0.8rem);
            }
            .spin-btn {
                width: clamp(45px, 7.5vw, 55px); /* Adjusted for smaller screens */
                height: clamp(45px, 7.5vw, 55px); /* Adjusted for smaller screens */
                font-size: clamp(0.9rem, 1.6vw, 1.2rem);
            }
            .logo-img {
                width: clamp(80px, 18vw, 120px);
            }
        }
        @media (max-width: 480px) {
            .reels-section {
                margin-top: -120px;
                padding: 0.3rem 0.3rem 0rem;
            }
            .reels-container {
                max-width: 100%;
                padding: 0.3rem;
            }
            .symbol-cell {
                height: clamp(40px, 10vw, 60px); /* Adjusted for 4 rows */
            }
            .control-panel {
                max-height: 100px;
                padding: 0.15rem;
                margin-top: 0.7rem;

            }
            .info-item {
                min-width: 45px;
                padding: 0.1rem;
            }
            .info-label {
                font-size: clamp(0.5rem, 0.8vw, 0.7rem);
            }
            .info-value {
                font-size: clamp(0.6rem, 1vw, 0.8rem);
            }
         .message-display {
    font-size: clamp(0.9rem, 3vw, 1.2rem); /* 🔹 Bigger and more readable */
    min-height: 1.2rem; /* 🔹 Taller for spacing */
    margin-top: -0.4rem; /* 🔹 Moves slightly upward */
    margin-bottom: 0.3rem; /* 🔹 Balanced bottom gap */
    text-shadow:
        0 0 8px rgba(255, 255, 0, 0.6),
        0 0 15px rgba(255, 215, 0, 0.4); /* 🔹 Slight glow for visibility */
}

            .control-btn, .bet-amount-btn {
                width: clamp(35px, 5vw, 40px); /* Adjusted for smaller screens */
                height: clamp(35px, 5vw, 40px); /* Adjusted for smaller screens */
                font-size: clamp(0.5rem, 0.9vw, 0.7rem);
            }
            .spin-btn {
                width: clamp(40px, 7vw, 50px); /* Adjusted for smaller screens */
                height: clamp(40px, 7vw, 50px); /* Adjusted for smaller screens */
                font-size: clamp(0.8rem, 1.5vw, 1.1rem);
            }
            .logo-img {
                width: clamp(60px, 15vw, 100px);
            }
        }
        @media (max-width: 480px) {
    .logo-container {
        top: 90px; /* 🔹 Thoda niche for better alignment */
        left: 50%;
        transform: translateX(-50%);
    }

    .logo-img {
        margin-top: 18px; /* 🔹 Less top margin */
        width: clamp(120px, 45vw, 180px); /* 🔹 Smaller for mobile screens */
        height: auto;
    }
}

