/* =====================
   CSS VARIABLES
===================== */
:root {
  --bg-primary: #01003A;
  --bg-secondary: #001440;
  --bg-card: #002266;
  --bg-card-hover: #002b7a;
  --accent-blue: #003994;
  --accent-green: #51E684;
  --accent-green-dark: #A1DE81;
  --accent-green-light: #A1DE81;
  --text-primary: #ffffff;
  --text-secondary: #7a9fd4;
  --text-muted: #3a5a8a;
  --border-color: #003070;
  --live-red: #ef5350;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 999px;
  --font: 'Inter', sans-serif;
  --bottom-nav-h: 70px;
}

/* =====================
   RESET & BASE
===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  padding-bottom: calc(var(--bottom-nav-h) + 16px);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
a { text-decoration: none; color: inherit; }
input { font-family: var(--font); }

/* =====================
   SCROLLBAR
===================== */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }

/* =====================
   HEADER
===================== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-primary);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  height: 32px;
  width: auto;
}

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

.btn-gift {
  width: 36px;
  height: 36px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.btn-register {
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--accent-green);
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
}

.btn-enter {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.8rem;
  border: 2px solid #fff;
}

/* =====================
   SEARCH
===================== */
.search-bar {
  margin: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1A194D;
  border-radius: 8px;
  padding: 10px 16px;
}

.search-bar i {
  color: #BABACA;
  font-size: 1rem;
}

.search-bar input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  width: 100%;
}

.search-bar input::placeholder { color: var(--text-primary); }

/* =====================
   CAROUSEL BASE
===================== */
.carousel {
  overflow: hidden;
  position: relative;
}

.carousel__track {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.carousel__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-color);
  transition: all 0.3s;
  cursor: pointer;
}

.carousel__dot.active {
  background: var(--accent-green);
  width: 18px;
  border-radius: var(--radius-full);
}

/* =====================
   BANNER CAROUSEL
===================== */
.banner-carousel {
  margin: 0 16px 16px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.banner-carousel .carousel__track { border-radius: var(--radius-lg); }

.carousel__item {
  min-width: 100%;
  flex-shrink: 0;
}

.banner-item {
  height: 160px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.banner-item--1 { background: linear-gradient(135deg, #001a4d 0%, #003994 50%, #0050c8 100%); }
.banner-item--2 { background: linear-gradient(135deg, #002060 0%, #003994 50%, #0044b0 100%); }
.banner-item--3 { background: linear-gradient(135deg, #001430 0%, #002d7a 50%, #003994 100%); }

.banner-item::after {
  content: '';
  position: absolute;
  right: -20px;
  top: -20px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(81,230,132,0.15) 0%, transparent 70%);
  pointer-events: none;
}


.banner-sub {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent-green);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}


.btn-saiba {
  margin-top: 10px;
  padding: 6px 14px;
  background: var(--accent-green);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

/* =====================
   QUICK CATEGORIES
===================== */
.quick-categories {
  padding: 0 16px 16px;
}

.quick-categories__track {
  display: flex;
  justify-content: space-between;
  gap: 4px;
}

.quick-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.quick-cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.quick-cat-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block !important;
}

.quick-cat-icon i {
  font-size: 1.3rem;
  color: var(--accent-green);
  display: none;
  align-items: center;
  justify-content: center;
}

.quick-cat-item span {
  font-size: 0.62rem;
  color: var(--text-secondary);
  white-space: nowrap;
  text-align: center;
}

/* =====================
   SECTIONS
===================== */
.section {
  padding: 0 16px 20px;
}

.section--last { padding-bottom: 8px; }

.section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section__subheader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.section__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section__header .section__title { margin-bottom: 0; }

.section__more {
  font-size: 0.78rem;
  color: var(--text-primary);
  font-weight: 600;
  border-bottom: 1px solid var(--text-primary);
}

/* =====================
   GAMES CAROUSEL
===================== */
.games-carousel {
  margin: 0 -16px;
  padding: 0 16px;
  overflow: visible;
}

.games-carousel .carousel__track {
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.games-carousel .carousel__track::-webkit-scrollbar { display: none; }

.game-card {
  flex-shrink: 0;
  width: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.game-card__img {
  width: 160px;
  height: 120px;
  border-radius: var(--radius-md);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
  overflow: hidden;
  opacity: 0.7;
  z-index: -1;
}

.game-card__img--1 { background: linear-gradient(180deg, #001a4d 0%, #003994 50%, #0055cc 100%); }
.game-card__img--2 { background: linear-gradient(180deg, #002060 0%, #0033aa 50%, #0044d4 100%); }
.game-card__img--3 { background: linear-gradient(180deg, #001430 0%, #002d7a 50%, #003994 100%); }
.game-card__img--4 { background: linear-gradient(180deg, #001a3d 0%, #003080 50%, #0044b0 100%); }

.game-card__img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.8) 100%);
}

.game-card__provider {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.55rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  z-index: 1;
}

.game-card__name {
  position: relative;
  z-index: 1;
  font-size: 0.8rem;
  font-weight: 900;
  color: #fff;
}

/* =====================
   LEAGUES
===================== */
.leagues-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.leagues-grid::-webkit-scrollbar { display: none; }

.league-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 500;
  border: 1.5px solid var(--border-color);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.league-btn:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.league-btn.active {
  border-color: var(--accent-green);
  background: rgba(81, 230, 132, 0.1);
  color: var(--accent-green);
}

.league-flag {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
}

/* =====================
   PARTIDAS ICONS
===================== */
.partidas-icons {
  display: flex;
  gap: 6px;
}

.partida-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border: 1px solid var(--border-color);
  transition: all 0.2s;
}

.partida-icon-btn.active {
  background: var(--accent-green);
  color: #000;
  border-color: var(--accent-green);
}

/* =====================
   AO VIVO LABEL
===================== */
.ao-vivo-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live-red);
  animation: pulse-live 1.5s infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* =====================
   SPORT TABS
===================== */
.sport-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 12px;
}

.sport-tabs::-webkit-scrollbar { display: none; }

.sport-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  padding-bottom: 22px;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.72rem;
  font-weight: 500;
  border: 1.5px solid transparent;
  flex-shrink: 0;
  transition: all 0.2s;
}

.sport-tab i { font-size: 1.2rem; }

.sport-tab.active {
  border-color: var(--accent-green);
  color: var(--accent-green);
}

/* =====================
   MATCHES
===================== */
.matches-list {
  display: flex;
  flex-direction: row;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.matches-list::-webkit-scrollbar { display: none; }

.loading-matches {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.loading-matches i { animation: spin 1s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

.match-card {
  flex-shrink: 0;
  width: 220px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 12px;
  border: 1px solid var(--border-color);
}

.match-card__time {
  font-size: 0.72rem;
  color: var(--accent-green);
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.match-card__time .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live-red);
}

.match-card__teams {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.match-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.match-team__info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.match-team__flag {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--border-color);
}

.match-team__name {
  font-size: 0.85rem;
  font-weight: 500;
}

.match-team__score {
  font-size: 0.95rem;
  font-weight: 700;
  min-width: 16px;
  text-align: right;
}

.match-odds {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.match-odd-btn {
  flex: 1;
  padding: 7px 4px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.match-odd-btn:hover { border-color: var(--accent-green); }

.match-odd-btn span:first-child {
  font-size: 0.65rem;
  color: var(--text-secondary);
}

.match-odd-btn span:last-child {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* =====================
   SUPER ODDS
===================== */
.super-odds-list {
  display: flex;
  flex-direction: row;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.super-odds-list::-webkit-scrollbar { display: none; }

.super-odd-card {
  flex-shrink: 0;
  width: 220px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 12px;
  border: 1px solid var(--border-color);
}

.super-odd-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.super-odd-icon { color: var(--accent-green); font-size: 1rem; }

.super-odd-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.super-odd-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.super-odd-btns {
  display: flex;
  gap: 8px;
}

/* =====================
   ODD BUTTONS
===================== */
.odd-btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s;
  cursor: pointer;
}

.odd-btn:hover {
  background: var(--accent-green);
  color: #000;
}

.odd-btn--ghost {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1.5px solid var(--border-color);
}




/* =====================
   CASINO CAROUSEL
===================== */
.casino-carousel {
  overflow: hidden;
  margin: 0 -4px;
}

.casino-carousel__track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px;
}

.casino-carousel__track::-webkit-scrollbar { display: none; }

.casino-card { flex-shrink: 0; }

.casino-card__img {
  width: 150px;
  height: 100px;
  border-radius: var(--radius-md);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8px;
  overflow: hidden;
  opacity: 0.8;
}

.casino-card__img--1 { background: linear-gradient(135deg, #001a4d, #003994); }
.casino-card__img--2 { background: linear-gradient(135deg, #002060, #0044b0); }
.casino-card__img--3 { background: linear-gradient(135deg, #001430, #002d7a); }

.casino-card__img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 20%, rgba(0,0,0,0.75) 100%);
}

.casino-card__badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0,0,0,0.7);
  color: var(--text-secondary);
  font-size: 0.6rem;
  padding: 3px 6px;
  border-radius: var(--radius-sm);
  z-index: 1;
}

.casino-card__name {
  position: relative;
  z-index: 1;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  opacity: 1;
}

.casino-card__name small {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.6);
  font-weight: 700;
  opacity: 1;
}

/* =====================
   APOSTAS
===================== */
.apostas-list {
  display: flex;
  flex-direction: row;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.apostas-list::-webkit-scrollbar { display: none; }

.aposta-card {
  flex-shrink: 0;
  width: 220px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 12px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aposta-card__left { flex: 1; }

.aposta-teams {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.aposta-sport-icon { color: var(--accent-green); font-size: 0.9rem; }

.aposta-teams span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.aposta-result {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.aposta-date {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* =====================
   BOTTOM NAV
===================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-h);
  background: #003994;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
  z-index: 200;
  backdrop-filter: blur(12px);
}

.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 10px;
  color: #AFB1B6;
  font-size: 0.65rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.bottom-nav__item i { font-size: 1.3rem; }

.bottom-nav__item.active {
  color: var(--accent-green);
}

.bottom-nav__item--center {
  position: relative;
  top: -10px;
}

.bottom-nav__center-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 20px rgba(81, 230, 132, 0.4);
}

.bottom-nav__center-btn i {
  font-size: 1.4rem;
  color: var(--accent-blue);
}

.bottom-nav__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: #fff;
  color: var(--accent-blue);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
}

.bottom-nav__item--center span {
  font-size: 0.65rem;
  color: #AFB1B6;
}

/* =====================
   RESPONSIVE ADJUSTMENTS
===================== */
@media (max-width: 360px) {
  .banner-content h2 span { font-size: 2rem; }
  .game-card { width: 110px; }
  .game-card__img { width: 110px; height: 140px; }
}

@media (min-width: 480px) {
  body { max-width: 480px; margin: 0 auto; }
  .bottom-nav { max-width: 480px; left: 50%; transform: translateX(-50%); }
  .header { max-width: 480px; }


}


/* =====================
   HEADER LOGADO
===================== */
.header__right--logged {
  gap: 8px;
}

.btn-wallet {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.btn-wallet:hover {
  border-color: var(--accent-green);
  background: var(--bg-card-hover);
}

.btn-wallet i { color: var(--accent-green); font-size: 1rem; }

.btn-avatar {
  padding: 0;
  background: none;
  border: none;
}

.avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-blue);
  border: 2.5px solid var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.avatar-circle:hover {
  transform: scale(1.06);
  border-color: #fff;
}

.hidden { display: none !important; }

/* =====================
   PROFILE OVERLAY
===================== */
.profile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 300;
  backdrop-filter: blur(2px);
  animation: fadeOverlay 0.25s ease;
}

.profile-overlay.active { display: block; }

@keyframes fadeOverlay {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* =====================
   PROFILE PANEL
===================== */
.profile-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 88%;
  max-width: 340px;
  height: 100vh;
  background: #001236;
  z-index: 400;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  scrollbar-width: none;
}

.profile-panel::-webkit-scrollbar { display: none; }

.profile-panel.active {
  transform: translateX(0);
}

.profile-panel__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 16px 16px;
  border-bottom: 1px solid var(--border-color);
}

.profile-panel__avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: var(--accent-blue);
  border: 2px solid var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
}

.profile-panel__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.profile-panel__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-panel__email {
  font-size: 0.72rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-panel__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.profile-panel__close:hover { background: var(--bg-card-hover); }

.profile-panel__balance {
  margin: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.balance-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.balance-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-green);
}

.btn-deposit {
  margin-top: 4px;
  padding: 10px;
  background: var(--accent-green);
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font);
  transition: opacity 0.2s;
}

.btn-deposit:hover { opacity: 0.88; }

.profile-panel__nav {
  display: flex;
  flex-direction: column;
  padding: 0 16px 32px;
  gap: 4px;
}

.profile-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s;
  border-bottom: 1px solid var(--border-color);
}

.profile-nav-item:last-child { border-bottom: none; }

.profile-nav-item i:first-child {
  font-size: 1.2rem;
  color: var(--text-secondary);
  width: 22px;
  text-align: center;
}

.profile-nav-item:hover { background: var(--bg-card); }

.profile-nav-arrow {
  margin-left: auto;
  color: var(--text-muted) !important;
  font-size: 0.9rem !important;
}

.profile-nav-item--danger { color: #ef5350; }
.profile-nav-item--danger i:first-child { color: #ef5350; }

/* =====================
   LOGIN ERROR MSG
===================== */
.login-error-msg {
  font-size: 0.82rem;
  color: #ef5350;
  font-weight: 500;
  background: rgba(239, 83, 80, 0.1);
  border: 1px solid rgba(239, 83, 80, 0.3);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: none;
}


/* =====================
   AVATAR UPLOAD
===================== */
.profile-panel__avatar {
  position: relative;
  cursor: pointer;
}

.profile-panel__avatar:hover .avatar-upload-hint {
  opacity: 1;
}

.avatar-upload-hint {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  font-size: 1rem;
  color: #fff;
}

#avatarFileInput { display: none; }

.profile-panel__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}


/* =====================
   BANNER — imagem de fundo
===================== */
.banner-item {
  position: relative;
  background: linear-gradient(135deg, #001a4d 0%, #003994 100%); /* fallback */
}

.banner-item__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

/* Garante que o texto fique por cima da imagem */
.banner-item .banner-content {
  position: relative;
  z-index: 1;
}

/* Overlay escuro sobre a imagem do banner */
.banner-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  border-radius: var(--radius-lg);
  z-index: 0;
  pointer-events: none;
}

/* =====================
   GAME CARD — imagem de fundo
===================== */
.game-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* =====================
   CASINO CARD — imagem de fundo
===================== */
.casino-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* =====================
   QUICK CATEGORIES — imagens
===================== */
.quick-cat-icon {
  position: relative;
  overflow: hidden;
}

.quick-cat-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* Ícone fallback centralizado quando imagem falha */
.quick-cat-icon i {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-green);
}