* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        }

        /* Hide scrollbar but keep page scrollable */
        html, body {
            overflow-y: scroll;  /* still scrolls */
            overflow-x: hidden;
            -ms-overflow-style: none;  /* hides scrollbar in IE and Edge */
            scrollbar-width: none;  /* hides scrollbar in Firefox */
        }

        html::-webkit-scrollbar,
        body::-webkit-scrollbar {
            display: none;  /* hides scrollbar in Chrome, Safari, Opera */
        }

        body {
            background-color: #f5f5f5;
            padding: 20px;
            color: #333;
            min-height: 100vh;
        }

        /* ====== TOP BAR ====== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #252a2d;
  color: #fff;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.left-actions {
  display: flex;
  align-items: center;
  gap: 1px;
  flex: 1;
}

/* Hamburger */
.hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
}

.hamburger__bar {
  height: 2px;
  background: #7d8489;
  border-radius: 2px;
  transition: transform .18s ease;
}

/* Longest to shortest */
.hamburger__bar--1 { width: 22px; }
.hamburger__bar--2 { width: 21px; }
.hamburger__bar--3 { width: 20px; }
.hamburger__bar--4 { width: 19px; }

.hamburger-btn:hover .hamburger__bar {
  transform: translateX(2px);
}

/* Logo styles */
.logo {
  height: 26px;
  margin-left: -40px; /* keeps it very close to the hamburger */
}

/* Spacer (to keep layout centered) */
.center-spacer {
  flex: 1;
}

/* Right-side actions */
.right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 20px;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 4px;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  margin-left: 18px;
}

.balance-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: #25262be0;
    border-radius: 5px;
    overflow: hidden;
    font-weight: 600;
    border: 1px solid #858585;
    height: 26px;
    padding: 0;
    line-height: 1;
    min-width: 0;
    margin-bottom: 4px;
    }

    .balance-amount {
        color: #fff;
        padding: 4px 8px;
        font-size: 10px;
        font-weight: 600;
        white-space: nowrap;
    }

    .deposit-btn {
        background-color: #9be22d;
        color: #000;
        padding: 4px 8px;
        border: none;
        outline: none;
        font-weight: 600;
        font-size: 12px;
        cursor: pointer;
        white-space: nowrap;
        transition: background 0.2s ease-in-out;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    .deposit-btn:hover {
        background-color: #8ad926;
    }

    /* RESPONSIVE DESIGN */
    @media (max-width: 480px) {
      .balance-pill {
        height: 24px;
        border-radius: 4px;
        gap: 3px;
        top: 10px;
        margin-left: -20px;
      }

      .balance-amount {
        padding: 2px 6px;
        font-size: 11px;
      }

      .deposit-btn {
        padding: 2px 6px;
        font-size: 11px;
      }
      .logo {
    height: 26px;
    margin-left: 1px;
     }
    }





/* SECOND BAR STYLES */
.second-bar {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: 40px;
  background-color: #36393c;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #222;
  overflow: hidden;
  z-index: 999;
}

/* Scrollable container */
.scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
}
.scroll-container::-webkit-scrollbar {
  display: none;
}

/* Nav item styles */
.nav-items {
  flex: 0 0 auto;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: -8px;              /* minimal gap between icon and text */
  padding: 0 10px;
  font-size: 14px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
}

.nav-items:hover,
.nav-items.active {
  color: #9feb35; /* highlight green */
}

/* Fixed arrow */
.down-arrow {
  width: 35px;
  height: 100%;
  background-color: #36393c;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #222;
  position: sticky;
  right: 0;
  flex-shrink: 0;
  cursor: pointer;
}

.arrow-icon {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

/* Responsive */
@media (max-width: 600px) {
  .second-bar {
    height: 33px;
    top: 48px;
  }

  .nav-items {
    padding: 0 8px;
    font-size: 13px;
    gap: -4px;  /* smaller gap */
    margin-right: 4px;
  }

  .nav-icon {
    width: 32px;
    height: 32px;
  }

  .nav-icon  span {
    margin-left: 40px;
}
}

/* --- PRELOADER CONTAINER --- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* --- PRELOADER CONTENT --- */
.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

/* --- LOGO --- */
.preloader-logo {
  width: 240px;
  height: 56px;
}

/* --- LOADING BAR --- */
.loading-bar {
  width: 210px;
  height: 4px;
  background: #e5e5e5;
  border-radius: 0px;
  overflow: hidden;
  position: relative;
}

/* --- MOVING FILL --- */
.loading-fill {
  width: 35%;
  height: 90%;
  background-color: #a4e637; /* BetPawa green */
  border-radius: 0px;
  position: absolute;
  left: 0;
  animation: moveLeftRight 1.2s ease-in-out infinite;
}

/* --- ANIMATIONS --- */
@keyframes moveLeftRight {
  0% { left: 0; }
  50% { left: 60%; }
  100% { left: 0; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}



        .container {
            max-width: 600px;
            width: 100vw;
            margin-left: calc(50% - 50vw);
            margin: 0 auto;
            background-color: white;
            border-radius: 6px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            margin-top: 18px;
        }

        @media (max-width: 768px) {
          .container {
          width: 100vw;
          margin-left: calc(50% - 50vw);
          top: -25px;
         }
      }

        .header {
            width: 100%;
            background-color: #f0f0f0;
            padding: 16px 20px;
            font-size: 18px;
            font-weight: 600;
            color: #333;
            border-bottom: 1px solid #e0e0e0;
        }

        .match {
            padding: 16px 20px;
            border-bottom: 1px solid #f0f0f0;
        }

        .match:last-child {
            border-bottom: none;
        }

        .match-time {
            font-size: 13px;
            color: #666;
            margin-bottom: 8px;
        }

        .match-time strong {
            color: #121212;
        }

        .teams {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 4px;
        }

        .competition {
            font-size: 11px;
            color: #666;
            margin-bottom: 12px;
        }

        .odds-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .odds {
            display: flex;
            gap: 18px;
        }

        .odd {
            display: flex;
            flex-direction: column;
            align-items: center;
            min-width: 70px;
        }

        .odd-box {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            border-radius: 6px;
            background-color: #f4f5f0;
            padding: 8px 12px;
        }

        .odd-label {
            font-size: 12px;
            color: #666;
            font-weight: 500;
        }

        .odd-value {
            font-size: 13px;
            font-weight: 600;
        }

        .odd-box.highlight {
            background-color: #e8f4ff;
            color: #0066cc;
        }

        .odd-box.highlight .odd-value {
            position: relative;
            padding-left: 12px;
        }

        .odd-box.highlight .odd-value::before {
            content: "↑";
            position: absolute;
            left: -8px;
            font-size: 12px;
        }

        .bet-count {
            font-size: 13px;
            font-weight: 600;
            color: #1d1d1d;
            display: flex;
            align-items: center;
            padding: 7px 4px;
            background-color: #fff;
            border: #e5e5e5 1px solid;
            border-radius: 6px;
        }

        .bet-count::after {
            content: "";
            margin-left: 4px;
            font-weight: bold;
        }
