/* ─── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px; scroll-behavior: smooth;
  overflow-x: hidden; width: 100%;
}
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #FFE4EE 0%, #FFB3CB 100%);
  min-height: 100vh; width: 100%;
  overflow-x: hidden;
  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 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: 15px; 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;
  padding: 20px; 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: 6px; }
::-webkit-scrollbar-track { background: #ffe4ee; }
::-webkit-scrollbar-thumb { background: var(--pink-light); border-radius: 50px; }

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

#page-landing { background: #0d0020; }

/* ── 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: 14px 24px;
  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 {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding: 80px 24px 60px;
  background:
    linear-gradient(160deg, rgba(8,0,24,0.80) 0%, rgba(30,0,60,0.58) 55%, rgba(8,0,24,0.88) 100%),
    url('/img/game-bg.png') center/cover no-repeat;
}
.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;
  max-width: 1100px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
}
.lnd-hero-left { max-width: 560px; }

/* 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: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px); border-radius: 50px;
  padding: 7px 18px; margin-bottom: 28px;
  font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.88);
}
.lnd-live-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green); flex-shrink: 0; position: relative;
}
.lnd-live-dot::after {
  content: ''; position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid var(--green); animation: lnd-ping 1.6s ease-out infinite;
}

/* Title */
.lnd-title {
  font-size: clamp(44px, 9vw, 84px); font-weight: 800; line-height: 1.0;
  color: #fff; margin-bottom: 22px; letter-spacing: -2px;
}
.lnd-title em { color: var(--pink); font-style: normal; display: block; }

/* Subtitle */
.lnd-sub {
  font-size: 17px; color: rgba(255,255,255,0.65);
  line-height: 1.7; margin-bottom: 38px; max-width: 440px;
}
.lnd-sub strong { color: var(--pink); font-weight: 800; }

/* Actions */
.lnd-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 38px; }
@keyframes lnd-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(0,201,122,0.45); }
  50% { box-shadow: 0 8px 44px rgba(0,201,122,0.75), 0 0 80px rgba(0,201,122,0.22); }
}
.lnd-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #00C97A 0%, #00ea8c 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-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 ── */
@media (max-width: 780px) {
  .lnd-hero-inner { flex-direction: column; }
  .lnd-wins-col { display: none; }
  .lnd-hero-left { text-align: center; max-width: 100%; }
  .lnd-live-badge { margin: 0 auto 26px; }
  .lnd-sub { margin-left: auto; margin-right: auto; }
  .lnd-actions { justify-content: center; }
  .lnd-trust { justify-content: center; }
  .lnd-title em { display: inline; }
}
