    /* Full-page popup styles for banned users */
        .full-page-popup {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
            color: #fff;
            padding: 20px;
            box-sizing: border-box;
            z-index: 10000;
            align-items: center;
            justify-content: center;
            text-align: center;
        }
        .full-page-popup-content {
            max-width: 600px;
            background-color: #222;
            padding: 30px;
            border-radius: 10px;
        }
        .full-page-popup-content h2 {
            margin-bottom: 20px;
            font-size: 2em;
        }
        .popup-button {
            background-color: #ff0000;
            color: #fff;
            padding: 10px 20px;
            margin-top: 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1.2em;
        }
        .popup-button:hover {
            background-color: #cc0000;
        }
        .contact-button {
            background-color: #007bff;
            color: #fff;
            padding: 10px 20px;
            margin-top: 20px;
            margin-left: 10px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1.2em;
        }
        .contact-button:hover {
            background-color: #0056b3;
        }
        body.locked {
            overflow: hidden;
            pointer-events: none;
        }
        .locked .full-page-popup {
            pointer-events: auto;
        }
        /* Modern Notice Popup with Glassmorphism */
        .popup {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            z-index: 10000;
            opacity: 0;
            animation: fadeIn 0.3s ease forwards;
        }

        .popup.show {
            opacity: 1;
        }

        .popup-container {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.7);
            width: 85%;
            max-width: 400px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            animation: popupSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
            overflow: hidden;
        }

        .popup-header {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
            padding: 20px 25px 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .popup-header h2 {
            margin: 0;
            font-size: 1.4em;
            font-weight: 700;
            color: #fff;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .popup-header h2::before {
            content: 'ðŸ””';
            font-size: 1.2em;
            animation: bell 2s ease-in-out infinite;
        }

        .close-btn {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #fff;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 1.2em;
            font-weight: bold;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .close-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: rotate(90deg) scale(1.1);
            box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
        }

        .popup-content {
            padding: 25px;
            color: #fff;
            line-height: 1.6;
            font-size: 0.95em;
            max-height: 300px;
            overflow-y: auto;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        }

        .popup-content::-webkit-scrollbar {
            width: 6px;
        }

        .popup-content::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 3px;
        }

        .popup-content::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.3);
            border-radius: 3px;
        }

        .popup-content::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.5);
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes popupSlideIn {
            0% {
                transform: translate(-50%, -50%) scale(0.7);
                opacity: 0;
            }
            100% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 1;
            }
        }

        @keyframes popupSlideOut {
            0% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 1;
            }
            100% {
                transform: translate(-50%, -50%) scale(0.7);
                opacity: 0;
            }
        }

        @keyframes bell {
            0%, 50%, 100% { transform: rotate(0deg); }
            10%, 30% { transform: rotate(-10deg); }
            20%, 40% { transform: rotate(10deg); }
        }

        .popup.closing .popup-container {
            animation: popupSlideOut 0.3s ease forwards;
        }
        /* Other page styles */
        * {
            outline: none;
            -webkit-tap-highlight-color: transparent;
            user-select: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        a {
            text-decoration: none;
            color: inherit;
            -webkit-touch-callout: none;
            -ms-touch-action: manipulation;
            touch-action: manipulation;
        }

        /* Font-face declarations */
        @font-face {
            font-family: 'HindSiliguri-Medium';
            src: url('font/HindSiliguri-Medium.ttf') format('truetype');
        }

        @font-face {
            font-family: 'HindSiliguri-Bold';
            src: url('font/HindSiliguri-Bold.ttf') format('truetype');
        }

        @font-face {
            font-family: 'LEMONMILK-Regular';
            src: url('./font/LEMONMILK-Regular.otf') format('truetype');
        }

        @font-face {
            font-family: 'FaRegular';
            src: url('font/fa-regular-400.ttf') format('truetype');
        }

        @font-face {
            font-family: 'FaBrands';
            src: url('font/fa-brands-400.ttf') format('truetype');
        }

        @font-face {
            font-family: 'BebasNeue';
            src: url('font/BebasNeue-Regular.otf') format('opentype');
        }
.banner-slider {
            margin: 10px 0;
            position: relative;
            width: 100%;
            height: 150px;
            overflow: hidden;
            border-radius: 15px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
            border: 2px solid rgba(255, 255, 255, 0.1);
        }
        .click-effect:active {
            transform: scale(0.95);
            transition: transform 0.2s ease;
        }
        .slider-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none; /* Prevent all from being clickable by default */
}
.slider-image.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto; /* Only the active one can be clicked */
}
        .slider-image:not(.active) {
            opacity: 0;
        }
        .dot {
            display: inline-block;
            width: 10px;
            height: 10px;
            margin: 0 5px;
            background-color: #bbb;
            border-radius: 50%;
            cursor: pointer;
        }
        .dot.active {
            background-color: gold;
        }
        .scroll-container {
            width: 97%;
            overflow: hidden;
            background: linear-gradient(135deg, #0f172e 0%, #1a1f3a 100%);
            margin-top: 8px;
            padding: 8px;
            position: relative;
            font-family: 'HindSiliguri-Medium', Arial, sans-serif;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            border: 1px solid rgba(255, 215, 0, 0.2);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }
        .scroll-text {
            display: inline-block;
            white-space: nowrap;
            animation: scroll-text 15s linear infinite;
            color: yellow;
            
            font-weight: bold;
            padding-left: 100px; /* Add padding to ensure text is visible */
        }
        .scroll-title {
            position: absolute;
            left: 0px;
            font-weight: bold;
            color: yellow;
            background-color: #0f172e; /* Background color for the notice */
            padding: 5px 10px;
            border-radius: 3px;
            z-index: 2; /* Ensure the notice stays on top */
        }
        @keyframes scroll-text {
            from {
                transform: translateX(60%);
            }
            to {
                transform: translateX(-100%);
            }
        }
        a {
            text-decoration: none; /* Remove underline */
            color: inherit; /* Inherit text color from parent */
        }
        a:hover {
            text-decoration: none; /* Remove underline on hover */
        }
        .vip img {
            height: 25px;
        }
        .vip {
            margin-left: 40px;
            display: flex;
            align-items: center;
            background-color: #222;
            padding: 4px 8px;
            border-radius: 10px;
        }
        main {
            padding: 1px;
            background-color: #1E2538;
            margin-top: 15px;
            margin-right: 10px;
            margin:13px;
            margin-left: 10px;
            border-radius: 3px;
        }
             .games-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            margin: 0;
            padding: 0 4px;
        }

        .game-card {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 16px;
            padding: 0;
            border: 1px solid rgba(255, 255, 255, 0.15);
            text-align: center;
            transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
            position: relative;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
            aspect-ratio: 1;
            width: 100%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

        .game-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            border-color: rgba(255, 215, 0, 0.5);
        }

        .game-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
            border-radius: 16px;
            z-index: 1;
        }

        .game-card:hover::before {
            background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
        }

        .game-card-icon {
            display: none;
        }

        .game-overlay {
            display: none;
        }

        .game-info {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 15px 12px;
            z-index: 2;
        }

        .game-info h3 {
            font-size: 1em;
            font-weight: 700;
            margin-bottom: 6px;
            color: #fff;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
            drop-shadow: 0 1px 2px rgba(0, 0, 0, 1);
        }

        .game-info p {
            font-size: 0.75em;
            color: rgba(255, 255, 255, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            margin: 0;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
        }

        .game-info p i {
            color: #ffd700;
            font-size: 0.9em;
        }

        .game-card:active {
            transform: scale(0.97);
        }

        .game-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #ffd700, #ffaa00);
            opacity: 0;
            transition: opacity 0.3s;
        }

        .game-card:active::before { opacity: 1; }

        .game-card-icon {
            width: 55px;
            height: 55px;
            border-radius: 14px;
            margin: 0 auto 10px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .game-card-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .game-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            padding: 6px 10px;
            border-radius: 12px;
            font-size: 0.65em;
            font-weight: 700;
            text-transform: uppercase;
            z-index: 3;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
        }

        .badge-hot {
            background: linear-gradient(135deg, #ff416c, #ff4b2b);
            color: #fff;
        }

        .badge-new {
            background: linear-gradient(135deg, #11998e, #38ef7d);
            color: #fff;
        }

        .badge-pro {
            background: linear-gradient(135deg, #f7931e, #ff6b35);
            color: #fff;
        }

        /* Featured Game Section */
        .featured-game-container {
            margin: 8px 0;
            padding: 0 4px;
        }

        .game-card-featured {
            display: flex;
            align-items: center;
            padding: 0;
            gap: 0;
            text-align: left;
            background: linear-gradient(135deg, rgba(51, 51, 153, 0.4) 0%, rgba(26, 26, 74, 0.6) 100%);
            border: 1px solid rgba(51, 51, 153, 0.5);
            border-radius: 16px;
            overflow: hidden;
            position: relative;
            box-shadow: 0 10px 30px rgba(51, 51, 153, 0.3);
            transition: all 0.4s ease;
        }

        .game-card-featured:hover {
            transform: translateY(-5px) scale(1.01);
            box-shadow: 0 15px 40px rgba(51, 51, 153, 0.4);
        }

        .featured-icon {
            width: 70px;
            height: 70px;
            flex-shrink: 0;
            overflow: hidden;
            margin: 12px;
            border-radius: 10px;
        }

        .featured-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .featured-content {
            flex: 1;
            padding: 12px 8px;
        }

        .featured-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 5px;
        }

        .featured-content h3 {
            font-size: 1.1em;
            font-weight: 700;
            color: #fff;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .featured-content h3 i {
            color: #ffd700;
        }

        .featured-badge {
            background: linear-gradient(135deg, #ffd700, #ffaa00);
            color: #000;
            padding: 3px 8px;
            border-radius: 8px;
            font-size: 0.6em;
            font-weight: 800;
            text-transform: uppercase;
        }

        .featured-content p {
            font-size: 0.8em;
            color: rgba(255, 255, 255, 0.8);
            margin: 0;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .play-btn {
            background: linear-gradient(135deg, #ffd700, #ffaa00);
            color: #000;
            padding: 10px 15px;
            border-radius: 0 16px 16px 0;
            font-size: 0.8em;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 5px;
            height: 100%;
            min-height: 94px;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .play-btn:hover {
            background: linear-gradient(135deg, #ffaa00, #ffd700);
        }

        /* Weekly Banner */
        .weekly-banner {
            display: block;
            margin-top: 12px;
            background: linear-gradient(135deg, #ffd700 0%, #ff6b35 100%);
            border-radius: 14px;
            padding: 16px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
        }

        .weekly-banner::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 100%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
            animation: shimmer 3s infinite;
        }

        @keyframes shimmer {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .weekly-banner-content {
            display: flex;
            align-items: center;
            gap: 14px;
            position: relative;
            z-index: 1;
        }

        .weekly-banner-icon {
            width: 55px;
            height: 55px;
            border-radius: 14px;
            overflow: hidden;
            flex-shrink: 0;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        }

        .weekly-banner-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .weekly-banner-info {
            flex: 1;
        }

        .weekly-banner-info h3 {
            font-size: 1em;
            font-weight: 800;
            color: #000;
            margin-bottom: 4px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .weekly-banner-info p {
            font-size: 0.7em;
            color: rgba(0,0,0,0.7);
        }

        .weekly-banner-btn {
            background: #000;
            color: #ffd700;
            padding: 10px 16px;
            border-radius: 10px;
            font-size: 0.75em;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .weekly-banner:active {
            transform: scale(0.98);
        }

        /* Section Header Styling */
        .section-header {
            margin: 20px 0 15px 0;
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .section-header h2 {
            font-size: 1.5em;
            font-weight: 700;
            color: #fff;
            margin: 0;
            padding: 12px 20px;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 25px;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }

        .section-title {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin: 15px 0;
            font-size: 1.3em;
            font-weight: 600;
            color: #fff;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
        }

        .section-title i {
            color: #ffd700;
            font-size: 1.2em;
        }

        /* Enhanced Responsive Design */
        @media (max-width: 480px) {
            .popup-container {
                width: 90%;
                max-width: none;
            }
            
            .popup-header h2 {
                font-size: 1.2em;
            }
            
            .popup-content {
                padding: 20px;
                font-size: 0.9em;
            }
            
            .games-grid {
                gap: 10px;
                margin: 0;
            }
            
            .game-card {
                aspect-ratio: 1;
                border-radius: 14px;
            }
            
            .game-info {
                padding: 10px 8px;
            }
            
            .game-info h3 {
                font-size: 0.85em;
            }
            
            .game-info p {
                font-size: 0.65em;
            }
            
            .featured-icon {
                width: 60px;
                height: 60px;
                margin: 10px;
            }
            
            .featured-content {
                padding: 12px 8px;
            }
            
            .featured-content h3 {
                font-size: 1em;
            }
            
            .play-btn {
                padding: 10px 14px;
                font-size: 0.8em;
                min-height: 80px;
            }
            
            .section-header h2 {
                font-size: 1.3em;
                padding: 10px 15px;
            }
            
            .main-content {
                padding: 10px;
            }
            
            .game-badge {
                top: 6px;
                right: 6px;
                padding: 3px 6px;
                font-size: 0.55em;
            }
        }

        @media (max-width: 320px) {
            .game-card {
                aspect-ratio: 1;
                border-radius: 12px;
            }
            
            .game-info {
                padding: 8px 6px;
            }
            
            .game-info h3 {
                font-size: 0.8em;
            }
            
            .game-info p {
                font-size: 0.6em;
            }
            
            .popup-container {
                width: 95%;
            }
            
            .featured-content h3 {
                font-size: 0.95em;
            }
            
            .games-grid {
                gap: 8px;
            }
            
            .game-badge {
                top: 4px;
                right: 4px;
                padding: 2px 5px;
                font-size: 0.5em;
            }
        }
        .slider-text-container {
            background-color: #0f172e;
        }

        body {
            margin: 0;
            font-family: 'HindSiliguri-Medium', Arial, sans-serif;
            background-color: #0e0b27; /* Dark background for the entire app */
            color: white;
            display: flex;
            flex-direction: column;
            height: 100vh;
            justify-content: space-between;
        }

        .app-header {
            background: linear-gradient(135deg, #07031e 0%, #0d0a2e 100%);
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 15px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .header-content {
            display: flex;
            align-items: center;
            width: 100%;
        }

        .logo {
            height: 38px; 
            margin-left: 10px;
            border-radius: 50%;
        }

        .app-title {
            color: white;
            
            margin-left: 1em;
            font-size: 1.07em;
            flex-grow: 1;
            position: relative;
            display: inline-block;
            background: linear-gradient(90deg, #ffffff 10%, #cccccc 20%, #2a5280 30%, #ffffff 40%);
            background-size: 200% auto;
            color: transparent;
            background-clip: text;
            -webkit-background-clip: text;
            text-fill-color: transparent;
            animation: shimmer 3s linear infinite;
            font-family: 'LEMONMILK-Regular', sans-serif;
            letter-spacing: 0.5px;
        }

        @keyframes shimmer {
            0% {
                background-position: -200% 0;
            }
            100% {
                background-position: 200% 0;
            }
        }

        .wallet-icon {
            display: flex;
            align-items: center;
            padding: 5px 10px; /* Padding inside the border */
            border: 2px solid #fff; /* White border */
            border-radius: 40px; /* Rounded corners */
            background-color: #1b1a3a;
            font-size: 0.9em; /* Background color for wallet area */
            font-family: 'HindSiliguri-Medium', sans-serif;
        }

        .wallet-icon img {
            height: 20px; /* Adjust size as needed */
            margin-right: 10px; /* Space between the icon and the balance text */
        }
        .wallet-icon2 {
            display: flex;
            align-items: center;
            padding: 0px; /* Padding inside the border */
            border: 2px solid #fff; /* White border */
            border-radius: 40px; /* Rounded corners */
            background-color: ;
            margin-right: 10px;
            font-size: 0.9em; /* Background color for wallet area */
            font-family: 'HindSiliguri-Medium', sans-serif;
        }

        .wallet-icon2 img {
            height: 30px; /* Adjust size as needed */
            margin-right: 0px; /* Space between the icon and the balance text */
        }

        .balance-text {
            font-size: 1.2em; /* Adjust font size as needed */
            color: white; /* Text color */
        }

        .main-content {
            flex-grow: 1;
            padding: 15px;
            text-align: center;
            background: linear-gradient(135deg, #07031e 0%, #0d0a2e 50%, #07031e 100%);
            position: relative;
        }

        .main-content::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
                        radial-gradient(circle at 70% 80%, rgba(0, 150, 255, 0.05) 0%, transparent 50%);
            pointer-events: none;
        }

        .bottom-navigation {
            background: linear-gradient(135deg, #07031e 0%, #0d0a2e 100%);
            display: flex;
            justify-content: space-around;
            padding: 8px 0;
            position: fixed;
            width: 100%;
            bottom: 0;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
        }

        .nav-item {
            text-align: center;
            color: #ccc;
            text-decoration: none;
            font-size: 0.8.5em;
            transition: transform 0.2s ease, color 0.2s ease, opacity 0.2s ease; /* Add transition for animation */
            cursor: pointer; /* Make the nav item clickable */
            -webkit-tap-highlight-color: transparent; /* Disable tap highlight color */
            opacity: 1; /* Default fully visible */
            font-family: 'HindSiliguri-Medium', sans-serif;
        }

        .nav-item img {
            width: 22px; /* Adjust icon size */
            height: auto;
            display: block;
            margin: 0 auto 5px;
            transition: transform 0.2s ease, opacity 0.2s ease; /* Add transition for animation */
            -webkit-tap-highlight-color: transparent; /* Disable tap highlight color */
        }

        /* Active and hover states */
        .nav-item:hover, .nav-item:focus, .nav-item:active {
            transform: scale(1.1); /* Scale up the icon and text */
            color: #fff; /* Change color to white */
        }

        .nav-item:hover img, .nav-item:focus img, .nav-item:active img {
            transform: scale(1.2); /* Scale up the icon a bit more */
        }

        /* Inactive state when another button is clicked */
        .inactive {
            opacity: 0.5; /* Make other buttons faded */
        }
        /* Legacy styles removed - replaced with modern game cards */
                /* Divider style (smaller version) */
.divider {
        display: flex;
        align-items: center;
        text-align: center;
        margin: 6px 0;
        width: 100%;
    }

    .divider::before, .divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #333;
        margin: 0 10px;
    }

    .divider span {
        font-size: 18px;
        color: grey;
    }

/* Tutorial Video Section Styles */
.video-section .tutorial-video {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.4) 0%, rgba(118, 75, 162, 0.4) 100%) !important;
    border: 1px solid rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.video-section .tutorial-video:hover,
.video-section .tutorial-video:active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.6) 0%, rgba(118, 75, 162, 0.6) 100%) !important;
    transform: scale(1.02);
}

.video-section .tutorial-video h2 i {
    color: #ff6b6b;
}

.video-section .tutorial-video p i {
    color: #667eea;
}

/* Desktop / Web view - constrain to mobile-app width */
@media (min-width: 481px) {
    body {
        max-width: 480px;
        margin: 0 auto;
        position: relative;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
        overflow-x: hidden;
    }

    .app-header {
        max-width: 480px;
        width: 100%;
    }

    .bottom-navigation {
        max-width: 480px;
        left: 50%;
        transform: translateX(-50%);
    }

    .banner-slider {
        max-width: 100%;
    }

    .scroll-container {
        max-width: 100%;
    }

    .main-content {
        max-width: 100%;
    }

    .game-card {
        aspect-ratio: 1;
    }

    .popup-container {
        max-width: 400px;
    }
}