/* ============================================================
   BET777 Casino - Dark Theme Stylesheet
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --bg-primary: #0d0d0d;
  --bg-secondary: #1a1a1a;
  --bg-card: #1f1f1f;
  --bg-navbar: #111111;
  --bg-sidebar: #1a1a1e;
  --green: #0f6b2f;
  --green-hover: #0d5526;
  --gold: #f59e0b;
  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --border: #2d2d2d;
  --navbar-height: 64px;
  --sidebar-width: 210px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --transition: 0.2s ease;
}

/* --- CSS Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 14px;
}

/* --- Scrollbar Styling --- */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: #3d3d3d;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 38px;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  background: var(--bg-navbar);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  gap: 12px;
  z-index: 100;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar-center {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-hamburger {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

.navbar-hamburger:hover {
  color: var(--text-primary);
}

.logo-text {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #facc15;
}

.logo-accent {
  color: #facc15;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Nav tabs (Casino / Esportes) */
.nav-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color var(--transition);
}

.nav-tab:hover {
  color: var(--text-primary);
}

.nav-tab.active {
  color: #fff;
  border-bottom-color: var(--gold);
}

.btn-primary {
  background: var(--green);
  color: #fff;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  transition: background var(--transition), transform var(--transition);
}

.btn-primary:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
}

.btn-balance {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 9px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}

.btn-balance:hover {
  border-color: #444;
  color: var(--text-primary);
}

.btn-user {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  width: 34px;
  height: 34px;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}

.btn-user:hover {
  border-color: #444;
  color: var(--text-primary);
}


/* ============================================================
   SIDEBAR TOGGLE (mobile)
   ============================================================ */
.sidebar-toggle {
  display: none;
  position: fixed;
  top: 60px;
  left: 12px;
  z-index: 200;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 18px;
}

/* ============================================================
   PAGE LAYOUT
   ============================================================ */
.page-body {
  display: flex;
  padding-top: calc(var(--navbar-height) + 38px);
  min-height: 100vh;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  position: fixed;
  top: calc(var(--navbar-height) + 38px);
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--bg-sidebar);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  overflow-y: auto;
  z-index: 90;
  padding: 0;
}

/* Sidebar Tabs */
.sidebar-tabs {
  display: flex;
  padding: 0;
}

.sidebar-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 14px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color var(--transition);
}

.sidebar-tab:hover {
  color: var(--text-primary);
}

.sidebar-tab.active {
  color: #fff;
  border-bottom-color: var(--gold);
}

/* Sidebar Promo Buttons */
.sidebar-promos {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 12px;
}

/* Sidebar Nav Links (below promos) */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px 0 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #b0b0b8;
  font-size: 13px;
  font-weight: 400;
  border-radius: 0;
  transition: background var(--transition), color var(--transition);
}

.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.sidebar-link.active {
  background: rgba(15, 107, 47, 0.15);
  color: var(--green);
}

.sidebar-icon {
  width: 24px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-icon svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  stroke: #8a8a95;
}

.sidebar-icon-lg {
  width: 28px;
  height: 26px;
}

.sidebar-icon-lg svg {
  width: 26px;
  height: 26px;
}

.sidebar-link:hover .sidebar-icon svg {
  stroke: #fff;
}

.sidebar-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.sidebar-promo:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.sidebar-promo svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.sidebar-promo-green {
  background: linear-gradient(135deg, #0f6b2f, #0d5526);
}

.sidebar-promo-gold {
  background: linear-gradient(135deg, #eab308, #ca8a04);
  color: #fff;
}

.sidebar-promo-gold svg {
  stroke: #fff;
}

.sidebar-promo-dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 500;
}

/* Sidebar overlay for mobile */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 85;
}

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

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 24px 28px 48px;
  max-width: 100%;
  overflow-x: hidden;
}

/* ============================================================
   REFERRAL BAR
   ============================================================ */
.referral-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #1a1a1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 16px;
  height: 38px;
}

.referral-text {
  font-size: 13px;
  color: #c0c0c0;
}

.referral-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
}

.referral-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero-banner {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 28px;
  height: 310px;
}

.carousel-track {
  width: 100%;
  height: 100%;
}

.hero-img {
  width: 102%;
  height: 102%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.6);
}

.carousel-prev {
  left: 12px;
}

.carousel-next {
  right: 12px;
}

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-dot.active {
  background: #fff;
  width: 20px;
  border-radius: 4px;
}

/* ============================================================
   SEARCH BAR
   ============================================================ */
.search-wrapper {
  position: relative;
  margin-bottom: 28px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--text-secondary);
  pointer-events: none;
}

.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px 12px 44px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  transition: border-color var(--transition);
  outline: none;
}

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

.search-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.15);
}

/* ============================================================
   CATEGORY ICONS
   ============================================================ */
.categories {
  margin-bottom: 28px;
}

.category-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 0 12px;
  scrollbar-width: thin;
  justify-content: space-between;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  cursor: pointer;
  min-width: 70px;
}

.category-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid rgba(250, 204, 21, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.category-icon svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.category-item:hover .category-icon {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.category-item span {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  text-align: center;
  line-height: 1.3;
}

.category-item:hover span {
  color: var(--text-primary);
}

/* ============================================================
   WINNERS SECTION
   ============================================================ */
.winners-section {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  background: transparent;
  padding: 0;
  overflow: visible;
}

.winners-label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.winners-trophy {
  font-size: 32px;
  line-height: 1;
}

.winners-label-text {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  line-height: 1.3;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
}

.winners-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.section-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.section-nav-icon {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  color: var(--text-secondary);
}

.winners-scroll {
  display: flex;
  gap: 1.2%;
  overflow: visible;
  flex: 1;
  min-width: 0;
}

.winners-scroll::-webkit-scrollbar {
  display: none;
}

.winner-card {
  display: flex;
  align-items: center;
  gap: 0.4em;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.4em;
  padding: 0.4em 0.7em;
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.winner-card:hover {
  border-color: rgba(34, 197, 94, 0.4);
}

.winner-avatar {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.winner-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.winner-name {
  font-weight: 700;
  font-size: 11px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.winner-game {
  font-size: 10px;
  color: var(--text-secondary);
}

.winner-amount {
  font-size: 11px;
  color: var(--green);
  font-weight: 700;
}

/* ============================================================
   GAME BANNER CARDS
   ============================================================ */
.game-banners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.banner-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: #1a1a1a;
  height: 160px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.banner-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ============================================================
   GAMES SECTION (Recommended + Provider)
   ============================================================ */
.games-section {
  margin-bottom: 40px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}


.see-all {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 4px 10px;
  transition: border-color var(--transition), color var(--transition);
  text-decoration: none;
}

.see-all:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

/* Game grid 6 columns desktop */
.games-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

/* Provider section 4 columns */
.games-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.game-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.game-card:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}

.game-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.game-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  padding: 20px 8px 8px;
}

.game-name {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  color: #fff;
  line-height: 1.3;
}

/* Single recommended card */
.games-grid-single {
  display: flex;
  justify-content: flex-start;
}

.game-card-sm {
  width: 180px;
  min-width: 180px;
  aspect-ratio: auto;
  overflow: hidden;
}

.game-card-sm .game-thumb-img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  display: block;
}

.games-section:has(.games-grid-single) .section-title,
.provider-section .provider-badge {
  color: #fff;
}

/* Provider grid: horizontal scrollable row */
.games-grid-provider {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.games-grid-provider::-webkit-scrollbar {
  display: none;
}

.game-card-sm .game-name {
  font-size: 8px;
  color: #fff;
}

/* ============================================================
   PROVIDER LABEL
   ============================================================ */
.provider-section .section-title {
  display: none;
}

.provider-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.provider-badge {
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
  padding: 0;
}

/* ============================================================
   PIX DEPOSITO MODAL
   ============================================================ */
/* ============================================================
   PIX DEPOSIT MODAL
   ============================================================ */
.pix-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  overflow-y: auto;
  padding: 20px 16px;
}

.pix-modal {
  background: linear-gradient(180deg, #151517 0%, #111113 50%, #0d0d0f 100%);
  border-radius: 16px;
  width: 100%;
  max-width: 460px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.pix-banner {
  background: linear-gradient(135deg, #1a3a1a 0%, #2d4a1a 50%, #3a5a1a 100%);
  padding: 16px 22px;
  border-bottom: 1px solid rgba(34, 197, 94, 0.15);
}

.pix-banner-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pix-banner-sub {
  font-size: 14px;
  color: #22c55e;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 1px;
}

.pix-banner-emoji {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.pix-banner-icon {
  flex-shrink: 0;
}

.pix-banner-sub-text {
  background: linear-gradient(90deg, #22c55e 0%, #22c55e 40%, #fff 50%, #22c55e 60%, #22c55e 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.pix-content {
  padding: 24px 22px 20px;
}

/* Cards grid - 3 columns */
.pix-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.pix-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid #2e2e34;
  border-radius: 12px;
  padding: 22px 10px 18px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.pix-card:hover {
  border-color: #444;
  background: rgba(255, 255, 255, 0.05);
}

.pix-card-selected {
  border-color: #d4a017;
  border-width: 2px;
  background: rgba(200, 144, 0, 0.06);
}

.pix-card-selected:hover {
  border-color: #c89000;
  background: rgba(200, 144, 0, 0.07);
}

.pix-card-label {
  font-size: 12px;
  color: #777;
  font-weight: 500;
}

.pix-card-value {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.pix-card-bonus {
  font-size: 12px;
  color: #22c55e;
  font-weight: 500;
}

.pix-card-selected .pix-card-bonus {
  color: #d4a017;
}

.pix-card-badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.pix-badge-red {
  background: #dc2626;
  color: #fff;
}

.pix-badge-gold {
  background: #c89000;
  color: #000;
}

/* Summary row */
.pix-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #2a2a2e;
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 14px;
}

.pix-summary-left,
.pix-summary-right {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.pix-summary-right {
  text-align: right;
}

.pix-summary-label {
  font-size: 11px;
  color: #666;
  font-weight: 500;
}

.pix-summary-value {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
}

.pix-summary-green {
  color: #4ade80;
}

.pix-summary-arrow {
  font-size: 16px;
  color: #444;
}

/* Deposit button */
.pix-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  padding: 16px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.25);
  margin-bottom: 16px;
}

.pix-btn:hover {
  background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(34, 197, 94, 0.3);
}

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

/* Footer trust badges */
.pix-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid #1e1e22;
}

.pix-footer span {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  font-size: 11px;
  color: #555;
}

.pix-footer svg {
  color: #555;
}

/* ============================================================
   QR CODE PIX MODAL
   ============================================================ */
.qr-overlay {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  overflow-y: auto;
  padding: 20px 16px;
}

.qr-modal {
  background: linear-gradient(180deg, #151517 0%, #111113 50%, #0d0d0f 100%);
  border-radius: 16px;
  width: 100%;
  max-width: 460px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.qr-banner {
  background: linear-gradient(135deg, #1a3a1a 0%, #2d4a1a 50%, #3a5a1a 100%);
  padding: 16px 22px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid rgba(34, 197, 94, 0.15);
  display: flex;
  align-items: center;
  gap: 6px;
}

.qr-content {
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-image-wrapper {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 20px;
}

.qr-image {
  display: block;
  width: 220px;
  height: 220px;
}

.qr-instruction {
  font-size: 14px;
  color: #888;
  margin-bottom: 16px;
  text-align: center;
}

/* Copy box */
.qr-copy-box {
  display: flex;
  align-items: center;
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #2a2a2e;
  border-radius: 10px;
  padding: 10px 10px 10px 14px;
  margin-bottom: 14px;
  gap: 10px;
}

.qr-code-text {
  flex: 1;
  font-size: 12px;
  color: #999;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: monospace;
}

.qr-copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid #3a3a40;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-family: inherit;
  transition: background 0.2s;
}

.qr-copy-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Value summary button */
.qr-value-btn {
  width: 100%;
  background: linear-gradient(135deg, #0a3d1f 0%, #0d4a25 50%, #0a3018 100%);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  padding: 14px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.12), 0 0 30px rgba(34, 197, 94, 0.06);
}

/* Timer */
.qr-timer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #777;
  margin-bottom: 16px;
}

.qr-timer svg {
  color: #777;
}

/* Confirm button */
.qr-confirm-btn {
  width: 100%;
  background: linear-gradient(180deg, #facc15 0%, #e6b800 100%);
  color: #000;
  font-size: 17px;
  font-weight: 800;
  padding: 18px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(250, 204, 21, 0.2);
  margin-bottom: 16px;
}

.qr-confirm-btn:hover {
  background: linear-gradient(180deg, #e6b800 0%, #d4a800 100%);
  transform: translateY(-1px);
}

.qr-confirm-btn:active {
  transform: translateY(0);
}

/* Footer note */
.qr-footer-text {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin: 0;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.qr-footer-text svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #666;
}

.qr-footer-text strong {
  color: #fff;
}

/* ============================================================
   CADASTRO MODAL
   ============================================================ */
.cadastro-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  pointer-events: none;
  overflow-y: auto;
  padding: 20px 16px;
}

.cadastro-overlay .cadastro-modal {
  pointer-events: auto;
}

.cadastro-modal {
  background: linear-gradient(180deg, #1a1a1e 0%, #111113 40%, #0d0d0f 100%);
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  padding: 28px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: cadastroSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cadastroSlideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Logo */
.cadastro-logo {
  font-size: 26px;
  font-weight: 900;
  color: #facc15;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  font-style: italic;
}

.cadastro-logo-accent {
  color: #fff;
}

.cadastro-logo-fun {
  color: #777;
  font-weight: 700;
  font-size: 17px;
  font-style: normal;
  font-family: 'Segoe UI', Arial, sans-serif;
  letter-spacing: 0;
}

/* Bonus Banner */
.cadastro-bonus-banner {
  width: 100%;
  background: linear-gradient(135deg, #0a3d1f 0%, #0d4a25 50%, #0a3018 100%);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.12), 0 0 30px rgba(34, 197, 94, 0.06);
}

.cadastro-bonus-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(34, 197, 94, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
}

.cadastro-bonus-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cadastro-bonus-text strong {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.cadastro-bonus-text span {
  color: #86efac;
  font-size: 12px;
}

/* Steps Indicator */
.cadastro-steps {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 16px;
}

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

.cadastro-step-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cadastro-step-label {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.cadastro-step-line {
  flex: 1;
  height: 1px;
  background: #333;
  margin: 0 16px;
  position: relative;
}

.cadastro-step-line::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: #333;
  border-radius: 50%;
}

.cadastro-step-locked {
  color: #555;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cadastro-step-locked .cadastro-step-label {
  color: #555;
  font-weight: 600;
}

/* Locked Deposit Preview */
.cadastro-deposit-preview {
  width: 100%;
  background: #1a1a1e;
  border: 1px solid #2a2a2e;
  border-radius: 12px;
  padding: 20px 16px;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.cadastro-deposit-blur {
  display: flex;
  justify-content: center;
  gap: 12px;
  filter: blur(4px);
  opacity: 0.3;
  margin-bottom: 0;
}

.cadastro-deposit-pill {
  background: #222;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 8px 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.cadastro-deposit-lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #666;
  font-size: 13px;
}

/* Form */
.cadastro-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cadastro-field-group {
  margin-bottom: 14px;
}

.cadastro-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #999;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.cadastro-field {
  position: relative;
  background: linear-gradient(180deg, #1e1e22 0%, #1a1a1e 100%);
  border: 1px solid #2e2e34;
  border-radius: 10px;
  display: flex;
  align-items: center;
  transition: border-color 0.2s;
}

.cadastro-field:focus-within {
  border-color: #22c55e;
}

.cadastro-field-icon {
  padding: 0 0 0 14px;
  color: #555;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.cadastro-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  padding: 14px 14px;
}

.cadastro-input::placeholder {
  color: #666;
  font-size: 14px;
}

.cadastro-input:focus {
  outline: none;
}

.cadastro-field-senha {
  display: flex;
  align-items: center;
}

.cadastro-field-senha .cadastro-input {
  flex: 1;
  padding-right: 0;
}

.cadastro-eye {
  background: none;
  border: none;
  color: #555;
  cursor: pointer;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.cadastro-eye:hover {
  color: #999;
}

/* Terms */
.cadastro-terms {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin-top: 4px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.cadastro-terms-link {
  color: #22c55e;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cadastro-terms-link:hover {
  color: #4ade80;
}

/* Submit Button */
.cadastro-btn {
  width: 100%;
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  padding: 16px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cadastro-btn:hover {
  background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

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

/* Social Proof */
.cadastro-social-proof {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin-top: 12px;
}

.cadastro-social-icon {
  margin-right: 4px;
}

.cadastro-social-count {
  color: #22c55e;
  font-weight: 700;
}

/* Login Link */
.cadastro-login {
  font-size: 13px;
  color: #666;
  text-align: center;
  margin-top: 8px;
}

.cadastro-login-link {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.cadastro-login-link:hover {
  color: #22c55e;
}

/* Trust Badges */
.cadastro-trust {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #1e1e22;
}

.cadastro-trust span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #555;
}

.cadastro-trust svg {
  color: #555;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Full HD and above: min-width 1920px */
@media (min-width: 1920px) {
  :root {
    --sidebar-width: 240px;
  }

  .main-content {
    padding: 32px 40px 60px;
    max-width: 1600px;
  }

  .navbar {
    padding: 0 32px;
  }

  .hero-banner {
    margin-bottom: 36px;
  }

  .search-input {
    padding: 14px 18px 14px 48px;
    font-size: 15px;
  }

  .category-icon {
    width: 66px;
    height: 66px;
  }

  .category-icon svg {
    width: 28px;
    height: 28px;
  }

  .category-scroll {
    gap: 28px;
  }

  .category-item span {
    font-size: 12px;
  }

  .games-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }

  .games-grid-4 {
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }

  .game-banners {
    gap: 20px;
    margin-bottom: 44px;
  }

  .section-title {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .section-header {
    margin-bottom: 22px;
  }

  .games-section {
    margin-bottom: 48px;
  }

  .winners-section {
    margin-bottom: 44px;
  }

  .winner-card {
    min-width: 200px;
    padding: 12px 16px;
  }

  .sidebar-link {
    padding: 11px 20px;
    font-size: 14px;
  }

  .sidebar-promo {
    padding: 11px 16px;
    font-size: 13px;
  }

  .game-name {
    font-size: 12px;
  }

  .see-all {
    font-size: 14px;
  }
}

/* Large desktop: min-width 1440px */
@media (min-width: 1440px) and (max-width: 1919px) {
  .main-content {
    padding: 28px 36px 52px;
    max-width: 1400px;
  }

  .navbar {
    padding: 0 24px;
  }

  .games-grid {
    gap: 18px;
  }

  .game-banners {
    gap: 18px;
  }

  .games-grid-4 {
    grid-template-columns: repeat(5, 1fr);
  }

  .category-icon {
    width: 62px;
    height: 62px;
  }

  .category-scroll {
    gap: 24px;
  }
}

/* Tablet: max-width 1024px */
@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .sidebar.sidebar-open {
    transform: translateX(0);
  }

  .sidebar-toggle {
    display: block;
  }

  .main-content {
    margin-left: 0;
    padding: 20px;
  }

  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .game-banners {
    grid-template-columns: repeat(2, 1fr);
  }

  .games-grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile landscape: max-width 768px */
@media (max-width: 768px) {
  :root {
    --navbar-height: 52px;
  }

  .navbar {
    padding: 0 12px;
    gap: 8px;
  }

  .logo-text {
    font-size: 18px;
  }

  .btn-nav,
  .nav-link {
    font-size: 12px;
    padding: 6px 10px;
  }

  .btn-primary,
  .btn-outline {
    padding: 6px 14px;
    font-size: 13px;
  }

  .hero-banner {
    margin-bottom: 20px;
  }

  .game-banners {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 10px;
    scrollbar-width: thin;
  }

  .banner-card {
    min-width: 260px;
    flex-shrink: 0;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .games-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-icon {
    width: 50px;
    height: 50px;
  }

  .category-icon svg {
    width: 20px;
    height: 20px;
  }

  .main-content {
    padding: 16px 14px 40px;
  }

  .games-section {
    margin-bottom: 32px;
  }

  .winners-section {
    margin-bottom: 28px;
  }
}

/* Mobile portrait: max-width 480px (Android tablets small, large phones) */
@media (max-width: 480px) {
  .navbar-left .nav-link {
    display: none;
  }

  .btn-outline {
    display: none;
  }

  .btn-primary {
    padding: 6px 12px;
    font-size: 12px;
  }

  .btn-icon {
    display: none;
  }

  .logo-text {
    font-size: 16px;
  }

  .hero-banner {
    border-radius: var(--radius-md);
    margin-bottom: 16px;
  }

  .category-icon {
    width: 46px;
    height: 46px;
  }

  .category-icon svg {
    width: 18px;
    height: 18px;
  }

  .category-item span {
    font-size: 10px;
  }

  .category-item {
    min-width: 58px;
  }

  .category-scroll {
    gap: 12px;
    justify-content: flex-start;
    padding: 6px 2px 10px;
  }

  .categories {
    margin-bottom: 20px;
  }

  .search-wrapper {
    margin-bottom: 20px;
  }

  .search-input {
    padding: 10px 14px 10px 40px;
    font-size: 13px;
  }

  .games-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .games-grid-4 {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .game-banners {
    gap: 10px;
    margin-bottom: 24px;
  }

  .banner-card {
    min-width: 220px;
  }

  .winner-card {
    min-width: 160px;
    padding: 8px 10px;
  }

  .winner-name {
    font-size: 11px;
  }

  .winner-amount {
    font-size: 11px;
  }

  .section-title {
    font-size: 11px;
    margin-bottom: 12px;
  }

  .section-header {
    margin-bottom: 12px;
  }

  .main-content {
    padding: 12px 10px 40px;
  }

  .games-section {
    margin-bottom: 24px;
  }

  .game-name {
    font-size: 10px;
  }

  .game-card-overlay {
    padding: 14px 4px 6px;
  }
}

/* Small Android phones: max-width 380px (Galaxy S series, Pixel) */
@media (max-width: 380px) {
  :root {
    --navbar-height: 48px;
  }

  .navbar {
    padding: 0 8px;
    gap: 6px;
  }

  .logo-text {
    font-size: 15px;
  }

  .btn-primary {
    padding: 5px 10px;
    font-size: 11px;
  }

  .main-content {
    padding: 10px 8px 36px;
  }

  .hero-banner {
    border-radius: 8px;
    margin-bottom: 14px;
  }

  .category-icon {
    width: 40px;
    height: 40px;
  }

  .category-icon svg {
    width: 16px;
    height: 16px;
  }

  .category-item {
    min-width: 50px;
    gap: 5px;
  }

  .category-item span {
    font-size: 9px;
  }

  .category-scroll {
    gap: 8px;
  }

  .categories {
    margin-bottom: 16px;
  }

  .search-wrapper {
    margin-bottom: 16px;
  }

  .search-input {
    padding: 9px 12px 9px 36px;
    font-size: 12px;
    border-radius: 8px;
  }

  .search-icon {
    left: 10px;
    font-size: 14px;
  }

  .games-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .games-grid-4 {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .game-banners {
    gap: 8px;
    margin-bottom: 20px;
  }

  .banner-card {
    min-width: 190px;
  }

  .winners-section {
    margin-bottom: 20px;
  }

  .winners-scroll {
    gap: 8px;
  }

  .winner-card {
    min-width: 140px;
    padding: 7px 8px;
    gap: 8px;
  }

  .winner-avatar {
    font-size: 20px;
  }

  .winner-name {
    font-size: 11px;
  }

  .winner-game {
    font-size: 10px;
  }

  .winner-amount {
    font-size: 11px;
  }

  .section-title {
    font-size: 10px;
    margin-bottom: 10px;
  }

  .section-header {
    margin-bottom: 10px;
  }

  .see-all {
    font-size: 11px;
  }

  .games-section {
    margin-bottom: 20px;
  }

  .game-name {
    font-size: 9px;
  }

  .game-card-overlay {
    padding: 12px 3px 5px;
  }

  .sidebar-toggle {
    top: 52px;
    left: 8px;
    padding: 6px 10px;
    font-size: 16px;
  }
}

/* Cadastro modal mobile */
@media (max-width: 480px) {
  .cadastro-overlay {
    padding: 12px 10px;
    align-items: flex-start;
  }

  .cadastro-modal {
    padding: 22px 18px 16px;
    border-radius: 14px;
  }

  .cadastro-logo {
    font-size: 22px;
    margin-bottom: 14px;
  }

  .cadastro-bonus-banner {
    padding: 12px 14px;
    gap: 12px;
    margin-bottom: 16px;
  }

  .cadastro-bonus-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .cadastro-bonus-text strong {
    font-size: 13px;
  }

  .cadastro-bonus-text span {
    font-size: 11px;
  }

  .cadastro-steps {
    margin-bottom: 12px;
  }

  .cadastro-deposit-preview {
    padding: 16px 12px;
    margin-bottom: 16px;
  }

  .cadastro-field-group {
    margin-bottom: 12px;
  }

  .cadastro-btn {
    font-size: 15px;
    padding: 14px;
  }

  .cadastro-trust {
    gap: 10px;
    flex-wrap: wrap;
  }

  .cadastro-trust span {
    font-size: 10px;
  }
}
