        :root {
            --primary-color: #fb3737;
            --secondary-color: #ff0000;
            --accent-color: #000000;
            --success-color: #00ffff;
            --warning-color: #0000ff;
            --danger-color: #ff00ff;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #f8fafc;
            color: #1a202c;
            line-height: 1.5;
            font-size: 14px;
        }
        
        .container {
            max-width: 620px;
            margin: 0 auto;
            position: relative;
            top: -10px;
            background: white;
            min-height: 100vh;
            box-shadow: 0 0 20px rgba(0,0,0,0.1);
        }
        
        /* Header */
        .header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 20px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
        }
        
        .logo-section {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .logo {
            display: flex;
            align-items: center;
            justify-content: center;
            background: transparent;
            padding: 0;
            border-radius: 0;
            min-width: 50px;
            min-height: 50px;
        }

        .logo img {
            display: block;
            width: 50px;
            height: auto;
            object-fit: contain;
        }
        
        .site-title {
            font-size: 22px;
            font-weight: 1000;
            color: white;
            white-space: nowrap;
            line-height: 1.1;
        }
        
        .menu-toggle {
            background: rgba(255,255,255,0.2);
            border: none;
            color: white;
            cursor: pointer;
            padding: 8px;
            border-radius: 6px;
            transition: background 0.2s;
        }
        
        .menu-toggle:hover {
            background: rgba(255,255,255,0.3);
        }
        
        .menu-toggle i {
            font-size: 16px;
        }
        
        /* Navigation */
        .nav-menu {
            display: flex;
            justify-content: space-between;
            padding: 12px 20px;
            background: white;
            border-bottom: 1px solid #e2e8f0;
            font-size: 12px;
        }
        
        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            text-decoration: none;
            color: #64748b;
            font-weight: 500;
            padding: 6px 8px;
            border-radius: 6px;
            transition: all 0.2s;
        }
        
        .nav-item i {
            font-size: 16px;
        }
        
        .nav-item:hover {
            color: var(--primary-color);
            background: #f1f5f9;
        }
        
        .nav-item.active {
            color: var(--primary-color);
            font-weight: 600;
            background: #eef2ff;
        }
        
        /* Main Content */
        .main-content {
            padding: 20px;
            background: #f8fafc;
        }
        
        .main-title {
            font-size: 24px;
            font-weight: 700;
            color: #1a202c;
            margin-top: -10px;
            margin-bottom: 16px;
            text-align: center;
        }
        
        /* Promo Section */
        .promo-section {
            background: linear-gradient(135deg, var(--accent-color), var(--success-color));
            padding: 9px 10px;
            border-radius: 10px;
            margin-top: -6px;
            margin-bottom: 14px;
            color: white;
        }
        
        .promo-text {
            font-size: 9px;
            line-height: 1.35;
            font-weight: 500;
        }
        
        /* Download Section */
        .download-title {
            font-size: 20px;
            font-weight: 700;
            color: #1a202c;
            margin-top: -8px;
            margin-bottom: 16px;
            text-align: center;
        }
        
        /* Tabs */
        .tabs {
            display: flex;
            gap: 8px;
            margin-top: -12px;
            margin-bottom: 20px;
            background: white;
            padding: 4px;
            border-radius: 8px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        
        .tab {
            flex: 1;
            padding: 10px 16px;
            text-align: center;
            border-radius: 6px;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }
        
        .tab i {
            font-size: 14px;
        }
        
        .tab.active {
            background: var(--secondary-color);
            color: white;
        }
        
        .tab:not(.active) {
            background: transparent;
            color: #64748b;
        }
        
        .tab:not(.active):hover {
            background: #f1f5f9;
            color: #374151;
        }
        
        /* Game Cards */
        .games-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        
        .game-card {
            background: white;
            border-radius: 12px;
            padding: 16px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            gap: 16px;
            position: relative;
            transition: all 0.2s;
            border: 1px solid #e2e8f0;
        }
        
        .game-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            border-color: #cbd5e1;
        }
        
        .game-number {
            position: absolute;
            left: -6px;
            top: -6px;
            background: var(--primary-color);
            color: white;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            font-weight: 600;
        }
        
        .game-icon {
            width: 50px;
            height: 50px;
            border-radius: 10px;
            flex-shrink: 0;
            overflow: hidden;
        }
        
        .game-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .game-icon-fallback {
            width: 50px;
            height: 50px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 9px;
            text-align: center;
            line-height: 1;
            flex-shrink: 0;
        }
        
        .game-info {
            flex: 1;
            min-width: 0;
        }
        
        .game-name {
            font-size: 16px;
            font-weight: 600;
            color: #1a202c;
            margin-bottom: 6px;
        }
        
        .game-details {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        
        .bonus-info, .withdraw-info {
            font-size: 11px;
            display: flex;
            align-items: center;
            gap: 6px;
            font-weight: 500;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.2;
        }
        
        .bonus-info {
            color: var(--secondary-color);
        }
        
        .bonus-info i {
            color: var(--secondary-color);
            font-size: 12px;
        }
        
        .withdraw-info {
            color: var(--accent-color);
        }
        
        .withdraw-info i {
            color: var(--accent-color);
            font-size: 12px;
        }
        
        .download-btn {
            background: var(--accent-color);
            color: white;
            border: none;
            padding: 10px 16px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 13px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.2s;
            flex-shrink: 0;
            text-decoration: none;
        }
        
        .download-btn:hover {
            background: var(--success-color);
            transform: translateY(-1px);
            color: white;
        }
        
        .download-btn:active {
            transform: translateY(0);
        }
        
        .download-btn i {
            font-size: 12px;
        }
        
        .download-btn.loading {
            background: #6b7280;
            cursor: not-allowed;
        }
        
        .download-btn.success {
            background: var(--success-color);
        }
        
        /* Loading Animation */
        .loading-spinner {
            display: inline-block;
            width: 12px;
            height: 12px;
            border: 2px solid rgba(255,255,255,.3);
            border-radius: 50%;
            border-top-color: #fff;
            /* animation: spin 1s ease-in-out infinite; */
        }
        
        /* @keyframes spin {
            to { transform: rotate(360deg); }
        } */
        
        /* Admin Link */
        .admin-link {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: var(--primary-color);
            color: white;
            padding: 12px;
            border-radius: 50%;
            text-decoration: none;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
            transition: all 0.2s;
            z-index: 1000;
        }
        
        .admin-link:hover {
            background: var(--secondary-color);
            transform: scale(1.1);
        }
        
        .admin-link i {
            font-size: 16px;
        }
        
        /* SEO Score Badge */
        .seo-score {
            position: fixed;
            bottom: 80px;
            right: 20px;
            background: #10b981;
            color: white;
            padding: 8px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
            z-index: 1000;
        }
        
        /* Empty State */
        .empty-state {
            text-align: center;
            padding: 40px 20px;
            color: #6b7280;
        }
        
        .empty-state i {
            font-size: 48px;
            margin-bottom: 15px;
            opacity: 0.5;
        }
        
        /* Responsive Design */
        @media (max-width: 620px) {
            .container {
                max-width: 100%;
                box-shadow: none;
            }
            
            .header {
                padding: 14px 16px;
            }
            
            .logo {
                width: 36px;
                height: 36px;
                font-size: 7px;
            }
            
            .site-title {
                font-size: 14px;
            }
            
            .nav-menu {
                padding: 10px 16px;
                font-size: 11px;
            }
            
            .nav-item {
                padding: 4px 6px;
            }
            
            .nav-item i {
                font-size: 14px;
            }
            
            .main-content {
                padding: 16px;
            }
            
            .main-title {
                font-size: 22px;
            }
            
            .game-card {
                padding: 14px;
                gap: 14px;
            }
            
            .game-icon,
            .game-icon-fallback {
                width: 45px;
                height: 45px;
            }
            
            .game-name {
                font-size: 15px;
            }

            .bonus-info,
            .withdraw-info {
                font-size: 10px;
                gap: 4px;
            }

            .bonus-info i,
            .withdraw-info i {
                font-size: 10px;
            }
            
            .download-btn {
                padding: 8px 14px;
                font-size: 12px;
            }
        }
        
        /* Accessibility */
        @media (prefers-reduced-motion: reduce) {
            * {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }
        
        /* Focus styles for accessibility */
        .nav-item:focus,
        .download-btn:focus,
        .tab:focus,
        .menu-toggle:focus {
            outline: 2px solid var(--primary-color);
            outline-offset: 2px;
        }
        
        /* Fade in animation */
      
        
        /* Clean scrollbar */
        ::-webkit-scrollbar {
            width: 6px;
        }
        
        ::-webkit-scrollbar-track {
            background: #f1f5f9;
        }
        
        ::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 3px;
        }
        
        ::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }
        
        /* Disable all motion project-wide */
        *, *::before, *::after {
            transition: none !important;
            animation: none !important;
            scroll-behavior: auto !important;
        }

        /* Ensure spinner does not animate but keeps its visual appearance */
        .loading-spinner {
            animation: none !important;
        }
#telegram-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background: #0088cc;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  /* transition: transform 0.2s; */
}
/* #telegram-float:hover {
  transform: scale(1.1);
} */
#telegram-float img {
  width: 30px;
  height: 30px;
}

/* Horizontal Scrolling Queries */
.keyword-cloud {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 15px 10px;
  background: #f8fafc;
  border: 1px dashed #cbd5f5;
  border-radius: 8px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.keyword-cloud::-webkit-scrollbar {
  height: 6px;
}

.keyword-cloud::-webkit-scrollbar-track {
  background: #e0e0e0;
  border-radius: 10px;
}

.keyword-cloud::-webkit-scrollbar-thumb {
  background: #cbd5f5;
  border-radius: 10px;
}

.query-badge {
  display: inline-block;
  padding: 6px 12px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: white;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(79, 70, 229, 0.3);
}

.query-badge:hover {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  box-shadow: 0 4px 8px rgba(79, 70, 229, 0.5);
  transform: translateY(-2px);
}

/* App Links Styling */
.max-w-4xl a {
  color: #4f46e5;
  text-decoration: underline;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration-color: #4f46e5;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.max-w-4xl a:hover {
  color: #7c3aed;
  text-decoration-color: #7c3aed;
}

.max-w-4xl p a,
.max-w-4xl h3 a {
  word-break: break-word;
}
