﻿/* ============================================
   Odiibet â€” App Styles
   Single consolidated stylesheet
   ============================================ */

/* â”€â”€ RESET & ROOT â”€â”€ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 70px; /* always leave room for bottom nav */
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }
img { display: block; max-width: 100%; }

/* â”€â”€ UTILITIES â”€â”€ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.section { padding: 2rem 1rem; }
.section--dark  { background: var(--dark); }
.section--black { background: var(--black); }

.section-label {
  font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 2px; color: var(--green);
  font-weight: 700; margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 900; line-height: 1.1;
  margin-bottom: 0.5rem;
}
.section-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

/* â”€â”€ BUTTONS â”€â”€ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; padding: 10px 20px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-weight: 700; font-size: 0.9rem;
  border: none; transition: all 0.2s; cursor: pointer;
}
.btn-primary { background: var(--green); color: #000; }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-large { padding: 13px 28px; font-size: 1rem; }
.btn-full {
  width: 100%; padding: 13px; background: var(--green);
  border: none; color: #000; border-radius: var(--radius-md);
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  transition: background 0.2s; cursor: pointer;
}
.btn-full:hover { background: var(--green-dark); }

/* â”€â”€ BADGES â”€â”€ */
.live-badge {
  background: var(--red); color: #fff; font-size: 0.6rem;
  font-weight: 700; padding: 2px 7px; border-radius: var(--radius-sm);
  letter-spacing: 1px; text-transform: uppercase;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); display: inline-block; animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }

/* â”€â”€ TOP NAVBAR â”€â”€ */
.top-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--dark2); border-bottom: 1px solid var(--border);
  height: 56px; display: flex; align-items: center;
  justify-content: space-between; padding: 0 1rem; gap: 0.75rem;
}
.top-nav__logo { font-family: var(--font-display); font-size: 1.7rem; font-weight: 900; color: var(--green); }
.top-nav__logo span { color: #fff; }
.top-nav__actions { display: flex; gap: 6px; align-items: center; }
.top-nav__btn {
  padding: 7px 14px; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-weight: 700; font-size: 0.82rem;
  cursor: pointer; border: none; transition: all 0.2s;
}
.top-nav__btn--ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.top-nav__btn--ghost:hover { border-color: var(--green); color: var(--green); }
.top-nav__btn--green { background: var(--green); color: #000; }
.top-nav__btn--green:hover { background: var(--green-dark); }
.top-nav__icon {
  background: none; border: none; color: var(--muted); font-size: 1.15rem;
  cursor: pointer; padding: 6px; border-radius: var(--radius-md);
  transition: color 0.2s; display: flex; align-items: center; position: relative;
}
.top-nav__icon:hover { color: var(--text); }

/* Hamburger */
.hamburger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; cursor: pointer; }
.hamburger span { width: 22px; height: 2px; background: var(--text); display: block; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* â”€â”€ SIDEBAR â”€â”€ */
.sidebar-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.75);
  z-index: 200; opacity: 0; visibility: hidden; transition: all 0.3s;
}
.sidebar-overlay.open { opacity: 1; visibility: visible; }
.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; width: 290px;
  background: var(--dark2); z-index: 201;
  transform: translateX(-100%); transition: transform 0.3s; overflow-y: auto;
}
.sidebar.open { transform: translateX(0); }
.sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--dark2); z-index: 1;
}
.sidebar-header__logo { font-family: var(--font-display); font-size: 1.4rem; font-weight: 900; color: var(--green); }
.sidebar-header__logo span { color: #fff; }
.sidebar-close { background: none; border: none; color: var(--muted); font-size: 1.5rem; cursor: pointer; }
.sidebar-section { padding: 0.5rem 0; }
.sidebar-section__label {
  padding: 8px 1.25rem 6px; font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 2px; color: var(--muted); font-weight: 700;
}
.sidebar-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 1.25rem; cursor: pointer; transition: background 0.15s;
  color: var(--text); text-decoration: none;
}
.sidebar-item:hover { background: var(--card); }
.sidebar-item.active { color: var(--green); background: rgba(0,200,83,0.07); }
.sidebar-item__left { display: flex; align-items: center; gap: 12px; font-size: 0.88rem; font-weight: 600; }
.sidebar-item__icon { font-size: 1rem; width: 22px; text-align: center; }
.sidebar-item__count { font-size: 0.75rem; color: var(--muted); background: var(--card); padding: 2px 8px; border-radius: 100px; }
.sidebar-item__badge { font-size: 0.58rem; background: var(--red); color: #fff; padding: 2px 5px; border-radius: 3px; font-weight: 700; }
.sidebar-divider { height: 1px; background: var(--border); }

/* â”€â”€ SPORT TABS â”€â”€ */
.sport-tabs {
  display: flex; overflow-x: auto; padding: 0 0.5rem;
  background: var(--dark2); border-bottom: 1px solid var(--border);
  scrollbar-width: none;
}
.sport-tabs::-webkit-scrollbar { display: none; }
.sport-tab {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 14px; cursor: pointer; border-bottom: 2px solid transparent;
  white-space: nowrap; transition: all 0.2s; flex-shrink: 0;
  color: var(--muted); font-size: 0.72rem; font-weight: 600; position: relative;
}
.sport-tab:hover { color: var(--text); }
.sport-tab.active { color: var(--green); border-bottom-color: var(--green); }
.sport-tab__icon { font-size: 1.2rem; }
.sport-tab__badge { position: absolute; top: 5px; right: 4px; background: var(--red); color: #fff; font-size: 0.52rem; font-weight: 700; padding: 1px 4px; border-radius: 3px; }

/* â”€â”€ FILTER BAR â”€â”€ */
.filter-bar { background: var(--dark); border-bottom: 1px solid var(--border); padding: 0 0.75rem; }
.filter-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab {
  padding: 9px 14px; cursor: pointer; white-space: nowrap; flex-shrink: 0;
  font-size: 0.82rem; font-weight: 600; color: var(--muted);
  border-bottom: 2px solid transparent; transition: all 0.2s;
}
.filter-tab:hover { color: var(--text); }
.filter-tab.active { color: var(--green); border-bottom-color: var(--green); }
.market-filters { display: flex; overflow-x: auto; gap: 6px; padding: 7px 0; scrollbar-width: none; }
.market-filters::-webkit-scrollbar { display: none; }
.market-btn {
  padding: 4px 12px; border-radius: 100px; font-size: 0.76rem; font-weight: 600;
  cursor: pointer; border: 1px solid var(--border); color: var(--muted);
  background: transparent; white-space: nowrap; transition: all 0.2s; flex-shrink: 0;
}
.market-btn.active { background: var(--green); border-color: var(--green); color: #000; }
.market-btn:hover:not(.active) { border-color: var(--green); color: var(--green); }

/* â”€â”€ PROMO BANNER â”€â”€ */
.promo-banner {
  margin: 8px; border-radius: var(--radius-md); overflow: hidden;
  background: linear-gradient(135deg, var(--green-deeper), #0a1a0a);
  padding: 12px 14px; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  border: 1px solid rgba(0,200,83,0.2);
}
.promo-banner__text { font-family: var(--font-display); font-size: 1rem; font-weight: 900; line-height: 1.2; }
.promo-banner__text span { color: var(--green); font-size: 1.2rem; }
.promo-banner__btn { background: var(--green); color: #000; border: none; padding: 8px 14px; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.8rem; cursor: pointer; white-space: nowrap; flex-shrink: 0; }

/* â”€â”€ ODDS HEADER â”€â”€ */
.odds-header {
  display: flex; justify-content: flex-end; align-items: center;
  padding: 5px 12px; background: var(--dark);
  font-size: 0.68rem; color: var(--muted); font-weight: 700; letter-spacing: 1px; gap: 6px;
  border-bottom: 1px solid var(--border);
}
.odds-header span { min-width: 54px; text-align: center; }

/* â”€â”€ LEAGUE GROUP â”€â”€ */
.league-group { margin-bottom: 2px; }
.league-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; background: var(--dark2);
  border-bottom: 1px solid var(--border); cursor: pointer;
  position: sticky; top: 56px; z-index: 10;
}
.league-header__left { display: flex; align-items: center; gap: 8px; }
.league-header__flag { font-size: 1rem; }
.league-header__sport { font-size: 0.68rem; color: var(--green); font-weight: 700; text-transform: uppercase; }
.league-header__name { font-size: 0.82rem; font-weight: 700; }
.league-header__count { font-size: 0.72rem; color: var(--muted); background: var(--card); padding: 2px 7px; border-radius: 100px; }
.league-header__toggle { color: var(--muted); font-size: 0.85rem; transition: transform 0.2s; }
.league-header.collapsed .league-header__toggle { transform: rotate(-90deg); }

/* â”€â”€ MATCH ROW â”€â”€ */
.match-row {
  background: var(--black); border-bottom: 1px solid rgba(42,64,42,0.35);
  padding: 9px 12px; transition: background 0.15s; cursor: pointer;
}
.match-row:hover { background: rgba(26,37,26,0.6); }
.match-row__time { font-size: 0.7rem; color: var(--muted); margin-bottom: 5px; display: flex; align-items: center; gap: 5px; }
.match-row__live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); display: inline-block; animation: pulse 1s infinite; }
.match-row__live-text { color: var(--red); font-weight: 700; font-size: 0.7rem; }
.match-row__teams { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.match-row__names { flex: 1; min-width: 0; }
.match-row__home, .match-row__away { font-size: 0.88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.5; }
.match-row__odds { display: flex; gap: 5px; flex-shrink: 0; }
.match-row__markets { margin-top: 5px; display: flex; justify-content: flex-end; }
.match-row__more { font-size: 0.7rem; color: var(--green); font-weight: 600; }

.odd-pill {
  background: var(--card); border: 1px solid var(--border);
  color: var(--text); padding: 6px 0; border-radius: var(--radius-md);
  font-size: 0.8rem; font-weight: 700; cursor: pointer;
  transition: all 0.2s; min-width: 54px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
}
.odd-pill__label { font-size: 0.58rem; color: var(--muted); font-weight: 600; text-transform: uppercase; }
.odd-pill__val { font-size: 0.88rem; font-weight: 700; }
.odd-pill:hover, .odd-pill.selected { background: var(--green); border-color: var(--green); }
.odd-pill:hover .odd-pill__val, .odd-pill.selected .odd-pill__val { color: #000; }
.odd-pill:hover .odd-pill__label, .odd-pill.selected .odd-pill__label { color: rgba(0,0,0,0.6); }

/* â”€â”€ CASINO GRID â”€â”€ */
.casino-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 8px; }
.casino-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: all 0.25s; }
.casino-card:hover { border-color: var(--green); transform: translateY(-2px); }
.casino-card__thumb { height: 100px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.casino-card__thumb--slots     { background: linear-gradient(135deg,#0d1f0d,#162416); }
.casino-card__thumb--roulette  { background: linear-gradient(135deg,#1a0d0d,#241616); }
.casino-card__thumb--poker     { background: linear-gradient(135deg,#0d0d1f,#161624); }
.casino-card__thumb--blackjack { background: linear-gradient(135deg,#1a1a0d,#242416); }
.casino-card__thumb--baccarat  { background: linear-gradient(135deg,#1a0d1a,#241624); }
.casino-card__thumb--live      { background: linear-gradient(135deg,#0d1a1a,#162424); }
.casino-card__info { padding: 10px 12px; }
.casino-card__name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 2px; }
.casino-card__desc { font-size: 0.75rem; color: var(--muted); }
.casino-tag { display: inline-block; margin-top: 5px; font-size: 0.65rem; padding: 2px 8px; border-radius: 100px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.casino-tag--hot     { background: rgba(255,23,68,0.15);  color: var(--red);   border: 1px solid rgba(255,23,68,0.3); }
.casino-tag--new     { background: rgba(0,200,83,0.15);   color: var(--green); border: 1px solid rgba(0,200,83,0.3); }
.casino-tag--popular { background: rgba(255,214,0,0.15);  color: var(--gold);  border: 1px solid rgba(255,214,0,0.3); }

/* â”€â”€ PROMO CARDS â”€â”€ */
.promo-grid { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 0 8px; }
.promo-card { border-radius: var(--radius-lg); padding: 1.5rem; position: relative; overflow: hidden; }
.promo-card--welcome { background: linear-gradient(135deg, var(--green-deeper), #0a1a0a); border: 1px solid rgba(0,200,83,0.2); }
.promo-card--reload  { background: linear-gradient(135deg, #1a1500, #0a0a00); border: 1px solid rgba(255,214,0,0.2); }
.promo-card__tag { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; margin-bottom: 4px; }
.promo-card--welcome .promo-card__tag { color: rgba(0,200,83,0.8); }
.promo-card--reload  .promo-card__tag { color: rgba(255,214,0,0.8); }
.promo-card__amount { font-family: var(--font-display); font-size: 2.5rem; font-weight: 900; line-height: 1; margin-bottom: 6px; }
.promo-card__desc { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-bottom: 1.25rem; }
.btn-claim { padding: 9px 20px; border-radius: var(--radius-sm); font-family: var(--font-body); font-weight: 700; font-size: 0.85rem; cursor: pointer; border: none; transition: all 0.2s; }
.promo-card--welcome .btn-claim       { background: var(--green); color: #000; }
.promo-card--welcome .btn-claim:hover { background: var(--green-dark); }
.promo-card--reload  .btn-claim       { background: var(--gold); color: #000; }
.promo-card--reload  .btn-claim:hover { background: #e6c000; }

/* â”€â”€ MODAL â”€â”€ */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.88); z-index: 300; display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 0; visibility: hidden; transition: all 0.25s; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal { background: var(--dark2); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2rem 1.5rem; width: 100%; max-width: 400px; position: relative; animation: modalIn 0.25s ease; }
@keyframes modalIn { from{transform:translateY(16px);opacity:0} to{transform:translateY(0);opacity:1} }
.modal__close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: var(--muted); font-size: 1.5rem; cursor: pointer; line-height: 1; transition: color 0.2s; }
.modal__close:hover { color: var(--text); }
.modal__title { font-family: var(--font-display); font-size: 1.8rem; font-weight: 900; margin-bottom: 0.25rem; }
.modal__subtitle { color: var(--muted); font-size: 0.88rem; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.4rem; }
.form-group input { width: 100%; background: var(--card); border: 1px solid var(--border); color: var(--text); padding: 11px 14px; border-radius: var(--radius-md); font-family: var(--font-body); font-size: 0.92rem; outline: none; transition: border-color 0.2s; }
.form-group input:focus { border-color: var(--green); }
.form-group input::placeholder { color: rgba(124,184,124,0.35); }
.modal__switch { text-align: center; margin-top: 1.25rem; font-size: 0.82rem; color: var(--muted); }
.modal__switch a { color: var(--green); font-weight: 600; }

/* â”€â”€ AUTH WALL â”€â”€ */
.auth-guarded { min-height: 180px; }
.login-wall { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 3rem 1.5rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); margin: 8px; }
.login-wall__icon { font-size: 2.5rem; margin-bottom: 0.75rem; opacity: 0.5; }
.login-wall__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; margin-bottom: 0.5rem; }
.login-wall__sub { color: var(--muted); font-size: 0.85rem; max-width: 320px; margin-bottom: 1.5rem; line-height: 1.6; }
.login-wall__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }

/* â”€â”€ NOTIFICATIONS â”€â”€ */
.notif-badge { position: absolute; top: 1px; right: 1px; background: var(--red); color: #fff; font-size: 0.58rem; font-weight: 700; min-width: 15px; height: 15px; border-radius: 100px; display: flex; align-items: center; justify-content: center; padding: 0 3px; line-height: 1; }
.notif-badge.hidden { display: none; }
.notif-panel { position: fixed; top: 56px; right: 8px; width: 320px; background: var(--dark2); border: 1px solid var(--border); border-radius: var(--radius-xl); z-index: 150; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all 0.25s; box-shadow: 0 8px 32px rgba(0,0,0,0.5); }
.notif-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }
.notif-panel__header { display: flex; justify-content: space-between; align-items: center; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--border); }
.notif-panel__title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; }
.notif-mark-read { background: none; border: none; color: var(--green); font-size: 0.78rem; font-weight: 600; cursor: pointer; font-family: var(--font-body); }
.notif-list { max-height: 360px; overflow-y: auto; }
.notif-item { display: flex; gap: 10px; padding: 0.85rem 1.1rem; border-bottom: 1px solid rgba(42,64,42,0.3); cursor: pointer; transition: background 0.15s; }
.notif-item:hover { background: var(--card); }
.notif-item.unread { background: rgba(0,200,83,0.04); border-left: 3px solid var(--green); }
.notif-item__icon { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; flex-shrink: 0; }
.notif-item__icon--odds   { background: rgba(0,200,83,0.15); }
.notif-item__icon--result { background: rgba(255,214,0,0.15); }
.notif-item__icon--promo  { background: rgba(41,121,255,0.15); }
.notif-item__icon--system { background: rgba(124,184,124,0.1); }
.notif-item__title { font-size: 0.82rem; font-weight: 600; margin-bottom: 2px; }
.notif-item__desc  { font-size: 0.74rem; color: var(--muted); line-height: 1.4; }
.notif-item__time  { font-size: 0.68rem; color: var(--muted); margin-top: 3px; }
.notif-empty { padding: 2.5rem; text-align: center; color: var(--muted); font-size: 0.88rem; }
.notif-empty__icon { font-size: 2rem; margin-bottom: 0.5rem; opacity: 0.3; }
.notif-panel__footer { padding: 0.65rem 1.1rem; border-top: 1px solid var(--border); text-align: center; }
.notif-panel__footer a { font-size: 0.8rem; color: var(--green); font-weight: 600; }
.notif-backdrop { position: fixed; inset: 0; z-index: 149; display: none; }
.notif-backdrop.open { display: block; }

/* â”€â”€ SEARCH OVERLAY â”€â”€ */
.search-overlay { position: fixed; inset: 0; background: rgba(6,10,6,0.97); z-index: 300; display: flex; flex-direction: column; padding: 1rem; opacity: 0; visibility: hidden; transition: all 0.2s; }
.search-overlay.open { opacity: 1; visibility: visible; }
.search-bar { display: flex; align-items: center; gap: 0.75rem; background: var(--card); border: 1px solid var(--green); border-radius: var(--radius-lg); padding: 0 1rem; margin-top: 3.5rem; }
.search-bar__icon { color: var(--green); font-size: 1.1rem; flex-shrink: 0; }
.search-bar input { flex: 1; background: none; border: none; color: var(--text); font-family: var(--font-body); font-size: 1rem; padding: 0.9rem 0; outline: none; }
.search-bar input::placeholder { color: rgba(124,184,124,0.35); }
.search-close { background: none; border: none; color: var(--muted); font-size: 1.4rem; cursor: pointer; padding: 4px; flex-shrink: 0; }
.search-results { flex: 1; overflow-y: auto; margin-top: 1rem; }
.search-results__label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); font-weight: 700; margin-bottom: 0.5rem; margin-top: 1rem; }
.search-result-item { display: flex; align-items: center; gap: 0.75rem; padding: 10px 12px; border-radius: var(--radius-md); cursor: pointer; transition: background 0.15s; }
.search-result-item:hover { background: var(--card); }
.search-result-item__icon { width: 36px; height: 36px; background: var(--card2); border: 1px solid var(--border); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.search-result-item__info { flex: 1; min-width: 0; }
.search-result-item__title { font-weight: 600; font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-result-item__meta  { font-size: 0.72rem; color: var(--muted); margin-top: 1px; }
.search-empty { text-align: center; padding: 3rem; color: var(--muted); }
.search-empty__icon { font-size: 2.5rem; opacity: 0.25; margin-bottom: 0.75rem; }
.search-trending { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0.5rem; }
.search-trending__chip { background: var(--card); border: 1px solid var(--border); color: var(--muted); padding: 5px 12px; border-radius: 100px; font-size: 0.78rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.search-trending__chip:hover { border-color: var(--green); color: var(--green); }

/* â”€â”€ DASHBOARD â”€â”€ */
.dash-layout { display: flex; min-height: calc(100vh - 56px - 62px); }
.dash-sidebar { width: 240px; background: var(--dark2); border-right: 1px solid var(--border); padding: 1.5rem 1rem; flex-shrink: 0; }
.dash-main { flex: 1; padding: 1.5rem; background: var(--black); overflow-y: auto; }
.balance-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1rem; }
.balance-card--main { border-color: rgba(0,200,83,0.3); }
.balance-card__label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 0.6rem; }
.balance-card__amount { font-family: var(--font-display); font-size: 2rem; font-weight: 900; color: var(--green); }
.balance-card__sub { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }

/* â”€â”€ BET TABLE â”€â”€ */
.bet-table-wrap { overflow-x: auto; }
.bet-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.bet-table th { text-align: left; padding: 8px 12px; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); border-bottom: 1px solid var(--border); white-space: nowrap; }
.bet-table td { padding: 12px; border-bottom: 1px solid rgba(42,64,42,0.4); vertical-align: middle; }
.bet-table tr:last-child td { border-bottom: none; }
.bet-table tr:hover td { background: var(--card); }
.status-badge { display: inline-block; padding: 2px 8px; border-radius: 100px; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.status-badge--won    { background: rgba(0,200,83,0.15); color: var(--green); border: 1px solid rgba(0,200,83,0.3); }
.status-badge--lost   { background: rgba(255,23,68,0.12); color: var(--red);   border: 1px solid rgba(255,23,68,0.3); }
.status-badge--open   { background: rgba(255,214,0,0.12); color: var(--gold);  border: 1px solid rgba(255,214,0,0.3); }
.status-badge--void   { background: rgba(124,184,124,0.1);color: var(--muted); border: 1px solid var(--border); }

/* â”€â”€ DEPOSIT â”€â”€ */
.deposit-tabs { display: flex; gap: 3px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 3px; margin-bottom: 1.5rem; }
.deposit-tab { flex: 1; padding: 9px; border-radius: var(--radius-md); border: none; background: transparent; color: var(--muted); font-family: var(--font-body); font-weight: 700; font-size: 0.85rem; cursor: pointer; transition: all 0.2s; text-align: center; }
.deposit-tab.active { background: var(--green); color: #000; }
.amount-presets { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 1rem; }
.amount-preset { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 10px; text-align: center; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.amount-preset:hover, .amount-preset.active { background: rgba(0,200,83,0.12); border-color: var(--green); color: var(--green); }
.payment-methods { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; margin-bottom: 1.25rem; }
.payment-method { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px; text-align: center; cursor: pointer; transition: all 0.2s; }
.payment-method:hover, .payment-method.active { border-color: var(--green); background: rgba(0,200,83,0.08); }
.payment-method__icon { font-size: 1.6rem; margin-bottom: 3px; }
.payment-method__name { font-size: 0.72rem; font-weight: 600; color: var(--muted); }
.payment-method.active .payment-method__name { color: var(--green); }

/* â”€â”€ LEGAL â”€â”€ */
.legal-layout { max-width: 720px; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.legal-header { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.legal-header h1 { font-family: var(--font-display); font-size: 2.2rem; font-weight: 900; margin-bottom: 0.5rem; }
.legal-meta { display: flex; gap: 1.5rem; font-size: 0.78rem; color: var(--muted); }
.legal-body h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin: 1.5rem 0 0.75rem; }
.legal-body p { color: rgba(232,245,233,0.72); font-size: 0.88rem; line-height: 1.8; margin-bottom: 0.75rem; }
.legal-body ul { padding-left: 1.25rem; margin-bottom: 0.75rem; }
.legal-body li { color: rgba(232,245,233,0.72); font-size: 0.88rem; line-height: 1.8; margin-bottom: 3px; }
.legal-highlight { background: rgba(0,200,83,0.07); border: 1px solid rgba(0,200,83,0.2); border-radius: var(--radius-md); padding: 0.85rem 1rem; margin: 1rem 0; font-size: 0.84rem; line-height: 1.7; }

/* â”€â”€ EMPTY STATES â”€â”€ */
.empty-state { padding: 3rem 1rem; text-align: center; color: var(--muted); }
.empty-state__icon { font-size: 2.5rem; margin-bottom: 0.75rem; opacity: 0.25; }

/* â”€â”€ RESPONSIVE â”€â”€ */
@media (min-width: 768px) {
  .casino-grid { grid-template-columns: repeat(3,1fr); }
  .promo-grid  { grid-template-columns: repeat(2,1fr); }
  .amount-presets { grid-template-columns: repeat(4,1fr); }
  .payment-methods { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 480px) {
  .amount-presets { grid-template-columns: repeat(2,1fr); }
  .casino-grid { grid-template-columns: repeat(2,1fr); }
}
/* Extra pages */
.page{
  padding:76px 12px 90px;
  max-width:1100px;
  margin:0 auto;
}

.panel{
  background:var(--card, #101810);
  border:1px solid var(--border, #243524);
  border-radius:16px;
  padding:18px;
  margin-bottom:14px;
}

.panel h1,
.panel h2{
  margin:0 0 8px;
}

.muted{
  color:var(--muted, #9aa89a);
}

.profile-hero{
  background:linear-gradient(135deg,#071407,#0d2a12);
  border:1px solid var(--border, #243524);
  border-radius:18px;
  padding:18px;
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:14px;
}

.avatar{
  width:64px;
  height:64px;
  border-radius:50%;
  background:var(--green, #00c853);
  color:#001b08;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
  font-weight:900;
}

.wallet-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:10px;
  margin-bottom:14px;
}

.wallet-card{
  background:var(--card, #101810);
  border:1px solid var(--border, #243524);
  border-radius:14px;
  padding:14px;
}

.wallet-card span{
  display:block;
  color:var(--muted, #9aa89a);
  font-size:12px;
  margin-bottom:6px;
}

.wallet-card strong{
  color:var(--green, #00c853);
  font-size:22px;
}

.action-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:10px;
  margin-bottom:14px;
}

.action-card{
  background:var(--card, #101810);
  border:1px solid var(--border, #243524);
  color:var(--text, #fff);
  padding:16px;
  border-radius:14px;
  text-decoration:none;
  font-weight:700;
  text-align:center;
  cursor:pointer;
}

.action-card:hover{
  border-color:var(--green, #00c853);
  color:var(--green, #00c853);
}

.form-label{
  display:block;
  margin:12px 0 6px;
  color:var(--muted, #9aa89a);
  font-size:13px;
  font-weight:700;
}

.form-control{
  width:100%;
  background:#071007;
  border:1px solid var(--border, #243524);
  color:var(--text, #fff);
  border-radius:10px;
  padding:12px;
  outline:none;
  margin-bottom:8px;
}

.form-control:focus{
  border-color:var(--green, #00c853);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--green, #00c853);
  color:#001b08;
  border:none;
  border-radius:10px;
  padding:10px 14px;
  font-weight:800;
  text-decoration:none;
  cursor:pointer;
}

.btn.ghost{
  background:transparent;
  border:1px solid var(--border, #243524);
  color:var(--text, #fff);
}

.btn.small{
  padding:7px 10px;
  font-size:13px;
}

.btn.full{
  width:100%;
  margin-top:10px;
}

.danger{
  border-color:#7a1f1f;
}

.danger-btn{
  background:#ff1744;
  color:#fff;
}

.table-card{
  border:1px solid var(--border, #243524);
  border-radius:12px;
  overflow:hidden;
}

.table-row{
  display:flex;
  justify-content:space-between;
  padding:12px;
  border-bottom:1px solid var(--border, #243524);
}

.table-row:last-child{
  border-bottom:none;
}

.status-card{
  border:1px solid var(--border, #243524);
  background:#071007;
  padding:14px;
  border-radius:12px;
  font-weight:800;
}

.status-card.pending{
  color:#ffd600;
}

.referral-box{
  background:#071007;
  border:1px solid var(--border, #243524);
  border-radius:14px;
  padding:16px;
  display:grid;
  gap:8px;
}

.referral-box strong{
  color:var(--green, #00c853);
  font-size:24px;
  letter-spacing:1px;
}

.progress{
  height:10px;
  background:#071007;
  border-radius:999px;
  overflow:hidden;
  margin:14px 0 8px;
}

.progress-fill{
  height:100%;
  background:var(--green, #00c853);
}

.notice-card{
  background:#071007;
  border:1px solid var(--border, #243524);
  border-radius:14px;
  padding:14px;
  margin-bottom:10px;
}

.notice-card strong{
  display:block;
  color:var(--text, #fff);
}

.notice-card span{
  color:var(--muted, #9aa89a);
  font-size:13px;
}

.notice-card.unread{
  border-color:var(--green, #00c853);
}

.topbar{
  position:fixed;
  top:0;
  left:0;
  right:0;
  height:56px;
  z-index:1000;
  background:#050905;
  border-bottom:1px solid var(--border, #243524);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 12px;
}

.brand{
  color:var(--green, #00c853);
  text-decoration:none;
  font-weight:900;
  font-size:20px;
}

.hamburger{
  background:transparent;
  border:0;
  color:#fff;
  font-size:22px;
  cursor:pointer;
}

.top-actions{
  display:flex;
  align-items:center;
  gap:8px;
}

/* Auth modal */
.auth-modal{
  position:fixed;
  inset:0;
  z-index:3000;
  display:none;
}

.auth-modal.open{
  display:block;
}

.auth-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.72);
}

.auth-box{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:min(420px,92vw);
  background:#091009;
  border:1px solid var(--border,#243524);
  border-radius:18px;
  padding:20px;
  color:var(--text,#fff);
}

.auth-close{
  position:absolute;
  top:10px;
  right:12px;
  background:transparent;
  border:0;
  color:#fff;
  font-size:24px;
  cursor:pointer;
}

.auth-switch{
  color:var(--muted,#9aa89a);
  text-align:center;
  margin-bottom:0;
}

.auth-switch button{
  background:transparent;
  border:0;
  color:var(--green,#00c853);
  font-weight:800;
  cursor:pointer;
}

/* Betslip */
.betslip-panel{
  position:fixed;
  inset:0;
  z-index:2500;
  display:none;
}

.betslip-panel.open{
  display:block;
}

.betslip-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.65);
}

.betslip-sheet{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  max-height:85vh;
  overflow:auto;
  background:#091009;
  border-top:1px solid var(--border,#243524);
  border-radius:22px 22px 0 0;
  color:var(--text,#fff);
}

.betslip-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px;
  border-bottom:1px solid var(--border,#243524);
}

.betslip-head button{
  background:transparent;
  border:0;
  color:#fff;
  font-size:26px;
  cursor:pointer;
}

.betslip-body{
  padding:12px;
}

.empty-slip{
  text-align:center;
  padding:30px 12px;
  color:var(--muted,#9aa89a);
}

.empty-slip strong{
  display:block;
  color:#fff;
  margin-bottom:6px;
}

.slip-item{
  display:flex;
  justify-content:space-between;
  gap:10px;
  background:#071007;
  border:1px solid var(--border,#243524);
  border-radius:14px;
  padding:12px;
  margin-bottom:8px;
}

.slip-item strong{
  display:block;
  font-size:14px;
}

.slip-item span{
  display:block;
  color:var(--muted,#9aa89a);
  font-size:12px;
  margin-top:3px;
}

.slip-odd{
  display:flex;
  align-items:center;
  gap:8px;
}

.slip-odd b{
  color:var(--green,#00c853);
}

.slip-odd button{
  background:#231010;
  border:1px solid #7a1f1f;
  color:#ff1744;
  width:28px;
  height:28px;
  border-radius:50%;
  cursor:pointer;
}

.betslip-footer{
  padding:14px;
  border-top:1px solid var(--border,#243524);
}

.slip-summary{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:10px 0;
}

.slip-summary div{
  background:#071007;
  border:1px solid var(--border,#243524);
  border-radius:12px;
  padding:10px;
}

.slip-summary span{
  display:block;
  color:var(--muted,#9aa89a);
  font-size:12px;
}

.slip-summary strong{
  color:var(--green,#00c853);
}

/* Sidebar */
.app-sidebar{
  position:fixed;
  inset:0;
  z-index:2400;
  display:none;
}

.app-sidebar.open{
  display:block;
}

.side-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.65);
}

.side-panel{
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  width:min(320px,86vw);
  background:#091009;
  border-right:1px solid var(--border,#243524);
  padding:14px;
  overflow:auto;
}

.side-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0 14px;
  border-bottom:1px solid var(--border,#243524);
  margin-bottom:8px;
}

.side-head strong{
  color:var(--green,#00c853);
  font-size:22px;
}

.side-head button{
  background:transparent;
  border:0;
  color:#fff;
  font-size:26px;
  cursor:pointer;
}

.side-panel a{
  display:block;
  color:#fff;
  text-decoration:none;
  padding:13px 10px;
  border-radius:10px;
  font-weight:700;
}

.side-panel a:hover{
  background:rgba(0,200,83,.12);
  color:var(--green,#00c853);
}

/* Locked sections */
.locked{
  filter:blur(2px);
  opacity:.55;
  pointer-events:none;
}

/* LOGIN REGISTER FINAL FIX CSS */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  width: 100%;
  max-width: 360px;
  background: #0f1a0f;
  border: 1px solid rgba(0,200,83,.35);
  border-radius: 18px;
  padding: 22px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.auth-form h2 {
  color: #00c853;
  margin-bottom: 16px;
}

.auth-form input {
  width: 100%;
  padding: 13px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid #2a402a;
  background: #071007;
  color: #fff;
  outline: none;
}

.auth-form button[type="submit"] {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 10px;
  background: #00c853;
  color: #000;
  font-weight: 800;
  cursor: pointer;
}

.auth-form p {
  margin-top: 14px;
  color: #aaa;
  text-align: center;
  font-size: 14px;
}

.auth-form span {
  color: #00c853;
  cursor: pointer;
  font-weight: 700;
}

