/* ─── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px; scroll-behavior: smooth;
  overflow-x: hidden; width: 100%;
  /* Bloqueia arrastar horizontal no Safari/mobile */
  overscroll-behavior-x: none;
  /* Cobre safe areas do iOS com o mesmo fundo (requer viewport-fit=cover no meta) */
  background: linear-gradient(135deg, #FFE4EE 0%, #FFB3CB 100%);
}
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #FFE4EE 0%, #FFB3CB 100%);
  min-height: 100vh; min-height: 100dvh; width: 100%;
  overflow-x: hidden;
  /* Bloqueia arrastar horizontal e efeito de "bounce" lateral no Safari */
  overscroll-behavior-x: none;
  touch-action: pan-y;
  color: #2d0014;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ─── CSS Variables ──────────────────────────────────────────────────────────── */
:root {
  --pink:        #FF6B9D;
  --pink-light:  #FF8CC8;
  --pink-dark:   #E0558A;
  --dark:        #4A0020;
  --dark-mid:    #7a0035;
  --green:       #00C97A;
  --green-dark:  #00A063;
  --red:         #FF4D6D;
  --blue:        #4D9EFF;
  --orange:      #FF8C42;
  --white:       #FFFFFF;
  --bg:          linear-gradient(135deg, #FFE4EE 0%, #FFB3CB 100%);
  --card-bg:     rgba(255,255,255,0.92);
  --shadow:      0 8px 32px rgba(74,0,32,0.10);
  --shadow-hover:0 16px 48px rgba(74,0,32,0.18);
  --radius:      16px;
  --radius-btn:  50px;
  --radius-sm:   8px;
  --transition:  0.25s ease;
}

/* ─── Pages / Router ────────────────────────────────────────────────────────── */
.page { display: none; min-height: 100vh; width: 100%; max-width: 100%; overflow-x: hidden; }
.page.active { display: block; }

/* ─── Animations ────────────────────────────────────────────────────────────── */
@keyframes fadeIn    { from { opacity:0 } to { opacity:1 } }
@keyframes fadeOut   { from { opacity:1 } to { opacity:0 } }
@keyframes slideUp   { from { opacity:0; transform:translateY(24px) } to { opacity:1; transform:translateY(0) } }
@keyframes pulse     { 0%,100%{transform:scale(1)} 50%{transform:scale(1.06)} }
@keyframes float     { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
@keyframes spin      { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
@keyframes spin-slow { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
@keyframes shimmer   { 0%{background-position:-400px 0} 100%{background-position:400px 0} }
@keyframes popIn     { 0%{transform:scale(0.7);opacity:0} 80%{transform:scale(1.05)} 100%{transform:scale(1);opacity:1} }
@keyframes toastIn   { from{opacity:0;transform:translateX(60px)} to{opacity:1;transform:translateX(0)} }
@keyframes toastOut  { from{opacity:1;transform:translateX(0)} to{opacity:0;transform:translateX(60px)} }
@keyframes confetti  { 0%{transform:translateY(-10px) rotate(0deg);opacity:1} 100%{transform:translateY(100vh) rotate(720deg);opacity:0} }

.anim-fade    { animation: fadeIn  0.4s ease both; }
.anim-slide   { animation: slideUp 0.5s ease both; }
.anim-pulse   { animation: pulse 2s infinite; }
.anim-float   { animation: float 3s ease-in-out infinite; }

/* ─── Global Loading ────────────────────────────────────────────────────────── */
.global-loading {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.global-loading.hidden { display: none; }
.loading-spinner {
  width: 48px; height: 48px;
  border: 4px solid var(--pink-light);
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ─── Toast ─────────────────────────────────────────────────────────────────── */
.toast-container {
  position: fixed; top: 20px; right: 20px; z-index: 8888;
  display: flex; flex-direction: column; gap: 10px;
}
.toast {
  padding: 14px 20px; border-radius: var(--radius-sm);
  color: #fff; font-size: 14px; font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  animation: toastIn 0.3s ease both;
  max-width: 320px; display: flex; align-items: center; gap: 10px;
}
.toast.out   { animation: toastOut 0.3s ease both; }
.toast.success { background: var(--green); }
.toast.error   { background: var(--red); }
.toast.info    { background: var(--blue); }
.toast.warning { background: var(--orange); }

/* ─── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-btn);
  border: none; cursor: pointer; font-weight: 700; font-size: 15px;
  transition: var(--transition); user-select: none; white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-light) 100%);
  color: #fff; box-shadow: 0 4px 16px rgba(255,107,157,0.4);
}
.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--pink-dark) 0%, var(--pink) 100%);
  box-shadow: 0 8px 24px rgba(255,107,157,0.5);
  transform: translateY(-1px);
}
.btn-green {
  background: linear-gradient(135deg, var(--green) 0%, #00e68a 100%);
  color: #fff; box-shadow: 0 4px 16px rgba(0,201,122,0.4);
}
.btn-green:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  box-shadow: 0 8px 24px rgba(0,201,122,0.5);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent; border: 2px solid var(--pink);
  color: var(--pink);
}
.btn-outline:hover:not(:disabled) { background: var(--pink); color: #fff; }
.btn-dark {
  background: var(--dark); color: #fff;
}
.btn-sm  { padding: 8px 18px; font-size: 13px; }
.btn-lg  { padding: 18px 40px; font-size: 17px; }
.btn-full { width: 100%; }

/* ─── Cards ─────────────────────────────────────────────────────────────────── */
.card {
  background: var(--card-bg); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-hover); }
.card-sm { padding: 18px; }
.card-title { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.card-sub   { font-size: 14px; color: #8a3050; }

/* ─── Forms ─────────────────────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--dark-mid); }
.form-input {
  padding: 13px 16px; border-radius: var(--radius-sm);
  border: 2px solid #ffd6e7; background: #fff;
  font-size: 16px; color: var(--dark); transition: border-color var(--transition);
  outline: none; width: 100%;
}
.form-input:focus  { border-color: var(--pink); }
.form-input.error  { border-color: var(--red); }
.form-input.valid  { border-color: var(--green); }
.form-error { font-size: 12px; color: var(--red); font-weight: 600; }
.input-wrap { position: relative; }
.input-wrap .form-input { padding-right: 44px; }
.input-icon {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%); cursor: pointer; font-size: 18px; color: #c0748f;
}

/* ─── Navbar ────────────────────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,107,157,0.15);
  padding: 12px 24px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.navbar-brand {
  font-size: 22px; font-weight: 800; color: var(--pink);
  display: flex; align-items: center; gap: 8px;
}
.navbar-menu { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.navbar-link {
  padding: 8px 14px; border-radius: 50px; font-size: 14px; font-weight: 600;
  color: var(--dark-mid); transition: var(--transition); cursor: pointer; border: none; background: none;
}
.navbar-link:hover { background: #ffedf4; color: var(--pink); }
.balance-badge {
  background: linear-gradient(135deg, var(--green) 0%, #00e68a 100%);
  color: #fff; padding: 8px 16px; border-radius: 50px;
  font-weight: 700; font-size: 15px; min-width: 110px; text-align: center;
}
.avatar-circle {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink) 0%, var(--dark) 100%);
  color: #fff; font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; cursor: default;
}

/* ─── Stats pills ───────────────────────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.stat-card {
  background: var(--card-bg); border-radius: var(--radius); padding: 20px 16px;
  text-align: center; box-shadow: var(--shadow);
}
.stat-card .stat-icon { font-size: 28px; margin-bottom: 6px; }
.stat-card .stat-value { font-size: 20px; font-weight: 800; color: var(--dark); line-height: 1.1; }
.stat-card .stat-label { font-size: 12px; color: #8a3050; font-weight: 600; margin-top: 2px; }

/* ─── Pills ─────────────────────────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 50px;
  font-size: 13px; font-weight: 600; background: #ffedf4; color: var(--pink-dark);
}
.pill-green  { background: #e6fff4; color: var(--green-dark); }
.pill-blue   { background: #e8f3ff; color: #1a6fd4; }
.pill-orange { background: #fff3e8; color: #c85c00; }

/* ─── Quick amount buttons ──────────────────────────────────────────────────── */
.quick-amounts { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.quick-btn {
  padding: 8px 16px; border-radius: 50px; border: 2px solid var(--pink);
  background: transparent; color: var(--pink); font-weight: 700; font-size: 14px;
  cursor: pointer; transition: var(--transition);
}
.quick-btn:hover, .quick-btn.active { background: var(--pink); color: #fff; }

/* ─── Progress bar ───────────────────────────────────────────────────────────── */
.progress-bar { background: #ffd6e7; border-radius: 50px; height: 12px; overflow: hidden; }
.progress-fill {
  height: 100%; border-radius: 50px;
  background: linear-gradient(90deg, var(--green) 0%, #00e68a 100%);
  transition: width 0.4s ease;
}

/* ─── Transaction list ──────────────────────────────────────────────────────── */
.tx-list { display: flex; flex-direction: column; gap: 10px; }
.tx-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; background: #fff; border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(74,0,32,0.06);
}
.tx-icon {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.tx-icon.ganho    { background: #e6fff4; }
.tx-icon.perda    { background: #ffe8ed; }
.tx-icon.deposito { background: #e8f3ff; }
.tx-icon.saque    { background: #fff3e8; }
.tx-icon.bonus    { background: #f3e8ff; }
.tx-info { flex: 1; }
.tx-desc { font-size: 14px; font-weight: 600; color: var(--dark); }
.tx-date { font-size: 12px; color: #8a3050; }
.tx-valor { font-size: 16px; font-weight: 700; }
.tx-valor.pos { color: var(--green-dark); }
.tx-valor.neg { color: var(--red); }

/* ─── Modal ─────────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(74,0,32,0.45); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.modal-overlay.hidden { display: none; }
.modal-box {
  background: #fff; border-radius: var(--radius); padding: 32px;
  width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto;
  animation: popIn 0.3s ease both;
  position: relative;
}
.modal-title {
  font-size: 20px; font-weight: 800; color: var(--dark);
  margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: #ffedf4; border: none; border-radius: 50%;
  width: 32px; height: 32px; cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--pink); transition: var(--transition);
}
.modal-close:hover { background: var(--pink); color: #fff; }

/* ─── QR Code area ───────────────────────────────────────────────────────────── */
.qr-area { text-align: center; }
.qr-area img { margin: 0 auto 12px; border-radius: 12px; border: 3px solid var(--pink-light); }
.qr-copy-box {
  background: #ffedf4; border-radius: var(--radius-sm);
  padding: 12px 16px; font-size: 13px; word-break: break-all;
  font-family: monospace; color: var(--dark); cursor: pointer;
  border: 1px dashed var(--pink); margin-bottom: 10px;
}
.qr-timer { font-size: 13px; color: var(--red); font-weight: 700; text-align: center; }

/* ─── Landing Hero ───────────────────────────────────────────────────────────── */
.landing-hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #FFE4EE 0%, #FFB3CB 60%, #ff8cc8 100%);
  padding: 0 20px; position: relative; overflow: hidden;
}
.hero-content { max-width: 560px; position: relative; z-index: 2; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.7); padding: 6px 16px; border-radius: 50px;
  font-size: 13px; font-weight: 700; color: var(--pink); margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(255,107,157,0.2);
}
.hero-title {
  font-size: clamp(40px, 8vw, 72px); font-weight: 800; line-height: 1.05;
  color: var(--dark); margin-bottom: 18px; letter-spacing: -1px;
}
.hero-title span { color: var(--pink); }
.hero-sub {
  font-size: 17px; color: var(--dark-mid); margin-bottom: 32px;
  line-height: 1.6; max-width: 420px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }

/* Decorative helix */
.helix-deco {
  position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
  font-size: clamp(120px, 18vw, 200px); opacity: 0.25;
  animation: spin-slow 8s linear infinite;
  pointer-events: none; user-select: none;
}
.bg-blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  animation: float 4s ease-in-out infinite;
}

/* Notification bubbles */
.notif-bubble {
  position: absolute; right: 24px;
  background: #fff; border-radius: 50px;
  padding: 10px 16px; box-shadow: 0 4px 16px rgba(74,0,32,0.12);
  font-size: 13px; font-weight: 700; color: var(--green-dark);
  animation: float 3.5s ease-in-out infinite;
  display: flex; align-items: center; gap: 8px; z-index: 2;
}
.notif-bubble:nth-child(1) { top: 18%; animation-delay: 0s; }
.notif-bubble:nth-child(2) { top: 35%; animation-delay: 1s; }
.notif-bubble:nth-child(3) { top: 52%; animation-delay: 2s; }

/* ─── How it works ───────────────────────────────────────────────────────────── */
.how-section { padding: 80px 20px; text-align: center; }
.section-title { font-size: 32px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.section-sub   { font-size: 16px; color: var(--dark-mid); margin-bottom: 48px; }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; max-width: 800px; margin: 0 auto; }
.how-card {
  background: var(--card-bg); border-radius: var(--radius); padding: 36px 24px;
  text-align: center; box-shadow: var(--shadow); transition: var(--transition);
}
.how-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.how-icon { font-size: 48px; margin-bottom: 14px; }
.how-title { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.how-desc  { font-size: 14px; color: #7a3050; line-height: 1.5; }

/* ─── Stats bar ──────────────────────────────────────────────────────────────── */
.stats-bar {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%);
  padding: 28px 20px; display: flex; justify-content: center;
  gap: clamp(24px, 6vw, 80px); flex-wrap: wrap;
}
.sbar-item { text-align: center; }
.sbar-value { font-size: 28px; font-weight: 800; color: var(--pink-light); }
.sbar-label { font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 600; }

/* ─── Testimonials ───────────────────────────────────────────────────────────── */
.test-section { padding: 80px 20px; background: rgba(255,255,255,0.5); }
.test-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.test-card {
  background: var(--card-bg); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow);
}
.test-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 14px;
}
.test-stars { color: #FFB800; font-size: 16px; margin-bottom: 10px; }
.test-text { font-size: 14px; color: #5a2035; line-height: 1.6; margin-bottom: 14px; }
.test-name  { font-size: 14px; font-weight: 700; color: var(--dark); }
.test-sub   { font-size: 12px; color: #8a3050; }

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--dark); color: rgba(255,255,255,0.8);
  padding: 40px 20px; text-align: center;
}
.footer-brand { font-size: 24px; font-weight: 800; color: var(--pink-light); margin-bottom: 12px; }
.footer-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.footer-links a { font-size: 14px; transition: color var(--transition); }
.footer-links a:hover { color: var(--pink-light); }
.footer-warning {
  max-width: 500px; margin: 0 auto; font-size: 12px; line-height: 1.5;
  opacity: 0.6; padding: 12px; border: 1px solid rgba(255,255,255,0.15); border-radius: 8px;
}

/* ─── Auth pages ─────────────────────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  /* Safe area iOS: padding lateral respeita bordas do dispositivo */
  padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  background: linear-gradient(135deg, #FFE4EE 0%, #FFB3CB 100%);
}
.auth-card {
  background: #fff; border-radius: var(--radius); padding: 40px 36px;
  width: 100%; max-width: 420px; box-shadow: 0 16px 48px rgba(74,0,32,0.14);
  animation: popIn 0.35s ease both;
}
.auth-logo {
  text-align: center; margin-bottom: 28px;
  font-size: 28px; font-weight: 800; color: var(--pink);
}
.auth-title  { font-size: 22px; font-weight: 800; color: var(--dark); margin-bottom: 6px; text-align: center; }
.auth-sub    { font-size: 14px; color: #8a3050; text-align: center; margin-bottom: 28px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 14px; color: #8a3050; }
.auth-footer a { color: var(--pink); font-weight: 700; cursor: pointer; }

/* ─── Painel ────────────────────────────────────────────────────────────────── */
.painel-content { max-width: 1000px; margin: 0 auto; padding: 24px 16px; }
.painel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media(max-width: 700px) { .painel-grid { grid-template-columns: 1fr; } }

.game-card { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%); border-radius: var(--radius); padding: 28px; }
.game-card-title { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.game-card-sub   { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 20px; }
.pills-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.pills-row .pill { background: rgba(255,255,255,0.12); color: #fff; font-size: 12px; }
.input-money-wrap { position: relative; margin-bottom: 14px; }
.input-money-prefix {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  font-weight: 700; font-size: 15px; color: var(--dark-mid); pointer-events: none;
}
.input-money { padding-left: 44px !important; }
.meta-preview {
  background: rgba(255,255,255,0.1); border-radius: 10px;
  padding: 12px 16px; margin-bottom: 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.meta-preview-label { color: rgba(255,255,255,0.7); font-size: 14px; }
.meta-preview-value { color: #fff; font-weight: 800; font-size: 18px; }
.users-playing {
  text-align: center; font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 12px;
}

/* ─── Jogo page ──────────────────────────────────────────────────────────────── */
.jogo-page { min-height: 100vh; position: relative; background: #0a0010; }
.jogo-hud {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(10,0,16,0.85); backdrop-filter: blur(8px);
  padding: 10px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.hud-item { display: flex; flex-direction: column; align-items: center; }
.hud-label { font-size: 11px; color: rgba(255,255,255,0.5); font-weight: 600; text-transform: uppercase; }
.hud-value { font-size: 18px; font-weight: 800; color: #fff; }
.hud-value.green { color: var(--green); }
.hud-value.pink  { color: var(--pink-light); }
.hud-progress { flex: 1; min-width: 140px; }
.jogo-iframe-wrap {
  position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
}
.jogo-iframe-wrap iframe { width: 100%; height: 100%; border: none; }

.resultado-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.75); display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.resultado-overlay.hidden { display: none; }
.resultado-box {
  background: #fff; border-radius: var(--radius); padding: 40px 32px;
  text-align: center; max-width: 380px; width: 100%;
  animation: popIn 0.4s ease both;
}
.resultado-icon { font-size: 64px; margin-bottom: 10px; }
.resultado-title { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.resultado-valor { font-size: 36px; font-weight: 800; margin-bottom: 20px; }
.resultado-valor.ganhou { color: var(--green); }
.resultado-valor.perdeu { color: var(--red); }

/* ─── Utilities ──────────────────────────────────────────────────────────────── */
.flex     { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-sm  { gap: 8px; }
.gap-md  { gap: 16px; }
.gap-lg  { gap: 24px; }
.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 24px; }
.mb-md { margin-bottom: 16px; }
.text-center { text-align: center; }
.text-sm { font-size: 13px; }
.text-muted { color: #8a3050; }
.font-bold { font-weight: 700; }
.hidden { display: none !important; }
.w-full { width: 100%; }

/* ─── Container ──────────────────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ─── Divider ────────────────────────────────────────────────────────────────── */
.divider { height: 1px; background: #ffd6e7; margin: 20px 0; }

/* ─── Badge ──────────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 50px; font-size: 12px; font-weight: 700;
}
.badge-green  { background: #e6fff4; color: var(--green-dark); }
.badge-red    { background: #ffe8ed; color: var(--red); }
.badge-blue   { background: #e8f3ff; color: #1a6fd4; }
.badge-orange { background: #fff3e8; color: #c85c00; }
.badge-purple { background: #f3e8ff; color: #7b1fa2; }

/* ─── Scrollbar ──────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #a855f7; border-radius: 50px; }
/* Cor atualizada dinamicamente por JS via #theme-scrollbar-style */

/* ═══════════════════════════════════════════════════════════════════════════════
   LANDING PAGE REDESIGN — Tema escuro com game-bg
   ═══════════════════════════════════════════════════════════════════════════════ */

#page-landing {
  background: linear-gradient(135deg, #FFF0F5 0%, #FFE4EE 50%, #FFD6E7 100%);
  min-height: 100vh;
  color: #2D0014;
}

/* ── Navbar ── */
.lnd-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,0,20,0.88);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  /* padding-top inclui safe area do iOS (status bar) */
  padding: max(14px, env(safe-area-inset-top)) 24px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.lnd-nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 21px; font-weight: 800; color: var(--pink); letter-spacing: -0.5px; cursor: pointer;
}
.lnd-nav-menu { display: flex; align-items: center; gap: 8px; }
.lnd-nav-link {
  padding: 8px 16px; border-radius: 50px; font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,0.75); background: transparent; border: none; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lnd-nav-link:hover { background: rgba(255,255,255,0.08); color: #fff; }
.lnd-cta-sm {
  padding: 9px 20px; border-radius: 50px; font-size: 13px; font-weight: 700;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-light) 100%);
  color: #fff; border: none; cursor: pointer;
  box-shadow: 0 4px 14px rgba(255,107,157,0.4); transition: transform 0.2s, box-shadow 0.2s;
}
.lnd-cta-sm:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,107,157,0.55); }

/* ── Hero ── */
@keyframes lnd-orb-drift {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-26px) scale(1.05); }
}
.lnd-hero {
  --lnd-bg-a: rgba(255,107,157,0.18);
  --lnd-bg-b: rgba(0,201,122,0.12);
  --lnd-bg-c: #120026;
  --lnd-bg-d: #170033;
  --lnd-bg-e: #0d001e;
  --lnd-primary: #a855f7;
  --lnd-primary-glow: rgba(168,85,247,.5);
  --lnd-label: rgba(255,255,255,0.62);
  --lnd-btn-from: #00C97A;
  --lnd-btn-to: #00ea8c;
  --lnd-btn-glow: rgba(0,201,122,.58);
  --lnd-badge-bg: rgba(255,255,255,0.08);
  --lnd-badge-border: rgba(255,255,255,0.14);
  --lnd-badge-text: rgba(255,255,255,0.90);
  --lnd-dot: #00C97A;
  --lnd-dot-glow: rgba(0,201,122,0.8);
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: max(72px, calc(env(safe-area-inset-top) + 52px)) 24px 60px;
  background:
    radial-gradient(circle at 18% 18%, var(--lnd-bg-a) 0%, rgba(255,107,157,0) 42%),
    radial-gradient(circle at 82% 80%, var(--lnd-bg-b) 0%, rgba(0,201,122,0) 46%),
    linear-gradient(155deg, var(--lnd-bg-c) 0%, var(--lnd-bg-d) 45%, var(--lnd-bg-e) 100%);
}
.lnd-orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.lnd-orb {
  position: absolute; border-radius: 50%; filter: blur(70px);
  animation: lnd-orb-drift 8s ease-in-out infinite;
}
.lnd-hero-inner {
  position: relative; z-index: 2;
  width: 100%; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
}
.lnd-hero-left {
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Live badge */
@keyframes lnd-ping { 0% { transform:scale(1); opacity:1; } 100% { transform:scale(2.4); opacity:0; } }
.lnd-live-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--lnd-badge-bg); border: 1px solid var(--lnd-badge-border);
  backdrop-filter: blur(10px); border-radius: 50px;
  padding: 7px 18px; margin-bottom: 28px;
  font-size: 13px; font-weight: 700; color: var(--lnd-badge-text);
}
.lnd-live-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--lnd-dot); flex-shrink: 0; position: relative;
}
.lnd-live-dot::after {
  content: ''; position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid var(--lnd-dot-glow); animation: lnd-ping 1.6s ease-out infinite;
}

/* Map selector */
.lnd-map-picker { margin-bottom: 22px; }
.lnd-map-picker-label {
  font-size: 11px; color: #fff; text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 10px; font-weight: 700;
}
.lnd-map-coverflow {
  position: relative; height: 160px; overflow: hidden; margin-bottom: 8px;
  --slide-active: #a855f7;
  --slide-shadow: 0 8px 28px rgba(168,85,247,.5);
}
.mapa-slide {
  position: absolute; top: 50%; left: 50%; width: 90px;
  border-radius: 14px; overflow: hidden; cursor: pointer;
  border: 3px solid transparent;
  transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .35s, box-shadow .35s, border-color .35s;
  transform-origin: center center;
}
.mapa-slide img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; }
.mapa-slide[data-pos="0"] {
  transform: translate(-50%,-50%) scale(1);
  z-index: 3; opacity: 1;
  border-color: var(--slide-active);
  box-shadow: var(--slide-shadow);
}
.mapa-slide[data-pos="-1"] {
  transform: translate(calc(-50% - 96px),-50%) scale(.75);
  z-index: 2; opacity: .5;
}
.mapa-slide[data-pos="1"] {
  transform: translate(calc(-50% + 96px),-50%) scale(.75);
  z-index: 2; opacity: .5;
}
.mapa-slide[data-pos="-2"] {
  transform: translate(calc(-50% - 170px),-50%) scale(.58);
  z-index: 1; opacity: .2;
}
.mapa-slide[data-pos="2"] {
  transform: translate(calc(-50% + 170px),-50%) scale(.58);
  z-index: 1; opacity: .2;
}
.lnd-map-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  background: none; border: none; font-size: 32px; color: var(--lnd-primary);
  cursor: pointer; padding: 0 8px; line-height: 1;
}
.lnd-map-arrow-left { left: 0; }
.lnd-map-arrow-right { right: 0; }
.lnd-map-name {
  text-align: center; font-size: 13px; font-weight: 700;
  color: #fff; letter-spacing: .3px;
}

/* Actions */
.lnd-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
@keyframes lnd-glow {
  0%, 100% { box-shadow: 0 4px 20px var(--lnd-btn-glow); }
  50% { box-shadow: 0 8px 44px var(--lnd-btn-glow), 0 0 80px var(--lnd-btn-glow); }
}
@keyframes lnd-btn-pop {
  0%   { transform: scale(1); filter: brightness(1); }
  30%  { transform: scale(1.08); filter: brightness(1.25); }
  65%  { transform: scale(0.96); filter: brightness(1.05); }
  100% { transform: scale(1); filter: brightness(1); }
}
.lnd-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--lnd-btn-from) 0%, var(--lnd-btn-to) 100%);
  color: #fff; font-weight: 800; font-size: 16px;
  padding: 18px 40px; border-radius: 50px; border: none; cursor: pointer;
  animation: lnd-glow 2.5s ease-in-out infinite;
  transition: transform 0.2s; text-transform: uppercase; letter-spacing: 0.5px;
}
.lnd-btn-pop {
  animation: lnd-btn-pop 0.42s cubic-bezier(.4,0,.2,1) !important;
}
.lnd-actions .lnd-cta-btn { min-width: 220px; justify-content: center; }
.lnd-cta-btn:hover { transform: translateY(-2px) scale(1.02); }
.lnd-cta-btn:active { transform: scale(0.97); }
.lnd-ghost-btn {
  background: transparent; border: none; cursor: pointer;
  color: rgba(255,255,255,0.62); font-size: 15px; font-weight: 600;
  transition: color 0.2s; padding: 0;
}
.lnd-ghost-btn:hover { color: #fff; }

/* Trust badges */
.lnd-trust { display: flex; flex-wrap: wrap; gap: 10px; }
.lnd-trust-item {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(0,201,122,0.10); border: 1px solid rgba(0,201,122,0.22);
  border-radius: 50px; padding: 6px 14px;
  font-size: 13px; font-weight: 600; color: #00e882;
}

/* Win notification cards */
.lnd-wins-col { display: flex; flex-direction: column; gap: 14px; flex-shrink: 0; }
@keyframes lnd-float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.lnd-win-card {
  background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 18px; padding: 14px 18px;
  display: flex; align-items: center; gap: 12px; min-width: 235px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.40);
  animation: lnd-float-card 4s ease-in-out infinite;
}
.lnd-win-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 800; color: #fff; flex-shrink: 0;
}
.lnd-win-info { flex: 1; min-width: 0; }
.lnd-win-name   { font-size: 12px; color: rgba(255,255,255,0.58); font-weight: 600; }
.lnd-win-amount { font-size: 20px; font-weight: 800; color: #00e882; line-height: 1.2; }
.lnd-win-label  { font-size: 11px; color: rgba(255,255,255,0.38); }

/* ── Stats bar ── */
.lnd-stats {
  background: rgba(8,0,20,0.97);
  border-top: 1px solid rgba(255,255,255,0.07); border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 36px 24px;
  display: flex; justify-content: center; gap: clamp(24px,6vw,80px); flex-wrap: wrap;
}
.lnd-stat { text-align: center; }
.lnd-stat-val { font-size: 34px; font-weight: 800; color: var(--pink-light); margin-bottom: 4px; }
.lnd-stat-lbl { font-size: 13px; color: rgba(255,255,255,0.48); font-weight: 600; }

/* ── How it works ── */
.lnd-how { background: #0d0020; padding: 90px 24px; }
.lnd-container { max-width: 1100px; margin: 0 auto; }
.lnd-section-head { text-align: center; margin-bottom: 56px; }
.lnd-section-head h2 {
  font-size: clamp(26px, 5vw, 42px); font-weight: 800; color: #fff; margin-bottom: 10px;
}
.lnd-section-head p { font-size: 16px; color: rgba(255,255,255,0.48); }
.lnd-how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.lnd-how-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px); border-radius: 22px; padding: 34px 24px; text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.lnd-how-card:hover { transform: translateY(-7px); border-color: rgba(255,107,157,0.3); }
.lnd-how-num {
  font-size: 54px; font-weight: 800; line-height: 1; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--pink), #a855f7);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.lnd-how-icon {
  width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255,107,157,0.14), rgba(168,85,247,0.14));
  border: 1px solid rgba(255,107,157,0.18);
}
.lnd-how-card h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.lnd-how-card p  { font-size: 14px; color: rgba(255,255,255,0.50); line-height: 1.65; }

/* ── Testimonials ── */
.lnd-test { background: linear-gradient(180deg, #0d0020, #130030); padding: 90px 24px; }
.lnd-test-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; max-width: 900px; margin: 0 auto;
}
.lnd-test-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 22px; padding: 28px; transition: transform 0.3s;
}
.lnd-test-card:hover { transform: translateY(-5px); }
.lnd-test-stars { color: #FFB800; font-size: 16px; margin-bottom: 12px; letter-spacing: 2px; }
.lnd-test-text  {
  font-size: 14px; color: rgba(255,255,255,0.66); line-height: 1.7;
  margin-bottom: 20px; font-style: italic;
}
.lnd-test-author { display: flex; align-items: center; gap: 12px; }
.lnd-test-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 800; color: #fff;
}
.lnd-test-name  { font-size: 14px; font-weight: 700; color: #fff; }
.lnd-test-since { font-size: 12px; color: rgba(255,255,255,0.40); margin-top: 2px; }

/* ── CTA section ── */
.lnd-cta-sec {
  padding: 90px 24px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #2a0066 0%, #7b1fa2 50%, #4A0020 100%);
}
.lnd-cta-sec h2 {
  position: relative; z-index: 1;
  font-size: clamp(28px, 5vw, 48px); font-weight: 800; color: #fff; margin-bottom: 16px;
}
.lnd-cta-sec p {
  position: relative; z-index: 1;
  color: rgba(255,255,255,0.70); font-size: 17px; line-height: 1.65;
  max-width: 440px; margin: 0 auto 36px;
}
.lnd-cta-sec .lnd-cta-btn { position: relative; z-index: 1; }

/* ── Footer ── */
.lnd-footer {
  background: #050010; border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 24px; text-align: center;
}
.lnd-footer-brand {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 22px; font-weight: 800; color: var(--pink-light); margin-bottom: 20px;
}
.lnd-footer-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.lnd-footer-links a { font-size: 14px; color: rgba(255,255,255,0.42); transition: color 0.2s; }
.lnd-footer-links a:hover { color: var(--pink-light); }
.lnd-footer-warning {
  max-width: 500px; margin: 0 auto 20px; font-size: 12px;
  color: rgba(255,255,255,0.30); line-height: 1.55;
  padding: 12px 16px; border: 1px solid rgba(255,255,255,0.07); border-radius: 10px;
}
.lnd-footer-copy { font-size: 12px; color: rgba(255,255,255,0.22); }

/* ── Responsive — mobile (≤ 780px) ── */
@media (max-width: 780px) {
  .lnd-hero-inner { flex-direction: column; }
  .lnd-hero-left { text-align: center; max-width: 100%; }
  .lnd-live-badge { margin: 0 auto 26px; }
  .lnd-map-picker { max-width: 360px; margin: 0 auto 22px; }
  .lnd-map-picker-label { text-align: center; }
  .lnd-actions { justify-content: center; }
  .lnd-actions .lnd-cta-btn { min-width: 260px; }

  /* Logo: sem margem negativa no mobile para não sair da área visível */
  #landing-logo-wrap {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
  }
}

/* ── Responsive — tablet (768px – 1023px) ── */
@media (min-width: 768px) {
  .lnd-hero { padding: 80px 48px; }
  .lnd-hero-left { max-width: 580px; }
  .lnd-map-picker { max-width: 460px !important; }
  #lnd-howto { max-width: 460px !important; }
  /* Badge "partidas ao vivo" alinhado exatamente com o label do mapa */
  .lnd-live-badge {
    width: 100%;
    max-width: 460px;
    justify-content: center;
    box-sizing: border-box;
  }

  /* Carrossel de mapas maior — !important sobrescreve inline styles do landing.js */
  .lnd-map-coverflow { height: 220px !important; }
  .mapa-slide { width: 120px !important; }
  .mapa-slide[data-pos="-1"] { transform: translate(calc(-50% - 126px),-50%) scale(.75) !important; }
  .mapa-slide[data-pos="1"]  { transform: translate(calc(-50% + 126px),-50%) scale(.75) !important; }
  .mapa-slide[data-pos="-2"] { transform: translate(calc(-50% - 224px),-50%) scale(.55) !important; }
  .mapa-slide[data-pos="2"]  { transform: translate(calc(-50% + 224px),-50%) scale(.55) !important; }

  /* Como jogar: um pouco mais alto */
  #lnd-howto { max-width: 560px !important; }
  #lnd-howto-track { height: 110px !important; }

  /* Login / cadastro — card um pouco maior */
  .lgn-wrap, .reg-wrap { max-width: 480px; }

  /* Auth page — padding seguro no desktop */
  .auth-page {
    padding: max(48px, env(safe-area-inset-top))
             max(48px, env(safe-area-inset-right))
             max(48px, env(safe-area-inset-bottom))
             max(48px, env(safe-area-inset-left));
  }
}

/* ── Responsive — desktop (≥ 1024px) ── */
@media (min-width: 1024px) {
  /* Landing hero: conteúdo centralizado no desktop grande */
  .lnd-hero { padding: 100px 80px; min-height: 100vh; }
  .lnd-hero-left { max-width: 640px !important; }
  #lnd-howto { max-width: 560px !important; }

  /* Carrossel ainda maior no desktop — !important sobrescreve inline styles */
  .lnd-map-coverflow { height: 260px !important; }
  .mapa-slide { width: 140px !important; }
  .mapa-slide[data-pos="-1"] { transform: translate(calc(-50% - 150px),-50%) scale(.75) !important; }
  .mapa-slide[data-pos="1"]  { transform: translate(calc(-50% + 150px),-50%) scale(.75) !important; }
  .mapa-slide[data-pos="-2"] { transform: translate(calc(-50% - 264px),-50%) scale(.55) !important; }
  .mapa-slide[data-pos="2"]  { transform: translate(calc(-50% + 264px),-50%) scale(.55) !important; }

  /* "Como jogar" mais espaçoso */
  #lnd-howto { max-width: 640px !important; }
  #lnd-howto-track { height: 120px !important; }
  .lnd-cta-btn { font-size: 18px; padding: 20px 48px; }

  /* Login/cadastro: card maior no desktop */
  .lgn-wrap, .reg-wrap { max-width: 520px; }
}

/* ══════════════════════════════════════════════════════════════════════════════
   PAINEL ADMINISTRATIVO & MODERAÇÃO (CYBERSECURE THEME)
   ══════════════════════════════════════════════════════════════════════════════ */
#page-admin {
  background: #0d0612;
  color: #f0e6f2;
  min-height: 100vh;
}

/* ─── Admin Login ─── */
.adm-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(circle at 50% 20%, #260e2d 0%, #0a040e 100%);
}
.adm-login-card {
  width: 100%;
  max-width: 440px;
  background: rgba(26, 12, 32, 0.95);
  border: 1px solid rgba(255, 107, 157, 0.25);
  border-radius: 20px;
  padding: 36px 30px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 24px rgba(255, 107, 157, 0.12);
}
.adm-login-header {
  text-align: center;
  margin-bottom: 28px;
}
.adm-shield-icon {
  font-size: 42px;
  margin-bottom: 10px;
  filter: drop-shadow(0 4px 12px rgba(255, 107, 157, 0.4));
}
.adm-login-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
}
.adm-login-header p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}
.adm-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.adm-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.adm-form-group label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.adm-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(13, 6, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 0 14px;
  transition: border-color 0.2s;
}
.adm-input-wrap:focus-within {
  border-color: #FF6B9D;
  box-shadow: 0 0 0 2px rgba(255, 107, 157, 0.2);
}
.adm-input-icon {
  font-size: 16px;
  margin-right: 10px;
  opacity: 0.7;
}
.adm-input-wrap input,
.adm-form-group input,
.adm-select {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  padding: 12px 0;
  font-size: 14px;
  outline: none;
}
.adm-form-group input:not(.adm-input-wrap input),
.adm-select {
  background: rgba(13, 6, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px 14px;
}
.adm-form-group input:focus,
.adm-select:focus {
  border-color: #FF6B9D;
  outline: none;
}
.adm-select {
  cursor: pointer;
}
.adm-select option {
  background: #1a0c20;
  color: #fff;
}
.adm-security-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.adm-lock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00C97A;
  box-shadow: 0 0 6px #00C97A;
  flex-shrink: 0;
}
.adm-btn-primary {
  background: linear-gradient(135deg, #FF6B9D 0%, #E0558A 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(224, 85, 138, 0.35);
  transition: transform 0.15s, opacity 0.2s;
}
.adm-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(224, 85, 138, 0.45);
}
.adm-btn-primary:active {
  transform: translateY(1px);
}
.adm-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.adm-alert {
  background: rgba(255, 77, 109, 0.15);
  border: 1px solid rgba(255, 77, 109, 0.4);
  color: #ff99ab;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
}
.adm-alert.hidden { display: none; }
.adm-login-footer {
  text-align: center;
  margin-top: 24px;
}
.adm-back-link {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  transition: color 0.2s;
}
.adm-back-link:hover {
  color: #FF6B9D;
}

/* ─── Admin Layout ─── */
.adm-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.adm-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(20, 9, 25, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.adm-topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.adm-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.adm-brand-shield {
  font-size: 20px;
}
.adm-brand-name {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #fff, #FF8CC8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.adm-badge-role {
  font-size: 10px;
  font-weight: 800;
  background: rgba(255, 107, 157, 0.2);
  color: #FF8CC8;
  border: 1px solid rgba(255, 107, 157, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.adm-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.adm-status-badge .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #aaa;
}
.adm-status-badge.active .status-dot {
  background: #00C97A;
  box-shadow: 0 0 6px #00C97A;
}
.adm-status-badge.warning .status-dot {
  background: #FFB347;
  box-shadow: 0 0 6px #FFB347;
}
.adm-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.adm-user-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.adm-btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.adm-btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}
.adm-btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #FF6B9D;
}
.adm-btn-refresh {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.adm-btn-refresh:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ─── KPI Bar ─── */
.adm-kpi-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  padding: 16px 24px;
  background: rgba(15, 6, 20, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.adm-kpi-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(28, 13, 36, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
}
.kpi-icon {
  font-size: 24px;
}
.kpi-info {
  display: flex;
  flex-direction: column;
}
.kpi-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.kpi-val {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
}
.kpi-pending {
  color: #FF8CC8;
}
.kpi-profit {
  color: #00C97A;
}
.kpi-loss {
  color: #FF4D6D;
}

/* ─── Tabs Navigation ─── */
.adm-tabs-nav {
  display: flex;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(20, 9, 25, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow-x: auto;
}
.adm-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.adm-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.adm-tab-btn.active {
  color: #fff;
  background: rgba(255, 107, 157, 0.18);
  border: 1px solid rgba(255, 107, 157, 0.3);
}
.tab-badge {
  background: #FF4D6D;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 10px;
}

/* ─── Main Content ─── */
.adm-main-content {
  flex: 1;
  padding: 24px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
.adm-loading-block {
  text-align: center;
  padding: 60px 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}
.adm-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: rgba(25, 11, 32, 0.5);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  margin-top: 16px;
}
.empty-icon {
  font-size: 40px;
  margin-bottom: 12px;
}
.adm-empty-state h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 6px;
}
.adm-empty-state p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 400px;
  margin: 0 auto;
}

/* ─── Filter Bar ─── */
.adm-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}
.adm-filter-group {
  display: flex;
  gap: 6px;
}
.adm-filter-btn {
  background: rgba(25, 11, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.adm-filter-btn.active {
  background: #FF6B9D;
  border-color: #FF6B9D;
  color: #fff;
}

/* ─── Transaction Cards (Withdrawals) ─── */
.adm-tx-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.adm-tx-card {
  background: rgba(26, 12, 33, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 20px;
  transition: transform 0.15s, border-color 0.2s;
}
.adm-tx-card.highlight-pending {
  border-color: rgba(255, 107, 157, 0.4);
  box-shadow: 0 4px 20px rgba(255, 107, 157, 0.08);
}
.adm-tx-card:hover {
  border-color: rgba(255, 107, 157, 0.5);
}
.adm-tx-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}
.adm-tx-player {
  display: flex;
  align-items: center;
  gap: 10px;
}
.player-avatar {
  font-size: 22px;
}
.player-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}
.adm-tx-amount {
  display: flex;
  align-items: center;
  gap: 10px;
}
.amount-val {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}
.adm-status-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}
.adm-status-chip.pending {
  background: rgba(255, 179, 71, 0.2);
  color: #FFB347;
  border: 1px solid rgba(255, 179, 71, 0.4);
}
.adm-status-chip.approved {
  background: rgba(0, 201, 122, 0.2);
  color: #00C97A;
  border: 1px solid rgba(0, 201, 122, 0.4);
}
.adm-status-chip.rejected {
  background: rgba(255, 77, 109, 0.2);
  color: #FF4D6D;
  border: 1px solid rgba(255, 77, 109, 0.4);
}

.adm-tx-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  background: rgba(13, 6, 18, 0.7);
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 12px;
}
.detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.detail-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}
.detail-val {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.detail-val.copyable {
  cursor: pointer;
  color: #FF8CC8;
}
.detail-val.copyable:hover {
  text-decoration: underline;
}

.adm-tx-risk-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: 8px;
}
.adm-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}
.tag-success {
  background: rgba(0, 201, 122, 0.2);
  color: #00C97A;
  border: 1px solid rgba(0, 201, 122, 0.3);
}
.tag-warning {
  background: rgba(255, 179, 71, 0.2);
  color: #FFB347;
  border: 1px solid rgba(255, 179, 71, 0.4);
}
.tag-danger {
  background: rgba(255, 77, 109, 0.2);
  color: #FF4D6D;
  border: 1px solid rgba(255, 77, 109, 0.4);
}
.rejection-info {
  color: rgba(255, 150, 170, 0.9);
  font-size: 12px;
}

.adm-tx-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.adm-btn-action {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.adm-btn-approve {
  background: linear-gradient(135deg, #00C97A 0%, #00965B 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 201, 122, 0.25);
}
.adm-btn-approve:hover {
  background: #00dd86;
  box-shadow: 0 6px 18px rgba(0, 201, 122, 0.35);
}
.adm-btn-reject {
  background: rgba(255, 77, 109, 0.15);
  border: 1px solid rgba(255, 77, 109, 0.3);
  color: #FF4D6D;
}
.adm-btn-reject:hover {
  background: rgba(255, 77, 109, 0.25);
  color: #fff;
}

/* ─── Stats KPI Grid ─── */
.adm-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.adm-kpi-box {
  background: rgba(26, 12, 33, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
}
.adm-kpi-box.main-box {
  border-color: rgba(255, 107, 157, 0.3);
  background: linear-gradient(145deg, rgba(38, 15, 48, 0.9) 0%, rgba(20, 8, 25, 0.9) 100%);
}
.box-tag {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
}
.box-number {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  margin: 8px 0;
}
.box-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.text-green { color: #00C97A !important; }
.text-red { color: #FF4D6D !important; }
.text-orange { color: #FFB347 !important; }

/* ─── Tables ─── */
.adm-table-wrap {
  overflow-x: auto;
  background: rgba(26, 12, 33, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  margin-top: 16px;
}
.adm-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.adm-table th {
  padding: 14px 16px;
  background: rgba(13, 6, 18, 0.9);
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.adm-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}
.adm-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}
.adm-btn-group {
  display: flex;
  gap: 6px;
}
.user-balance-badge {
  font-weight: 800;
  color: #00C97A;
}

/* ─── Search & Inputs ─── */
.adm-search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.adm-search-bar input {
  flex: 1;
  background: rgba(26, 12, 33, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px 16px;
  color: #fff;
  font-size: 14px;
}

/* ─── Card Panels & Settings ─── */
.adm-card-panel {
  background: rgba(26, 12, 33, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
}
.adm-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.adm-card-title-icon {
  font-size: 26px;
}
.adm-card-header h3 {
  font-size: 17px;
  color: #fff;
  font-weight: 800;
}
.adm-card-header p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.adm-yuvex-doc-info {
  background: rgba(77, 158, 255, 0.1);
  border: 1px solid rgba(77, 158, 255, 0.25);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12px;
  color: #a8d2ff;
  margin-top: 14px;
}
.adm-input-toggle-wrap {
  display: flex;
  align-items: center;
  position: relative;
}
.adm-input-toggle-wrap input {
  padding-right: 44px;
}
.adm-toggle-pwd {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
}
.adm-yuvex-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}
.adm-test-result {
  font-size: 13px;
  font-weight: 600;
}
.adm-test-result.success { color: #00C97A; }
.adm-test-result.error { color: #FF4D6D; }
.adm-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 24px 0;
}
.adm-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.adm-copy-field {
  display: flex;
  gap: 8px;
}
.adm-copy-field input {
  flex: 1;
}

/* ─── Modal ─── */
.adm-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.adm-modal.hidden { display: none; }
.adm-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}
.adm-modal-box {
  position: relative;
  background: #1a0c21;
  border: 1px solid rgba(255, 107, 157, 0.3);
  border-radius: 18px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  z-index: 10;
}
.adm-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: rgba(13, 6, 18, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.adm-modal-header h3 {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}
.adm-modal-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 22px;
  cursor: pointer;
}
.adm-modal-body {
  padding: 20px;
}
.adm-confirm-box {
  background: rgba(13, 6, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px;
  margin: 14px 0;
  text-align: center;
}
.confirm-amount {
  font-size: 26px;
  font-weight: 900;
  color: #00C97A;
  margin-top: 4px;
}
.confirm-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}
.adm-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}
.adm-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.adm-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}
.adm-action-badge {
  font-size: 10px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ══════════════════════════════════════════════════════════════════════════════
   PAINEL RESPONSIVO MOBILE (#painel)
   ══════════════════════════════════════════════════════════════════════════════ */

.painel-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 107, 157, 0.18);
  padding: 12px 24px;
}
.painel-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.painel-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex-shrink: 0;
}
.painel-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.painel-saldo-box {
  background: #fff;
  border: 1.5px solid rgba(0, 160, 99, 0.35);
  padding: 6px 14px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  box-shadow: 0 2px 8px rgba(0, 160, 99, 0.08);
}
.painel-main {
  padding: 94px 20px 60px;
  max-width: 1120px;
  margin: 0 auto;
}
.painel-grid-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}
.painel-ref-box {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .painel-header {
    padding: 8px 10px !important;
  }
  .painel-header-inner {
    gap: 6px !important;
  }
  .painel-brand .brand-text {
    font-size: 15px !important;
  }
  .painel-brand .logo-icon {
    width: 28px !important;
    height: 28px !important;
    font-size: 14px !important;
  }
  .painel-nav-actions {
    gap: 6px !important;
  }
  .painel-saldo-box {
    padding: 3px 8px !important;
    border-radius: 10px !important;
  }
  .painel-saldo-box span:first-child {
    display: none !important; /* Hide label on small mobile to save space */
  }
  .painel-saldo-box #header-saldo {
    font-size: 13px !important;
    line-height: 1.1 !important;
  }
  .painel-btn-dep-nav {
    padding: 6px 10px !important;
    font-size: 11.5px !important;
    border-radius: 20px !important;
  }
  .painel-btn-saque-nav {
    padding: 6px 8px !important;
    font-size: 11.5px !important;
    border-radius: 20px !important;
  }
  .painel-btn-logout-nav {
    font-size: 15px !important;
    padding: 2px !important;
  }

  .painel-main {
    padding: 66px 10px 40px !important;
  }

  .painel-welcome {
    padding: 14px 14px !important;
    border-radius: 16px !important;
    margin-bottom: 14px !important;
  }
  .painel-welcome h2 {
    font-size: 17px !important;
  }
  .painel-welcome p {
    font-size: 11.5px !important;
  }
  .painel-welcome .badge-tags {
    margin-top: 8px !important;
    gap: 6px !important;
  }

  .painel-ref-card {
    padding: 14px 12px !important;
    border-radius: 16px !important;
    margin-bottom: 16px !important;
  }
  .painel-ref-box {
    width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .painel-ref-input-group {
    width: 100% !important;
    display: flex !important;
    gap: 6px !important;
    box-sizing: border-box !important;
  }
  .painel-ref-input-group input {
    flex: 1 !important;
    min-width: 0 !important;
    font-size: 11px !important;
  }
  .painel-ref-input-group button {
    padding: 8px 12px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
  }
  .painel-ref-badge-stats {
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 8px 14px !important;
  }

  .painel-game-card {
    padding: 18px 12px !important;
    border-radius: 18px !important;
    margin-bottom: 18px !important;
  }
  .painel-game-card h3 {
    font-size: 19px !important;
  }
  .painel-grid-cols {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-bottom: 18px !important;
  }

  .painel-entry-box {
    padding: 16px 12px !important;
    border-radius: 14px !important;
  }
  .painel-wallet-box {
    padding: 16px 12px !important;
    border-radius: 14px !important;
  }

  .btn-preset {
    padding: 9px 2px !important;
    font-size: 11.5px !important;
    min-height: 38px !important;
  }

  #btn-iniciar-partida {
    font-size: 15px !important;
    padding: 15px 14px !important;
    border-radius: 40px !important;
    width: 100% !important;
  }

  .painel-history-card {
    padding: 16px 12px !important;
    border-radius: 18px !important;
  }
  .painel-history-card h3 {
    font-size: 16px !important;
  }

  /* Responsive Transactions Table to Mobile Cards */
  .painel-table-desktop {
    display: none !important;
  }
  .painel-cards-mobile {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  .painel-tx-mobile-item {
    background: rgba(255, 245, 248, 0.6);
    border: 1px solid rgba(255, 107, 157, 0.18);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
@media (min-width: 769px) {
  .painel-cards-mobile {
    display: none !important;
  }
}


