    @import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
    body {
      font-family: 'Inter', sans-serif;
      background-color: #161d25;
      color: #ffffff;
      padding-bottom: 5rem;
      overflow-x: hidden;
    }

    @media (min-width: 768px) {
      body {
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #0d1520;
      }
      body > * {
        width: 100%;
        max-width: 480px;
      }
    }

    /* =========================================================================
       HEADER — TRULY FIXED ON ALL SCREEN SIZES
       Tailwind's `sticky top-0` can scroll away on mobile browsers (especially
       when the address bar appears/disappears). Force position:fixed everywhere
       so the header never moves.
       On desktop (≥768px) it is also centred to match the 480px body column.
    ========================================================================= */
    header.sticky {
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      width: 100% !important;
      z-index: 99999 !important;
    }

    @media (min-width: 768px) {
      header.sticky {
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 100% !important;
        max-width: 480px !important;
      }
    }

    /* Push page content down so it isn't hidden under the fixed header */
    body {
      padding-top: 56px;
    }
    
    .text-rajagold { color: #ffc107; }
    .bg-rajagold { background-color: #ffc107; }
    
    .scroll-container::-webkit-scrollbar {
      display: none;
    }
    .scroll-container {
      -ms-overflow-style: none;
      scrollbar-width: none;
      width: 100%;
    }
    
    .rounded-3px {
      border-radius: 3px;
    }
    
    .glass-black-header {
      background-color: #232B35;
      border-radius: 3px;
    }
    
    .dot {
      width: 0.75rem;
      height: 0.375rem;
      background-color: #9ca3af;
      transition: all 300ms ease;
      cursor: pointer;
    }
    
    .dot.active {
      width: 3.25rem;
      height: 0.375rem;
      background-color: #ffc107;
      border: 1px solid #ffdb58;
      box-shadow: 0 0 5px rgba(255, 193, 7, 0.5);
    }
    
    /* =========================================================================
    SLIDE UP PAGES - FIXED: NO GAP BETWEEN HEADER AND POPUP
    ========================================================================= */
    .slide-up-page {
      position: fixed;
      top: 56px;
      left: 0;
      width: 100%;
      bottom: 70px; /* Anchored directly to the footer's top edge instead of a
        calculated height — calc(100dvh - 56px - 71px) could come up a few
        pixels short during the mobile browser's address-bar show/hide
        animation, leaving a thin gap where the page underneath (e.g. the
        homepage banner/dots) would flash through right above the footer.
        Pinning both top and bottom removes that gap entirely. */
      background-color: #1A2C38;
      z-index: 1500;
      overflow-y: auto;
      display: none;
      -webkit-overflow-scrolling: touch;
      box-sizing: border-box;
      transform: translateY(100%);
      transition: transform 0.3s ease;
      margin: 0;
      padding: 0;
    }

    @media (min-width: 768px) {
      .slide-up-page {
        left: 50%;
        transform: translateX(-50%) translateY(100%);
        width: 480px;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.5);
      }
      .slide-up-page.active {
        transform: translateX(-50%) translateY(0);
      }
    }
    
    .slide-up-page.active {
      display: block;
      transform: translateY(0);
    }
    
    .slide-up-content {
      box-sizing: border-box;
      padding: 0;
      margin: 0;
    }
    
    /* =========================================================================
    LIVE STREAM CHAT STYLES (FROM index (1).html)
    ========================================================================= */
    .chat-container {
      width: 100%;
      height: 100%;
      background-color: #1A2C38;
      display: flex;
      flex-direction: column;
      position: relative;
      overflow: hidden;
    }

    /* Header with SVG Icon */
    .chat-header {
      padding: 12px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      color: #ffffff;
      border-bottom: 2px solid #0F212E;
      z-index: 20;
      background-color: #1A2C38;
    }

    .country-selector {
      display: flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      padding: 4px 8px;
      border-radius: 4px;
      transition: background 0.2s;
    }

    .country-selector:hover { background: #2a414f; }

    .chevron-icon {
      width: 12px;
      height: 12px;
      fill: #b1bad3;
    }

    /* Message Stream */
    .chat-flow {
      flex: 1;
      min-height: 0;
      padding: 10px;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .msg-card {
      background-color: #213743;
      padding: 10px 14px;
      border-radius: 4px;
      font-size: 0.88rem;
      color: #b1bad3;
      animation: popIn 0.1s ease-out;
    }

    @keyframes popIn {
      from { opacity: 0; transform: scale(0.98); }
      to { opacity: 1; transform: scale(1); }
    }

    .username {
      font-weight: 700;
      color: #557086;
      margin-right: 4px;
    }

    .star { color: #59e3ff; font-size: 0.8rem; margin-right: 2px; }
    
    .mention {
      color: #fff;
      background: rgba(255, 255, 255, 0.1);
      padding: 1px 4px;
      border-radius: 3px;
      font-weight: 500;
    }

    /* Pause Overlay */
    .pause-notice {
      position: absolute;
      bottom: 130px;
      left: 50%;
      transform: translateX(-50%);
      background: #111e29;
      color: white;
      padding: 10px 22px;
      border-radius: 25px;
      font-size: 0.8rem;
      font-weight: 600;
      display: none;
      z-index: 100;
      cursor: pointer;
      border: 1px solid #2f4553;
      box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    }

    /* Footer */
    .chat-footer {
      flex-shrink: 0;
      padding: 10px 16px 12px;
      background-color: #1A2C38;
      border-top: 1px solid #0F212E;
    }

    .input-wrapper {
      background-color: #0F212E;
      border: 1px solid #2f4553;
      border-radius: 4px;
      display: flex;
      align-items: center;
      padding: 8px 12px;
      gap: 8px;
    }

    .input-wrapper input {
      background: transparent;
      border: none;
      color: white;
      flex: 1;
      outline: none;
      font-size: 0.95rem;
    }

    .footer-controls {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .online-count {
      color: #b1bad3;
      font-size: 0.8rem;
      display: flex;
      align-items: center;
      letter-spacing: 0.3px;
    }

    .online-dot {
      height: 8px;
      width: 8px;
      background-color: #00e701;
      border-radius: 50%;
      margin-right: 8px;
      box-shadow: 0 0 8px #00e701;
    }

    .send-btn {
      background-color: #00e701;
      color: #000;
      border: none;
      padding: 8px 14px;
      border-radius: 4px;
      font-weight: 800;
      font-size: 0.85rem;
      cursor: pointer;
      flex-shrink: 0;
      white-space: nowrap;
      transition: opacity 0.2s;
    }

    .send-btn:active { opacity: 0.8; }
    
    /* UPDATED BROWSE PAGE STYLES - REPLACED WITH SIDEBAR DESIGN */
    .browse-sidebar {
      width: 100%;
      display: flex;
      flex-direction: column;
      padding: 0 0 1rem 0;
      background-color: #1A2C38;
      min-height: calc(100vh - 56px);
      overflow-x: hidden;
    }

    .browse-nav-link {
      display: flex;
      align-items: center;
      padding: 6px 1rem;
      text-decoration: none;
      margin-bottom: 2px;
      cursor: pointer;
    }

    .browse-icon-container {
      width: 32px;
      height: 30px;
      background-color: #243d4d;
      border-radius: 4px;
      display: flex;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
      justify-content: center;
      align-items: center;
      margin-right: 14px;
    }

    .browse-nav-text {
      color: #ffffff;
      font-size: 14px;
      font-weight: 600;
      letter-spacing: 0.5px;
    }

    .browse-active .browse-icon-container {
      background-color: #f5b500;
    }
    .browse-active .browse-nav-text {
      color: #f5b500;
    }

    .browse-aviator-row {
      padding: 15px 1rem;
      display: flex;
      align-items: center;
      justify-content: flex-start;
    }

    .browse-aviator-icon {
      width: 120px;
      height: auto;
      object-fit: contain;
    }

    .browse-card-button {
      background-color: #243d4d;
      margin-top: 8px;
      margin-left: 1rem;
      margin-right: 1rem;
      padding: 16px 12px;
      border-radius: 4px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid #1e3a4a;
      cursor: pointer;
      width: calc(100% - 2rem);
    }

    .browse-card-label {
      display: flex;
      align-items: center;
      color: #f0f0f0;
      font-size: 14px;
    }

    .browse-card-label img {
      width: 22px;
      margin-right: 12px;
    }

    .browse-chevron {
      border: solid #5c6c79;
      border-width: 0 2px 2px 0;
      display: inline-block;
      padding: 3px;
      transform: rotate(-45deg);
    }

    .browse-homepage-icon,
    .browse-cricket-icon,
    .browse-live-betting-icon,
    .browse-casino-icon,
    .browse-live-casino-icon,
    .browse-promotions-icon,
    .browse-lottery-icon {
      width: 19px;
      height: 19px;
      object-fit: contain;
    }
    .browse-homepage-icon {
      width: 23px !important;
      height: 20px !important;
    }
    .browse-live-betting-icon {
      width: 23px !important;
      height: 16px !important;
    }
    
    .hide-scrollbar::-webkit-scrollbar { display: none; }
    .browse-faq-icon {
      width: 22px;
      height: 22px;
      margin-right: 12px;
    }
    
    .browse-mobile-icon {
      width: 22px;
      height: 22px;
      margin-right: 12px;
    }

    .browse-card-button--wide {
      width: calc(100% - 2rem) !important;
      margin-left: 1rem !important;
      margin-right: 1rem !important;
      padding: 16px 12px !important;
      border-radius: 4px !important;
      box-sizing: border-box !important;
    }

    .browse-footer-links {
      margin-top: 30px;
      padding-top: 20px;
      padding-left: 1rem;
      padding-right: 1rem;
      border-top: 1px solid rgba(255,255,255,0.1);
    }

    .browse-footer-link {
      display: block;
      color: #a0a8b0;
      font-size: 15px;
      text-decoration: none;
      padding: 8px 0;
      cursor: pointer;
      transition: color 0.2s;
      line-height: 1.4;
    }

    .browse-footer-link:hover {
      color: #f0f0f0;
    }

    .browse-footer-link:active {
      color: #f5b500;
    }

    .browse-footer-section {
      margin-bottom: 10px;
    }

    .browse-social-media {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin: 25px 0;
    }

    .browse-social-icon {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #243d4d;
      color: #ffffff;
      text-decoration: none;
      transition: all 0.3s ease;
      cursor: pointer;
      font-size: 1.1em;
    }

    .browse-social-icon:hover {
      background-color: #f5b500;
      transform: translateY(-2px);
    }

    .browse-social-icon svg {
      width: 22px;
      height: 22px;
    }

    .browse-copyright {
      color: #5c6c79;
      font-size: 12px;
      text-align: center;
      margin-top: 25px;
      padding-top: 15px;
      border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    /* =========================================================================
    AVIATOR GAMING NAVIGATION STYLES REMOVED - REPLACED WITH NEW DESIGN
    ========================================================================= */
    
    .dot {
      width: 0.75rem;
      height: 0.375rem;
      background-color: #9ca3af;
      transition: all 300ms ease;
      cursor: pointer;
    }
    
    .dot.active {
      width: 3.25rem;
      height: 0.375rem;
      background-color: #ffc107;
      border: 1px solid #ffdb58;
      box-shadow: 0 0 5px rgba(255, 193, 7, 0.5);
    }
    
    /* =========================================================================
    FIXED TABS SECTION - NO BORDER HIGHLIGHTING
    ========================================================================= */
    #category-container-4tabs {
      display: flex;
      justify-content: space-between;
      width: 100%;
    }

    .category-tab-compact {
      flex-shrink: 0;
      width: calc((100% - 1.0rem) / 4);
      min-width: 70px;
      height: 110px !important; /* TAB HEIGHT INCREASED BY 10% */
      display: flex;
      flex-direction: column;
      cursor: pointer;
      position: relative;
      box-shadow: 0 4px 10px rgba(0,0,0,0.35) !important;
      background-color: #1A2C38;
    }
    
    /* REMOVED: No border highlighting on active state */
    .category-tab-compact.active {
      box-shadow: 0 4px 10px rgba(0,0,0,0.35) !important;
    }
    
    /* REMOVED: No box shadow on active state */
    .category-tab-compact.active .tab-image-container {
      box-shadow: none !important;
    }
    
    .tab-content-container {
      flex: 1;
      display: flex;
      flex-direction: column;
      padding: 2px;
    }
    
    .tab-image-container {
      height: 50.2px; /* TAB IMAGE HEIGHT INCREASED BY 10% */
      flex-shrink: 0;
    }
    
    .tab-text-container {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 43px; /* TAB TEXT HEIGHT UNCHANGED */
      padding: 7px 4px;
    }
    
    .banner-fade-overlay {
      background-image: linear-gradient(to bottom,
        transparent 0%,
        transparent 90%,
        #0F212E 100%
      );
    } 
    
    /* =========================================================================
    DOWNLOAD SECTION
    ========================================================================= */
    .download-section {
      position: relative;
      overflow: hidden;
      margin: 0;
    }
    
    .download-section-overlay {
      background-color: rgba(15, 33, 46, 0.7);
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 1;
    }
    
    .download-section-content {
      position: relative;
      z-index: 2;
    }
    
    .store-button-glass {
      display: flex;
      align-items: center;
      background-color: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      transition: all 0.3s ease;
      padding: 6px 6px;
      width: 95px;
    }
    
    .store-button-glass:hover {
      background-color: rgba(255, 255, 255, 0.15);
      border-color: #ffc107;
      transform: translateY(-2px);
      box-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
    }
    
    .store-icon {
      width: 18px;
      height: 18px;
      margin-right: 8px;
      filter: brightness(0) invert(1);
    }
    
    .store-text-small {
      font-size: 10px;
      line-height: 1;
      opacity: 0.8;
    }
    
    .store-text-large {
      font-size: 11px;
      font-weight: 600;
      line-height: 1;
    }
    
    .download-slide-image {
      position: absolute;
      right: 0;
      top: 0;
      height: 100%;
      width: auto;
      max-width: 50%;
      object-fit: contain;
      z-index: 2;
    }
    
    .header-logo {
      height: 38px;
      transform: scale(3.0);
      object-fit: contain;
      margin-left: 35px;
    }
    
    /* =========================================================================
    UPDATED TRENDING GAMES SECTION - PLAYING COUNT OUTSIDE CARD, NO CONTAINER
    ========================================================================= */
    .trending-games-section {
      padding: 0 1rem;
      margin-bottom: 1.5rem;
    }
    
    .trending-games-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 0.75rem;
    }
    
    .trending-games-title-container {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    
    .trending-games-icon {
      height: 28px;
      width: auto;
    }
    
    .trending-games-title {
      font-size: 1.125rem;
      font-weight: 700;
      color: #ffffff;
    }
    
    /* UPDATED: NAV BOX WITH CURVED SIDES FOR ALL BUTTONS */
    .trending-games-nav-box {
      display: flex;
      align-items: center;
      background-color: #1A2C38;
      border: 1px solid #374151;
      border-radius: 20px;
      padding: 0;
      overflow: hidden;
    }
    
    /* UPDATED: TRENDING GAMES CONTAINER FOR EXACTLY 3 CARDS */
    .trending-games-container {
      width: 100%;
      overflow: hidden;
      position: relative;
    }
    
    .trending-games-row-container {
      overflow: hidden;
      position: relative;
    }
    
    .trending-games-row {
      display: flex;
      gap: 0.75rem;
      transition: transform 0.3s ease;
      width: max-content;
    }

    .trending-sports-row {
      display: flex;
      gap: 0.75rem;
      transition: transform 0.3s ease;
      width: max-content;
    }
    
    /* UPDATED: TRENDING GAME CARD - OPTIMIZED FOR EXACTLY 3 CARDS, PLAYING COUNT OUTSIDE */
    .trending-game-card {
      flex-shrink: 0;
      width: calc((100vw - 3.5rem) / 3);
      max-width: 150px;
      min-width: 110px;
      background-color: #1A2C38;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
      position: relative;
    }
    
    .trending-game-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    }
    
    /* UPDATED: TRENDING GAME IMAGE - HEIGHT INCREASED BY 10% */
    .trending-game-image {
      width: 100%;
      height: 181.5px;
      object-fit: cover;
    }
    
    /* UPDATED: PLAYING COUNT OUTSIDE THE CARD - FREE POSITIONING */
    .trending-game-playing-info {
      position: absolute;
      top: 8px;
      left: 8px;
      background: rgba(0, 0, 0, 0.7);
      padding: 4px 8px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      gap: 6px;
      z-index: 10;
    }
    
    .playing-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background-color: #10b981;
      animation: pulse 1.5s infinite;
    }
    
    .playing-count {
      font-size: 0.7rem;
      color: #ffffff;
      font-weight: 500;
    }
    
    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.5; }
    }
    
    /* =========================================================================
    TOP GAMES SECTION - UPDATED FOR 3 CARDS VIEW (NO TEXT BELOW CARDS)
    ========================================================================= */
    .top-games-header-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
      padding: 0 1rem;
    }
    
    .top-games-title-container {
      display: flex;
      align-items: center;
      gap: 0.375rem;
    }
    
    .top-games-icon {
      height: 32px;
      width: auto;
      transform: scale(1.2);
    }
    
    .top-games-nav-controls {
      display: flex;
      align-items: center;
      gap: 0rem;
    }
    
    /* UPDATED: NAV BUTTONS WITH CURVED SIDES FOR ALL STATES */
    .nav-button {
      background-color: #1A2C38;
      border: 1px solid #374151;
      color: white;
      width: 38px;
      height: 38px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s ease;
      padding-left: 5px;
      padding-right: 5px;
      position: relative;
      z-index: 1;
    }
    
    /* CURVED SIDES FOR ALL NAV BUTTONS */
    .trending-games-nav-box .nav-button:first-child {
      border-top-left-radius: 20px !important;
      border-bottom-left-radius: 20px !important;
      border-top-right-radius: 0 !important;
      border-bottom-right-radius: 0 !important;
    }
    
    .trending-games-nav-box .nav-button:last-child {
      border-top-right-radius: 20px !important;
      border-bottom-right-radius: 20px !important;
      border-top-left-radius: 0 !important;
      border-bottom-left-radius: 0 !important;
    }
    
    .nav-controls-box .nav-button:first-child {
      border-top-left-radius: 20px !important;
      border-bottom-left-radius: 20px !important;
      border-top-right-radius: 0 !important;
      border-bottom-right-radius: 0 !important;
    }
    
    .nav-controls-box .nav-button:last-child {
      border-top-right-radius: 20px !important;
      border-bottom-right-radius: 20px !important;
      border-top-left-radius: 0 !important;
      border-bottom-left-radius: 0 !important;
    }
    
    .live-casino-nav-box .nav-button:first-child {
      border-top-left-radius: 20px !important;
      border-bottom-left-radius: 20px !important;
      border-top-right-radius: 0 !important;
      border-bottom-right-radius: 0 !important;
    }
    
    .live-casino-nav-box .nav-button:last-child {
      border-top-right-radius: 20px !important;
      border-bottom-right-radius: 20px !important;
      border-top-left-radius: 0 !important;
      border-bottom-left-radius: 0 !important;
    }
    
    /* Active state with yellow border */
    .nav-button.active {
      border-color: #ffc107;
      color: #ffc107;
      z-index: 2;
      position: relative;
    }
    
    /* Hover state */
    .nav-button:hover {
      border-color: #ffc107;
      color: #ffc107;
    }
    
    /* NAV BOXES WITH PROPER OVERFLOW */
    .nav-controls-box {
      display: flex;
      align-items: center;
      background-color: #1A2C38;
      border: 1px solid #374151;
      border-radius: 20px;
      padding: 0;
      overflow: hidden;
    }
    
    .live-casino-nav-box {
      display: flex;
      align-items: center;
      background-color: #1A2C38;
      border: 1px solid #374151;
      border-radius: 20px;
      padding: 0;
      overflow: hidden;
    }
    
    .section-spacing {
      margin-top: 0;
    }
    
    .tabs-section {
      padding: 0 0 1rem 1rem;
    }
    
    /* UPDATED TOP GAMES CONTAINER - FITS EXACTLY 3 CARDS (NO TEXT) */
    .top-games-container {
      width: 100%;
      overflow: hidden;
      position: relative;
      padding: 0 1rem;
    }
    
    .games-row-container {
      overflow: hidden;
      position: relative;
    }
    
    .games-row {
      display: flex;
      gap: 0.75rem;
      transition: transform 0.3s ease;
      width: max-content;
    }
    
    /* GAME CARD - OPTIMIZED FOR EXACTLY 3 CARDS (NO TEXT) */
    .game-card {
      flex-shrink: 0;
      width: calc((100vw - 3.5rem) / 3);
      max-width: 150px;
      min-width: 110px;
      background-color: #1A2C38;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
      position: relative;
    }
    
    /* UPDATED: GAME IMAGE HEIGHT - INCREASED BY 10% */
    .game-image {
      height: 181.5px;
      width: 100%;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }
    
    /* UPDATED: ANIMATED HEART ICON FOR FAVORITES - SIZE REDUCED TO 70% */
    .game-heart {
      position: absolute;
      top: 8px;
      right: 8px;
      width: 28px;
      height: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 10;
      transition: transform 0.2s ease;
      background-color: transparent;
      border: none;
      padding: 0;
    }
    
    .game-heart:hover {
      transform: scale(1.1);
    }
    
    .game-heart.animating {
      animation: heartPulse 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    
    /* HEART ICON SIZE REDUCED TO 70% (from 24px to 16.8px) */
    .heart-icon {
      width: 16.8px;
      height: 16.8px;
      fill: none;
      stroke: white;
      stroke-width: 2;
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      transform-origin: center;
      filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.5));
    }
    
    .game-heart.active .heart-icon {
      fill: #ef4444;
      stroke: #ef4444;
      filter: drop-shadow(0 2px 4px rgba(239, 68, 68, 0.5));
    }
    
    /* Heart animation keyframes */
    @keyframes heartPulse {
      0% {
        transform: scale(1);
      }
      30% {
        transform: scale(1.4);
      }
      50% {
        transform: scale(1.2);
      }
      70% {
        transform: scale(1.3);
      }
      100% {
        transform: scale(1);
      }
    }
    
    /* Bubble effect for heart fill */
    @keyframes bubbleOut {
      0% {
        transform: scale(0);
        opacity: 0;
      }
      50% {
        transform: scale(1.2);
        opacity: 1;
      }
      100% {
        transform: scale(1);
        opacity: 1;
      }
    }
    
    .game-heart.active .heart-icon {
      animation: bubbleOut 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    
    /* GAMES GRID CONTAINER */
    .games-grid-container {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      position: relative;
      overflow: hidden;
    }
    
    .games-row-overflow {
      overflow: hidden;
      position: relative;
    }
    
    /* =========================================================================
    LIVE CASINO SECTION - UPDATED FOR 3 CARDS VIEW (NO TEXT BELOW CARDS)
    ========================================================================= */
    .live-casino-section {
      padding: 0 1rem;
      margin-top: 1.5rem;
      margin-bottom: 2rem;
    }
    
    .live-casino-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 0.75rem;
    }
    
    .live-casino-title-container {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    
    .live-casino-icon {
      height: 28px;
      width: auto;
    }
    
    .live-casino-title {
      font-size: 1.125rem;
      font-weight: 700;
      color: #ffffff;
    }
    
    /* UPDATED: LIVE CASINO CONTAINER FOR EXACTLY 3 CARDS (NO TEXT) */
    .live-casino-container {
      width: 100%;
      overflow: hidden;
      position: relative;
    }
    
    .live-casino-row-container {
      overflow: hidden;
      position: relative;
    }
    
    .live-casino-row {
      display: flex;
      gap: 0.75rem;
      transition: transform 0.3s ease;
      width: max-content;
    }
    
    /* UPDATED: LIVE CASINO CARD - OPTIMIZED FOR EXACTLY 3 CARDS (NO TEXT) */
    .live-casino-card {
      flex-shrink: 0;
      width: calc((100vw - 3.5rem) / 3);
      max-width: 150px;
      min-width: 110px;
      border-radius: 8px;
      overflow: hidden;
      background-color: #1A2C38;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .live-casino-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    }
    
    /* UPDATED: LIVE CASINO IMAGE - HEIGHT INCREASED BY 10% */
    .live-casino-image {
      width: 100%;
      height: 181.5px;
      object-fit: cover;
    }
    
    /* =========================================================================
    CASINO PROMOTIONS SECTION
    ========================================================================= */
    .casino-promotions-section {
      padding: 0 1rem;
      margin-top: 2rem;
      margin-bottom: 2rem;
    }
    
    .casino-promotions-wrapper {
      max-width: 900px;
      margin: 0 auto;
    }
    
    .casino-promotions-wrapper h1 {
      color: #f5b400;
      font-size: 27px !important;
      font-weight: 700;
      margin-bottom: 20px;
    }
    
    .casino-promotions-wrapper p {
      font-size: 16px;
      line-height: 1.8;
      color: #e6e6e6;
      margin-bottom: 20px;
    }
    
    .casino-promotions-wrapper h2 {
      color: #f5b400;
      font-size: 27px !important;
      font-weight: 700;
      margin-top: 20px;
    }
    
    /* =========================================================================
    WELCOME BONUSES SECTION (NEW)
    ========================================================================= */
    .welcome-bonuses-section {
      padding: 0 1rem;
      margin-bottom: 3rem;
    }
    
    .welcome-bonuses-wrapper {
      max-width: 900px;
      margin: 0 auto;
      font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    }
    
    .welcome-bonuses-wrapper h2 {
      color: #f6b300;
      font-size: 27px !important;
      margin-bottom: 12px;
      font-weight: 700;
    }
    
    .welcome-bonuses-wrapper p {
      font-size: 15px !important;
      color: #e6e6e6;
      margin-bottom: 16px;
    }
    
    .welcome-bonuses-wrapper ul {
      padding-left: 22px;
      margin-bottom: 20px;
    }
    
    .welcome-bonuses-wrapper li {
      font-size: 15px !important;
      line-height: 1.8;
      margin-bottom: 10px;
    }
    
    .welcome-bonuses-wrapper a {
      color: #f6b300;
      text-decoration: underline;
      font-weight: 600;
    }
    
    .bonus-section {
      margin-bottom: 20px;
    }
    
    /* =========================================================================
    SPORTS BETTING CONTENT STYLES
    ========================================================================= */
    .sports-betting-content {
      padding: 0 1rem;
      margin-bottom: 3rem;
      max-width: 900px;
      margin: 0 auto;
      font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    }
    
    .sports-betting-content h1,
    .sports-betting-content h2 {
      color: #f5b301;
      font-weight: 700;
      font-size: 25px;
      margin-bottom: 18px;
    }
    
    .sports-betting-content p {
      font-size: 15px;
      line-height: 1.8;
      margin-bottom: 16px;
      color: #e6e6e6;
    }
    
    .sports-betting-content ul {
      margin-left: 22px;
      margin-bottom: 25px;
    }
    
    .sports-betting-content li {
      font-size: 15px;
      line-height: 1.7;
      margin-bottom: 10px;
    }
    
    .sports-betting-content a {
      color: #f5b301;
      text-decoration: underline;
    }
    
    .sports-betting-content .bold {
      font-weight: bold;
    }
    
    .sports-betting-content .final-words {
      margin-top: 60px;
      margin-left: 1rem;
      margin-right: 1rem;
      padding: 35px 30px;
      background: linear-gradient(180deg, #0e1b26, #0b1620);
      border-radius: 14px;
      border: 1px solid #2f4553;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    }
    
    /* =========================================================================
    SLIDE UP PAGE CAROUSELS (FOR CASINO AND SPORTS) - FIXED TO MATCH HOME PAGE BANNER
    ========================================================================= */
    .slide-up-carousel {
      position: relative;
      background-color: black;
      height: 60vh; /* SAME AS HOME PAGE BANNER */
      min-height: 60vh;
      max-height: 60vh;
      margin: 0;
      width: 100%;
      flex-shrink: 0;
      overflow: hidden;
    }

    .slide-up-carousel-container {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
    }
    
    .slide-up-carousel-container::-webkit-scrollbar {
      display: none;
    }
    
    .slide-up-carousel-container {
      -ms-overflow-style: none;
      scrollbar-width: none;
    }
    
    .slide-up-carousel-slide {
      flex: 0 0 100%;
      width: 100%;
      height: 100%;
      position: relative;
      scroll-snap-align: start;
    }
    
    .slide-up-carousel-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }
    
    /* =========================================================================
    SPORTS BETTING DASHBOARD STYLES (FROM index (10).html)
    ========================================================================= */
    .sports-dashboard {
      background-color: #0b141d;
      min-height: calc(100vh - 56px);
      font-family: 'Segoe UI', 'Roboto Condensed', system-ui, sans-serif;
      color: white;
      overflow-x: hidden;
    }

    /* --- Navigation Bar --- */
    .sports-header-row {
      display: flex;
      align-items: center;
      padding: 12px;
      gap: 12px;
      background: #0d1a25;
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .sports-segmented-control {
      position: relative;
      display: flex;
      flex: 1;
      background: #162431;
      border-radius: 25px;
      padding: 4px;
      height: 44px;
    }

    .sports-slider {
      position: absolute;
      top: 4px;
      left: 4px;
      width: calc((100% - 8px) / 3);
      height: calc(100% - 8px);
      background: #253441;
      border-radius: 20px;
      transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
      z-index: 1;
    }

    .sports-nav-item {
      position: relative;
      flex: 1;
      font-size: 15px;
      font-weight: 700;
      color: #a0acba;
      cursor: pointer;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    .sports-nav-item.active { color: white; }

    .sports-home-svg { width: 18px; height: 18px; fill: currentColor; }

    .sports-ticket-btn {
      background: #162431;
      width: 44px;
      height: 36px;
      border-radius: 5px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }

    .sports-ticket-svg { width: 24px; height: 13.5px; fill: none; stroke: #a0acba; stroke-width: 1.35; }

    .sports-live-dot {
      width: 7px;
      height: 7px;
      background-color: #ff3b30;
      border-radius: 50%;
      animation: sports-pulse 1.5s infinite;
    }

    @keyframes sports-pulse {
      0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.6); }
      70% { box-shadow: 0 0 0 6px rgba(255, 59, 48, 0); }
      100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
    }

    /* --- Hero Carousel --- */
    .sports-hero-carousel-container {
      padding: 10px;
      position: relative;
    }

    .sports-hero-carousel {
      width: 100%;
      height: 230px;
      border-radius: 5px;
      overflow: hidden;
      position: relative;
    }

    .sports-carousel-track {
      display: flex;
      height: 100%;
      transition: transform 0.5s ease-in-out;
    }

    .sports-carousel-slide {
      min-width: 100%;
      height: 100%;
      position: relative;
    }

    .sports-carousel-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .sports-carousel-indicators {
      display: flex;
      justify-content: center;
      gap: 6px;
      margin-top: 5px;
    }

    .sports-carousel-indicator {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #2d3748;
      cursor: pointer;
      transition: background-color 0.3s;
    }

    .sports-carousel-indicator.active {
      background: #e1ff00;
      transform: scale(1.2);
    }

    /* --- Action Row --- */
    .sports-scroll-wrapper {
      width: 100%;
      overflow-x: auto;
      padding: 0 10px 0px 10px;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    .sports-scroll-wrapper::-webkit-scrollbar { display: none; }
    .sports-action-row { display: flex; gap: 8px; width: max-content; }
    .sports-action-card {
      background: #1c2a38;
      padding: 6px 12px;
      border-radius: 5px;
      font-size: 13px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 6px;
      color: #a0acba;
      cursor: pointer;
    }
    
    .sports-action-icon {
      width: 24px;
      height: 24px;
      object-fit: contain;
    }

    /* --- Match Dashboard --- */
    .sports-section-title { 
      padding: 0px 10px 10px 10px;
      display: flex; 
      align-items: center; 
      gap: 10px; 
    }
    .sports-section-title h1 { 
      font-size: 18px; 
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .sports-live-badge {
      background: #4e1a1a;
      color: #ff9d9d;
      padding: 2px 10px;
      border-radius: 12px;
      font-size: 12px;
      font-weight: bold;
    }

    /* --- Sports Category Scroll --- */
    .sports-category-wrapper {
      width: 100%;
      overflow-x: auto;
      padding: 0px 10px 4px 10px;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    .sports-category-wrapper::-webkit-scrollbar { display: none; }
    .sports-category-row { display: flex; gap: 8px; width: max-content; }
    .sports-sport-item {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 6px;
      min-width: auto;
      cursor: pointer;
      padding: 5px 8px;
      background: transparent;
      border-radius: 20px;
      transition: color 0.2s, border-color 0.2s;
    }
    .sports-sport-icon-circle {
      font-size: 16px;
      transform: scale(0.8);
    }
    .sports-sport-item.active {
      background: #253441;
    }
    .sports-sport-name {
      font-size: 14px;
      color: #a0acba;
      font-weight: 600;
      white-space: nowrap;
    }
    .sports-sport-item.active .sports-sport-name {
      color: white;
    }

    .sports-matches-scroll-container {
      width: 100%;
      overflow-x: auto;
      padding: 0 10px 10px 10px;
      scroll-behavior: smooth;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    .sports-matches-scroll-container::-webkit-scrollbar { display: none; }
    
    .sports-matches-scroll-wrapper {
      display: flex;
      gap: 12px;
      width: max-content;
      padding: 5px 0;
    }

    .sports-match-card {
      background-color: #161d25;
      border-radius: 5px;
      padding: 10px;
      width: 290px;
      flex-shrink: 0;
      min-width: 280px;
      height: 210px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
    }
    
    .sports-league-info { 
      color: #a0acba; 
      font-size: 14.4px;
      margin-bottom: 8px;
      display: flex; 
      justify-content: space-between; 
      align-items: center;
      position: relative;
      padding-bottom: 6px;
    }
    
    .sports-league-info::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: -10px;
      right: -10px;
      height: 1px;
      background-color: #0b141d;
    }
    
    .sports-star-icon {
      width: 16px;
      height: 16px;
      cursor: pointer;
      fill: none;
      stroke: #a0acba;
      stroke-width: 2;
    }
    
    .sports-star-icon.filled { fill: #fbbf24; stroke: #fbbf24; }
    
    .sports-innings-label { 
      color: #ff3b30; 
      font-size: 8.8px;
      font-weight: 800; 
      margin-top: 8px;
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .sports-innings-left-section {
      display: flex;
      align-items: center;
      gap: 0;
    }

    .sports-innings-right-section {
      display: flex;
      align-items: center;
      gap: 0;
      color: #a0acba;
    }

    .sports-outcomes-count {
      font-size: 10px;
      background: #2b353f;
      padding: 2px 6px;
      border-radius: 4px;
      color: #e1ff00;
    }

    .sports-field-svg {
      width: 14px;
      height: 11px;
      display: inline-block;
      vertical-align: middle;
      margin-left: 2px;
    }

    .sports-chevron-icon {
      font-size: 16px;
      color: #a0acba;
      margin-left: 2px;
    }
    
    .sports-team-row { 
      display: flex; 
      justify-content: space-between; 
      align-items: center; 
      margin-bottom: 6.4px;
    }
    .sports-team-meta { 
      display: flex; 
      align-items: center; 
      gap: 8px;
      flex: 1;
    }
    .sports-team-logo { width: 25.6px; height: 25.6px; border-radius: 5px; }
    .sports-team-name { font-size: 14.4px; font-weight: 400; color: #e1e1e1; }
    
    .sports-score-meta { 
      display: flex; 
      align-items: center; 
      justify-content: flex-end;
      gap: 6px;
      min-width: 120px;
    }
    .sports-marker-icon {
      width: 16px;
      text-align: center;
      font-size: 13px;
      color: white; 
    }
    .sports-dot-filled {
      display: inline-block;
      width: 6px;
      height: 6px;
      background-color: white; 
      border-radius: 50%;
      margin-bottom: 2px;
    }
    .sports-overs { 
      color: #8392a5; 
      font-size: 12px;
      text-align: right;
      min-width: 65px;
    }
    .sports-score-val { 
      font-size: 16px; 
      font-weight: 700; 
      text-align: right; 
      min-width: 28px;
    }
    .sports-active-score { color: #ff3b30; }

    .sports-match-status {
      display: flex;
      align-items: center;
      gap: 4px;
      font-size: 8.8px;
      margin-top: 4px;
    }
    
    .sports-status-live { color: #ff3b30; font-weight: bold; }

    .sports-bet-row { 
      display: flex; 
      gap: 4px;
      width: 100%;
      margin-top: 8px;
    }
    .sports-bet-btn {
      background-color: #2b353f;
      flex: 1;
      padding: 7px;
      border-radius: 10px;
      text-align: center;
      cursor: pointer;
    }
    .sports-odds { font-size: 17.6px; font-weight: 700; display: block; line-height: 1; margin-bottom: 1px; }
    .sports-market-label { color: #8392a5; font-size: 8.8px; display: block; }

    /* --- Live Section Container --- */
    .sports-live-section {
      padding: 0;
    }

    /* --- Vertical Match Card --- */
    .sports-vertical-match-card { 
      background-color: #161d25; 
      border-radius: 8px; 
      margin: 0px 10px 10px 10px;
      padding: 10px; 
    }

    /* Sports Ticket Page Overlay */
    .sports-ticket-page-overlay,
    .sports-favorites-page-overlay,
    .bets-ticket-page-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 64px;
      background-color: #0b141d;
      z-index: 2000;
      transform: translateX(100%);
      transition: transform 0.3s ease-in-out;
    }

    .bets-ticket-page-overlay {
      top: 56px;
    }

    .sports-ticket-page-overlay.active,
    .sports-favorites-page-overlay.active,
    .bets-ticket-page-overlay.active {
      transform: translateX(0);
    }

    .sports-ticket-header,
    .sports-favorites-header,
    .bets-ticket-header {
      display: flex;
      align-items: center;
      padding: 12px 3px;
      background: #0d1a25;
      border-bottom: 1px solid #1c2a38;
    }

    .sports-ticket-back-btn,
    .sports-favorites-back-btn,
    .bets-ticket-back-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 50px;
      height: 50px;
      cursor: pointer;
      color: white;
    }

    .sports-ticket-title,
    .sports-favorites-title,
    .bets-ticket-title {
      flex: 1;
      text-align: center;
      font-size: 18px;
      font-weight: 700;
    }

    .sports-ticket-tabs-container,
    .sports-favorites-tabs-container,
    .bets-ticket-tabs-container {
      position: relative;
      padding: 20px 15px 15px 15px;
      background-color: #0b141d;
    }

    .sports-ticket-tabs,
    .sports-favorites-tabs,
    .bets-ticket-tabs {
      display: flex;
      position: relative;
      background: #1c2a38;
      border-radius: 25px;
      padding: 4px;
      height: 44px;
    }

    .sports-ticket-tab-slider,
    .sports-favorites-tab-slider,
    .bets-ticket-tab-slider {
      position: absolute;
      top: 4px;
      left: 4px;
      width: calc((100% - 8px) / 2);
      height: calc(100% - 8px);
      background: #253441;
      border-radius: 20px;
      transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
      z-index: 1;
    }

    .sports-ticket-tab,
    .sports-favorites-tab,
    .bets-ticket-tab {
      position: relative;
      flex: 1;
      text-align: center;
      font-size: 16px;
      font-weight: 600;
      color: #a0acba;
      cursor: pointer;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
    }

    .sports-ticket-tab.active,
    .sports-favorites-tab.active,
    .bets-ticket-tab.active {
      color: white;
    }

    .sports-ticket-content,
    .sports-favorites-content,
    .bets-ticket-content {
      padding: 20px;
      text-align: center;
      display: none;
      background-color: #0b141d;
      min-height: calc(100vh - 180px);
    }

    .sports-ticket-content.active,
    .sports-favorites-content.active,
    .bets-ticket-content.active {
      display: block;
    }

    .sports-no-bets-image,
    .sports-no-favorites-image,
    .bets-no-bets-image {
      width: 120px;
      height: 120px;
      margin: 40px auto 20px;
      background-color: #1c2a38;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #4a5568;
    }

    .sports-no-bets-text,
    .sports-no-favorites-text,
    .bets-no-bets-text {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 30px;
      color: #a0acba;
    }

    .sports-select-odds-text,
    .bets-select-odds-text {
      font-size: 14px;
      color: #8392a5;
      margin-bottom: 20px;
    }

    .sports-place-bet-btn,
    .bets-place-bet-btn {
      width: 100%;
      padding: 16px;
      background-color: #FFD700;
      color: #0b141d;
      border-radius: 10px;
      font-size: 16px;
      font-weight: 700;
      text-align: center;
      cursor: pointer;
      margin-top: 20px;
      border: none;
      outline: none;
    }

    .sports-break-label {
      color: #ff3b30;
      font-size: 8.8px;
      font-weight: bold;
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .sports-outcomes-btn {
      width: 100%;
      margin-top: 10px;
      padding: 8px 12px;
      border-radius: 8px;
      background-color: #1c2a38;
      color: #e1ff00;
      font-weight: bold;
      text-align: center;
      cursor: pointer;
      border: none;
      outline: none;
    }

    .empty-popup-content {
      padding: 2rem;
      text-align: center;
      color: #9ca3af;
      font-size: 1.2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: calc(100vh - 56px - 60vh); /* Updated calculation */
    }

    /* Bets Menu Ticket Styles */
    .bets-ticket-section {
      padding: 40px 20px;
      text-align: center;
      background-color: #0b141d;
      min-height: calc(100vh - 56px);
    }

    .bets-ticket-btn {
      background: #162431;
      width: 80px;
      height: 80px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      margin: 0 auto 20px;
      transition: all 0.3s ease;
    }

    .bets-ticket-btn:hover {
      background: #253441;
      transform: scale(1.05);
    }

    .bets-ticket-btn svg {
      width: 40px;
      height: 22.5px;
      fill: none;
      stroke: #ffc107;
      stroke-width: 1.35;
    }

    .bets-ticket-title {
      color: #ffc107;
      font-size: 24px;
      font-weight: 700;
      margin-bottom: 10px;
    }

    .bets-ticket-description {
      color: #a0acba;
      font-size: 16px;
      margin-bottom: 30px;
    }

    /* =========================================================================
    GAME LOBBY UI STYLES (FROM index (4).html) - INTEGRATED INTO CASINO MENU
    ========================================================================= */
    .game-lobby-ui {
      background-color: #0b141a;
      min-height: calc(100vh - 56px);
      font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
      color: white;
      overflow-x: hidden;
    }

    /* Hero Image Slider Section (No Text) */
    .hero-viewport {
      position: relative;
      width: 100%;
      height: 220px;
      overflow: hidden;
    }

    .hero-slider {
      display: flex;
      width: 500%; /* For 5 slides */
      height: 100%;
      transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .slide {
      width: 20%;
      height: 100%;
      background-size: cover;
      background-position: center;
    }

    /* Custom Pill Indicators */
    .slider-dots {
      position: absolute;
      bottom: 12px;
      right: 20px;
      display: flex;
      gap: 6px;
      z-index: 10;
    }

    .slider-dot {
      height: 4px;
      width: 24px;
      background: rgba(255, 255, 255, 0.3);
      border-radius: 2px;
      transition: all 0.3s ease;
    }

    .slider-dot.active {
      background: #ffc107;
      width: 40px;
    }

    /* Casino Static Image Grid — removed, now uses game-card row */

    .casino-banner-slide {
      flex: 0 0 100%;
      height: 100%;
      position: relative;
      scroll-snap-align: start;
    }

    /* 4-Item Menu (Full Screen Width) */
    .filter-bar {
      display: flex;
      justify-content: space-between;
      align-items: stretch;
      padding: 8px 0;
      border-bottom: 1px solid #1c2a35;
      background-color: #0b141a;
    }

    .filter-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      gap: 0;
      font-size: 0.5rem;
      font-weight: 600;
      color: #ffffff;
      flex: 1 1 0%;
      min-width: 0;
      text-align: center;
      white-space: normal;
      word-break: break-word;
      line-height: 1.3;
      padding: 0;
    }

    .filter-item span {
      display: block;
      width: 100%;
      text-align: center;
    }

    /* Improved Heart SVG Styling */
    .lobby-heart-icon {
      width: 18px;
      height: 18px;
      fill: none;
      stroke: #7d8b95;
      stroke-width: 2.2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .symbol-icon {
      color: #7d8b95;
      font-size: 1.1rem;
    }

    /* Search Section */
    .search-area {
      display: flex;
      align-items: center;
      padding: 15px;
      background-color: #121e26;
      border-bottom: 1px solid #1c2a35;
    }

    .search-input {
      flex: 1;
      background: transparent;
      border: none;
      color: white;
      font-size: 1rem;
      outline: none;
    }

    .search-input::placeholder {
      color: #7d8b95;
    }

    .nav-icons {
      display: flex;
      gap: 0;
      color: #7d8b95;
      font-size: 1.2rem;
      align-items: center;
      border-left: 1px solid #1c2a35;
      padding-left: 10px;
      margin-left: 10px;
    }

    .search-icon {
      width: 20px;
      height: 20px;
      stroke: #7d8b95;
      stroke-width: 2;
      fill: none;
      padding-right: 14px;
    }

    .filter-svg {
      width: 20px;
      height: 20px;
      stroke: #7d8b95;
      stroke-width: 2;
      fill: none;
      padding-left: 14px;
    }

    .icon-divider {
      width: 1px;
      height: 20px;
      background-color: #1c2a35;
      margin: 0 10px;
    }

    /* Game Grid Section */
    .games-section {
      padding: 20px 15px;
      position: relative;
    }

    .games-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-bottom: 12px;
    }

    .lobby-game-card {
      background-color: #121e26;
      border-radius: 12px;
      border: 1px solid #1c2a35;
      padding: 18px 10px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      transition: all 0.3s ease;
      cursor: pointer;
      min-height: 35px;
    }

    /* Casino popup specific card sizing — height 40px (20% less than original 50px) */
    #casino-slide-page .lobby-game-card {
      padding: 2px;
      border-radius: 8px;
      min-height: 40px !important;
      height: 40px !important;
      max-height: 40px !important;
      overflow: hidden;
      box-sizing: border-box !important;
    }

    #casino-slide-page .lobby-game-card img {
      width: 30% !important;
      height: 30% !important;
      object-fit: cover;
      display: block;
    }

    .lobby-game-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      border-color: #ffc107;
    }

    /* Casino popup grid — 3 columns */
    #casino-slide-page .games-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
    }

    .game-icon {
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 10px;
      font-size: 1.8rem;
      color: #ffc107;
    }

    .lobby-game-name {
      font-size: 0.85rem;
      font-weight: 600;
      color: #ffffff;
      line-height: 1.2;
      letter-spacing: 0.3px;
    }

    .game-category {
      font-size: 0.7rem;
      color: #7d8b95;
      margin-top: 4px;
      font-weight: 500;
    }

    /* Section Title */
    .lobby-section-title {
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 18px;
      color: white;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .see-all-link {
      font-size: 0.85rem;
      color: #ffc107;
      font-weight: 600;
      text-decoration: none;
    }

    /* Hidden Rows with Gradual Blur */
    .hidden-rows {
      position: relative;
      height: 63px;
      overflow: hidden;
      margin-bottom: 15px;
      border-radius: 0;
    }

    .hidden-rows.expanded {
      height: auto;
      overflow: visible;
    }

    .blur-gradient {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 60px;
      background: rgba(11, 20, 26, 0.15);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      mask-image: none;
      -webkit-mask-image: none;
      z-index: 2;
      pointer-events: none;
    }

    .hidden-rows.expanded .blur-gradient {
      display: none;
    }

    /* Blurred game cards — uniform blur, no extra darkening */
    .blurred-row .lobby-game-card {
      filter: blur(2px);
      opacity: 0.9;
      transition: all 0.5s ease;
    }

    .blurred-row .lobby-game-card:nth-child(1) {
      filter: blur(2px);
      opacity: 0.9;
    }

    .blurred-row .lobby-game-card:nth-child(2) {
      filter: blur(2px);
      opacity: 0.9;
    }

    .blurred-row .lobby-game-card:nth-child(3) {
      filter: blur(2px);
      opacity: 0.9;
    }

    /* See More Button */
    .see-more-container {
      display: flex;
      justify-content: center;
      margin-top: 10px;
      margin-bottom: 20px;
    }

    .see-more-btn {
      background: #ffc107;
      color: #000;
      border: none;
      border-radius: 20px;
      padding: 10px 28px;
      font-size: 0.9rem;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: all 0.3s ease;
      box-shadow: 0 4px 10px rgba(255, 193, 7, 0.2);
    }

    .see-more-btn:hover {
      background: #ffca28;
      transform: translateY(-3px);
      box-shadow: 0 6px 15px rgba(255, 193, 7, 0.3);
    }

    .see-more-btn:active {
      transform: translateY(-1px);
    }

    .see-more-btn.hidden {
      display: none;
    }

    .plus-icon {
      font-size: 1.1rem;
      font-weight: bold;
    }

    /* Game icons styling */
    .evo-icon {
      background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
      border-radius: 10px;
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      font-size: 0.9rem;
    }

    .pragmatic-icon {
      background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
      border-radius: 50%;
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      font-size: 0.9rem;
    }

    .ezugi-icon {
      background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
      border-radius: 8px;
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      font-size: 0.9rem;
    }

    .play-icon {
      background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
      border-radius: 10px;
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      font-size: 0.9rem;
    }

    .tvbet-icon {
      background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
      border-radius: 8px;
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      font-size: 0.9rem;
    }

    .popok-icon {
      background: linear-gradient(135deg, #834d9b 0%, #d04ed6 100%);
      border-radius: 10px;
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      font-size: 0.9rem;
    }

    .elcasino-icon {
      background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
      border-radius: 8px;
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      font-size: 0.9rem;
    }

    .yebet-icon {
      background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
      border-radius: 50%;
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      font-size: 0.9rem;
    }

    .playace-icon {
      background: linear-gradient(135deg, #4568dc 0%, #b06ab3 100%);
      border-radius: 10px;
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      font-size: 0.9rem;
    }

    /* --- Popular Games Widget Styles --- */
    .popular-games-widget {
      background-color: transparent;
      padding: 0px 20px;
      display: flex;
      justify-content: center;
    }

    .widget-container {
      width: 100%;
      max-width: 1100px;
    }

    /* --- Header --- */
    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 24px;
    }

    .section-header h2 {
      font-size: 1.2rem;
      margin: 0;
      font-weight: 600;
    }

    .controls {
      display: flex;
      gap: 0;
      border: 1px solid #1c2a35;
      border-radius: 8px;
      overflow: hidden;
      align-items: center;
    }

    .see-all-btn {
      background: #0b141a;
      color: white;
      border: none;
      border-right: 1px solid #1c2a35;
      padding: 7px 14px;
      border-radius: 0;
      cursor: pointer;
      font-weight: 600;
      font-size: 0.78rem;
      transition: 0.2s;
    }

    .nav-btn {
      background: #0b141a;
      border: none;
      border-left: 1px solid #1c2a35;
      color: white;
      width: 32px;
      height: 32px;
      border-radius: 0;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: 0.2s;
    }

    .see-all-btn:hover, .nav-btn:hover {
      background: #162431;
    }

    /* --- Scroll Container --- */
    .games-scroll-container {
      display: flex;
      gap: 16px;
      overflow-x: auto;
      scroll-behavior: smooth;
      padding-bottom: 10px;
      scrollbar-width: none; /* Firefox */
      -ms-overflow-style: none; /* IE/Edge */
    }

    .games-scroll-container::-webkit-scrollbar {
      display: none; /* Chrome/Safari */
    }

    /* --- Popular Game Card Styling --- */
    .popular-game-card {
      flex: 0 0 280px;
      user-select: none;
    }

    .thumbnail-wrapper {
      position: relative;
      border-radius: 12px;
      overflow: hidden;
      aspect-ratio: 1.4 / 1;
      background: #1a1a1a;
    }

    .thumbnail-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* Text Overlays */
    .overlay {
      position: absolute;
      bottom: 12px;
      left: 12px;
      z-index: 2;
    }

    .brand-logo { 
      font-size: 0.7rem; 
      font-weight: 800; 
      letter-spacing: 0.5px;
      opacity: 0.9;
      margin-bottom: 2px;
    }

    .live-tag { 
      color: #ffc107; 
      font-weight: 900; 
      font-size: 1.1rem;
      line-height: 1;
    }

    .overlay-title { 
      font-weight: 700; 
      font-size: 0.95rem;
      margin-top: 2px;
    }

    /* Gradient for text readability */
    .thumbnail-wrapper::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 50%;
      background: linear-gradient(transparent, rgba(0,0,0,0.8));
    }

    /* Bottom Info Row */
    .game-info {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-top: 12px;
    }

    .info-text {
      flex: 1;
      min-width: 0;
      overflow: hidden;
    }

    .info-text h3 {
      margin: 0;
      font-size: 1rem;
      font-weight: 500;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .info-text p {
      margin: 2px 0 0 0;
      color: #8e9aaf;
      font-size: 0.85rem;
    }

    /* SVG Heart Button */
    .lobby-heart-btn {
      background: none;
      border: none;
      cursor: pointer;
      padding: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .lobby-heart-btn svg {
      width: 22px;
      height: 22px;
      fill: none;
      stroke: #8e9aaf;
      stroke-width: 2;
      transition: all 0.2s ease;
    }

    .lobby-heart-btn.active svg {
      fill: #ef4444;
      stroke: #ef4444;
    }

    @media (max-width: 768px) {
      .slide-up-carousel {
        height: 60vh; /* Same as home page banner on mobile */
        min-height: 60vh;
        max-height: 60vh;
      }
      
      .empty-popup-content {
        min-height: calc(100vh - 56px - 60vh);
      }
      
      /* Adjust card heights on mobile if needed */
      .trending-game-image,
      .game-image,
      .live-casino-image {
        height: 165px;
      }
      
      /* Adjust heart icon size on mobile */
      .heart-icon {
        width: 14px;
        height: 14px;
      }
      
      .bets-ticket-btn {
        width: 70px;
        height: 70px;
      }
      
      .bets-ticket-btn svg {
        width: 35px;
        height: 19.5px;
      }
      
      .casino-promotions-wrapper h1 {
        font-size: 27px !important;
      }
      
      .casino-promotions-wrapper h2 {
        font-size: 27px !important;
      }
      
      .casino-promotions-wrapper p {
        font-size: 15px !important;
      }
      
      .welcome-bonuses-wrapper h2 {
        font-size: 27px !important;
      }
      
      .welcome-bonuses-wrapper li {
        font-size: 15px !important;
      }
      
      .welcome-bonuses-wrapper p {
        font-size: 15px !important;
      }
      
      .sports-betting-content h1,
      .sports-betting-content h2 {
        font-size: 22px !important;
      }
      
      .sports-betting-content p,
      .sports-betting-content li {
        font-size: 14px !important;
      }
      
      .info-page-section {
        padding: 20px 15px;
      }
      
      /* Adjust card heights on mobile if needed */
      .trending-game-image,
      .game-image,
      .live-casino-image {
        height: 165px;
      }
      
      /* Adjust heart icon size on mobile */
      .heart-icon {
        width: 14px;
        height: 14px;
      }
    }
    
/* =========================================================================
FOOTER SECTION WITH IMAGE SWAPPING & GOLD INDICATOR LINE AT TOP OF FOOTER
FIXED: FOOTER Z-INDEX HIGHER THAN SLIDE-UP PAGES
========================================================================= */
footer.nav-footer {
  position: fixed;
  z-index: 1000;
}

@media (min-width: 768px) {
  footer.nav-footer {
    left: 50% !important;
    transform: translateX(-50%);
    width: 480px !important;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
  }
}

.footer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 8px;
  padding-bottom: 10px !important;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 20%;
  position: relative;
}

.footer-item:hover {
  color: #ffffff;
}

.footer-item:hover .footer-text {
  color: #ffffff;
}

/* Fixed icon container with consistent height */
.footer-icon-wrapper {
  height: 60px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
}

.footer-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  object-fit: contain;
}

/* ============================================
   BROWSE ICON - DIFFERENT INACTIVE VS ACTIVE SIZES
   ============================================ */
.footer-icon[data-type="browse"].inactive {
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%) scale(0.8); /* Inactive size */
}

.footer-active .footer-icon[data-type="browse"].active {
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%) scale(0.8); /* Active size - larger when selected */
}

/* ============================================
   CASINO ICON - DIFFERENT INACTIVE VS ACTIVE SIZES
   ============================================ */
.footer-icon[data-type="casino"].inactive {
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%) scale(1.4); /* Inactive size */
}

.footer-active .footer-icon[data-type="casino"].active {
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%) scale(1.45); /* Active size - larger when selected */
}

/* ============================================
   BETS ICON - DIFFERENT INACTIVE VS ACTIVE SIZES
   ============================================ */
.footer-icon[data-type="bets"].inactive {
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%) scale(1.55); /* Inactive size */
}

.footer-active .footer-icon[data-type="bets"].active {
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%) scale(1.39); /* Active size - larger when selected */
}

/* ============================================
   SPORTS ICON - DIFFERENT INACTIVE VS ACTIVE SIZES (UNCHANGED)
   ============================================ */
.footer-icon[data-type="sports"].inactive {
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%) scale(0.68); /* Inactive size */
}

.footer-active .footer-icon[data-type="sports"].active {
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%) scale(1.25); /* Active size - larger when selected */
}

/* ============================================
   CHAT ICON - DIFFERENT INACTIVE VS ACTIVE SIZES
   ============================================ */
.footer-icon[data-type="chat"].inactive {
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%) scale(1.8); /* Inactive size */
}

.footer-active .footer-icon[data-type="chat"].active {
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%) scale(1.6); /* Active size - larger when selected */
}

.footer-text {
  font-size: 12px;
  font-weight: 500;
  color: #9ca3af;
  transition: color 0.3s ease;
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
}

.footer-active {
  color: #ffffff;
}

.footer-active .footer-text {
  color: #ffffff !important;
}

/* FIXED: Gold indicator line at the TOP OF THE FOOTER BAR - NOW VISIBLE */
.footer-top-indicator {
  position: absolute;
  top: -3px;
  left: 0;
  height: 3px;
  background-color: #ffc107;
  border-radius: 0 0 2px 2px;
  transition: left 0.3s ease, width 0.3s ease;
  z-index: 1001; /* Higher than footer */
  box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

/* Show inactive image by default */
.footer-icon.inactive {
  opacity: 1;
}

.footer-icon.active {
  opacity: 0;
}

/* Show active images when parent has footer-active class */
.footer-active .footer-icon.active {
  opacity: 1;
}

.footer-active .footer-icon.inactive {
  opacity: 0;
}


    /* =========================================================================
    INFO PAGE STYLES (UPDATED - ALL CONTENT BELOW LOGO AND ABOVE 18+ IMAGE)
    ========================================================================= */
    .info-page-section {
      padding: 20px;
      background-color: #0F212E;
      color: #ffffff;
      font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
      margin: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .logo-container {
      margin-bottom: 30px;
      text-align: center;
    }

    .main-logo {
      max-width: 180px;
      height: auto;
      display: block;
    }

    .info-content-container {
      width: 100%;
      max-width: 360px;
      margin-bottom: 30px;
    }

    .info-section-title {
      color: #f7a600; /* Rajabets Golden Yellow */
      font-size: 16px;
      font-weight: 700;
      margin: 25px 0 15px 0;
      text-transform: capitalize;
    }

    .info-nav-list {
      list-style: none;
      padding: 0;
      margin: 0 0 20px 0;
      text-align: left;
      width: 100%;
    }

    .info-nav-list li {
      font-size: 15px;
      color: #ffffff;
      margin-bottom: 12px;
      cursor: pointer;
      transition: opacity 0.2s;
    }

    .info-nav-list li:hover {
      opacity: 0.7;
    }

    .info-action-button {
      background-color: #1a2c3e;
      width: 100%;
      padding: 16px 20px;
      margin-bottom: 10px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      text-decoration: none;
      color: white;
      box-sizing: border-box;
      border: 1px solid #25394d;
    }

    .info-button-left {
      display: flex;
      align-items: center;
      gap: 15px;
      font-size: 15px;
      font-weight: 500;
    }

    .info-footer-container {
      margin-top: 30px;
      width: 100%;
      max-width: 450px;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    /* Additional image above 18+ image */
    .additional-image-container {
      margin: 20px 0;
      text-align: center;
    }

    .additional-image {
      width: 80px;
      height: auto;
      margin-bottom: 15px;
    }

    .age-badge-img {
      width: 50px;
      height: auto;
      margin-bottom: 25px;
    }

    .language-selector {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 16px;
      margin-bottom: 35px;
      cursor: pointer;
      font-weight: 400;
    }

    .flag-icon {
      width: 22px;
      height: auto;
    }

    .social-icons {
      display: flex;
      gap: 35px;
      font-size: 26px;
      margin-bottom: 35px;
    }

    .social-icons a {
      color: white;
      text-decoration: none;
      transition: color 0.3s;
    }

    .social-icons a:hover {
      color: #f7a600;
    }

    .legal-text {
      font-size: 13px;
      color: #7a8a99; /* Muted gray */
      line-height: 1.5;
      padding: 0 15px;
      text-align: center;
    }
    
    /* =========================================================================
    FLOATING CHAT ICON - Simplified: Removed box, only image remains
    ========================================================================= */
    .floating-chat-icon {
      position: fixed;
      bottom: 80px; /* 10px above footer (footer height is 60px) */
      left: -5px !important;
      cursor: pointer;
      z-index: 1050;
      transition: all 0.3s ease;
    }
    
    .floating-chat-icon:hover {
      transform: scale(1.1);
    }
    
    .floating-chat-icon img {
      width: 110px !important;
      height: 110px !important;
    }
    
    /* =========================================================================
    SCROLL TO TOP BUTTON - Shows when user scrolls down
    ========================================================================= */
    .scroll-to-top-btn {
      position: fixed;
      bottom: 80px !important; /* 10px above footer */
      right: 10px;
      width: 40px !important;
      height: 40px !important;
      background: linear-gradient(135deg, #1A2C38 0%, #0F212E 100%);
      border-radius: 4%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
      cursor: pointer;
      z-index: 9999900;
      transition: all 0.3s ease;
      opacity: 0;
      visibility: hidden;
      transform: translateY(20px);
      border: 0px solid #374151;
    }
    
    .scroll-to-top-btn.visible {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    
    .scroll-to-top-btn:hover {
      background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
      border-color: #ffc107;
      transform: translateY(-2px);
    }
    
    .scroll-to-top-btn:hover svg {
      color: #0F212E;
    }
    
    .scroll-to-top-btn svg {
      width: 30px;
      height: 30px;
      color: #ffc107;
      transition: color 0.3s ease;
    }
    
    @media (max-width: 768px) {
      .floating-chat-icon {
        bottom: 65px !important;
        left: 10px;
      }
      
      .scroll-to-top-btn {
        bottom: 65px;
        right: 20px;
        width: 45px;
        height: 45px;
      }
      
      .floating-chat-icon img {
        width: 100px;
        height: 100px;
      }
      
      .scroll-to-top-btn svg {
        width: 20px;
        height: 20px;
      }
      
      .casino-promotions-wrapper h1 {
        font-size: 27px !important;
      }
      
      .casino-promotions-wrapper h2 {
        font-size: 27px !important;
      }
      
      .casino-promotions-wrapper p {
        font-size: 15px !important;
      }
      
      .welcome-bonuses-wrapper h2 {
        font-size: 27px !important;
      }
      
      .welcome-bonuses-wrapper li {
        font-size: 15px !important;
      }
      
      .welcome-bonuses-wrapper p {
        font-size: 15px !important;
      }
      
      .sports-betting-content h1,
      .sports-betting-content h2 {
        font-size: 22px !important;
      }
      
      .sports-betting-content p,
      .sports-betting-content li {
        font-size: 14px !important;
      }
      
      .info-page-section {
        padding: 20px 15px;
      }
      
      /* Adjust card heights on mobile if needed */
      .trending-game-image,
      .game-image,
      .live-casino-image {
        height: 165px;
      }
      
      /* Adjust heart icon size on mobile */
      .heart-icon {
        width: 14px;
        height: 14px;
      }
    }

/* =========================================================================
   AUTH MODALS - SIGN IN & SIGN UP
========================================================================= */
.auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 64px;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.auth-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.auth-modal-box {
  background: #1A2C38;
  border: 1px solid #2f4553;
  border-radius: 12px;
  padding: 28px 24px;
  width: 100%;
  max-width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.25s ease;
  scrollbar-width: none;
}

.auth-modal-box::-webkit-scrollbar { display: none; }

.auth-modal-overlay.active .auth-modal-box {
  transform: translateY(0);
}

.auth-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: #0F212E;
  border: 1px solid #2f4553;
  color: #b1bad3;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s;
}

.auth-modal-close:hover {
  background: #ffc107;
  color: #000;
  border-color: #ffc107;
}

.auth-modal-logo {
  text-align: center;
  margin-bottom: 16px;
}

.auth-modal-logo img {
  height: 36px;
  object-fit: contain;
}

.auth-modal-title {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.auth-modal-subtitle {
  text-align: center;
  font-size: 0.85rem;
  color: #b1bad3;
  margin-bottom: 20px;
}

/* Tabs for email/phone login */
.auth-tabs {
  display: flex;
  background: #0F212E;
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 20px;
  gap: 4px;
}

.auth-tab {
  flex: 1;
  padding: 8px;
  border: none;
  background: transparent;
  color: #b1bad3;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-tab.active {
  background: #1A2C38;
  color: #ffc107;
  border: 1px solid #2f4553;
}

/* Input groups */
.auth-input-group {
  margin-bottom: 14px;
}

.auth-input-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #b1bad3;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.auth-input-wrapper {
  display: flex;
  align-items: center;
  background: #0F212E;
  border: 1px solid #2f4553;
  border-radius: 6px;
  padding: 10px 12px;
  gap: 10px;
  transition: border-color 0.2s;
}

.auth-input-wrapper:focus-within {
  border-color: #ffc107;
}

.auth-input-wrapper svg {
  width: 17px;
  height: 17px;
  stroke: #557086;
  flex-shrink: 0;
}

.auth-input-wrapper input,
.auth-input-wrapper select {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.9rem;
  flex: 1;
  min-width: 0;
}

.auth-input-wrapper input::placeholder {
  color: #4a5a68;
}

.auth-input-wrapper input[type="date"] {
  color-scheme: dark;
}

.auth-select-full {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.9rem;
  width: 100%;
  cursor: pointer;
}

.auth-select-full option {
  background: #1A2C38;
  color: #ffffff;
}

.auth-eye {
  cursor: pointer;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.auth-eye svg {
  width: 17px;
  height: 17px;
  stroke: #557086;
  transition: stroke 0.2s;
}

.auth-eye:hover svg { stroke: #ffc107; }

/* Phone row with country code */
.auth-phone-row {
  display: flex;
  flex: 1;
  gap: 8px;
  min-width: 0;
}

.auth-country-code {
  background: transparent;
  border: none;
  border-right: 1px solid #2f4553;
  outline: none;
  color: #ffffff;
  font-size: 0.85rem;
  padding-right: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.auth-country-code option { background: #1A2C38; }

.auth-forgot {
  text-align: right;
  margin-bottom: 18px;
  margin-top: -6px;
}

.auth-forgot a {
  color: #ffc107;
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: 600;
}

/* Terms checkbox */
.auth-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.8rem;
  color: #b1bad3;
  line-height: 1.4;
}

.auth-terms input[type="checkbox"] {
  accent-color: #ffc107;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
}

.auth-terms a {
  color: #ffc107;
  text-decoration: none;
}

/* Submit button */
.auth-submit-btn {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #ffc107, #ffb300);
  color: #0F212E;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  margin-bottom: 16px;
}

.auth-submit-btn:hover {
  background: linear-gradient(135deg, #ffca28, #ffc107);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.auth-submit-btn:active { transform: translateY(0); }

/* Switch text */
.auth-switch-text {
  text-align: center;
  font-size: 0.85rem;
  color: #b1bad3;
}

.auth-switch-text span {
  color: #ffc107;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

/* =========================================================================
   PROFILE PANEL & AUTH UI ADDITIONS
   ========================================================================= */

/* Profile panel slide transition */
#profile-panel {
  box-shadow: -4px 0 30px rgba(0,0,0,0.5);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,193,7,0.3) transparent;
}
#profile-panel::-webkit-scrollbar { width: 4px; }
#profile-panel::-webkit-scrollbar-thumb { background: rgba(255,193,7,0.3); border-radius: 2px; }

/* Nav profile avatar pulse on hover */
#nav-profile-btn:hover > div:first-child {
  box-shadow: none !important;
  transform: none;
}

/* OTP input — big centered digits */
#signin-otp-input,
#signup-otp-input {
  -moz-appearance: textfield;
  letter-spacing: 8px;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
}
#signin-otp-input::-webkit-outer-spin-button,
#signin-otp-input::-webkit-inner-spin-button,
#signup-otp-input::-webkit-outer-spin-button,
#signup-otp-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Auth error boxes */
#signin-error,
#signup-error {
  animation: authErrFadeIn 0.25s ease;
}
@keyframes authErrFadeIn {
  from { opacity:0; transform: translateY(-4px); }
  to   { opacity:1; transform: translateY(0); }
}

/* Disabled button */
.auth-submit-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

/* Profile panel action button hover */
#profile-panel button:not([onclick="handleLogout()"]):hover {
  filter: brightness(1.15);
  transition: filter 0.2s;
}

/* =========================================================================
   HEADER — LOGGED-IN: WALLET PILL + DEPOSIT + GOLD PROFILE AVATAR
========================================================================= */

/* Wallet pill container */
.nav-wallet-pill {
  display: flex;
  align-items: center;
  background: #0F212E;
  border: 1.5px solid rgba(255, 193, 7, 0.45);
  border-radius: 22px;
  overflow: hidden;
  height: 36px;
}

/* Balance side (left of pill) */
.nav-wallet-balance {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px 0 11px;
  cursor: pointer;
  height: 100%;
  transition: background 0.15s;
}

.nav-wallet-balance:hover {
  background: rgba(255, 193, 7, 0.07);
}

#nav-balance-chip {
  color: #ffc107;
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.nav-wallet-chevron {
  flex-shrink: 0;
  opacity: 0.75;
}

/* Divider between balance and deposit */
.nav-wallet-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 193, 7, 0.3);
  flex-shrink: 0;
}

/* Deposit button (right of pill) */
.nav-deposit-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #ffc107, #e6a800);
  border: none;
  color: #1A2C38;
  font-size: 11px;
  font-weight: 900;
  padding: 0 13px;
  height: 100%;
  cursor: pointer;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: filter 0.18s;
}

.nav-deposit-btn:hover {
  filter: brightness(1.1);
}

.nav-deposit-btn:active {
  filter: brightness(0.95);
}

/* Gold profile avatar circle */
.nav-profile-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffc107, #e6a800);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.4);
  flex-shrink: 0;
  transition: box-shadow 0.2s, transform 0.2s;
}

.nav-profile-avatar:hover {
  box-shadow: 0 0 18px rgba(255, 193, 7, 0.65);
  transform: none;
}

.nav-profile-avatar:active {
  transform: none;
}

/* =========================================================================
   TRENDING SPORTS SECTION - independent from trending games
   ========================================================================= */

#trending-sports-row-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

#trending-sports-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.75rem;
  transition: transform 0.3s ease;
  width: max-content;
  will-change: transform;
}

.trending-sport-card {
  flex-shrink: 0;
  width: calc((100vw - 3.5rem) / 3);
  max-width: 150px;
  min-width: 110px;
  background-color: #1A2C38;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  height: 181.5px;
}

.trending-sport-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.trending-sport-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
