/* ── Inline Style 1 ── */

@font-face {
  font-family: 'tiktokSans';
  src: url('./assets/340bcf4fc090.ttf') format('truetype'), url('/f5-di/_next/static/media/TikTokSans-s.p.3-yd3y19zl373.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
:root {
  --primary: #fe2b54;
  --background: #ffffff;
  --secondary: rgba(0,0,0,0.05);
  --third: #000000;
  --marine: #69c9d0;
  --foreground: #000000;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'tiktokSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--background);
  color: var(--foreground);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: var(--background);
  border-bottom: 1px solid var(--secondary);
  padding: 10px 18px;
  display: flex; align-items: center; justify-content: center;
}
.header img { height: 28px; }
.progress-bar-container {
  padding: 8px 18px;
  border-bottom: 1px solid var(--secondary);
}
.progress-bar-wrap { display: flex; align-items: center; gap: 6px; }
.progress-bar-bg {
  flex: 1; height: 10px; background: var(--secondary);
  border-radius: 999px; overflow: hidden;
}
.progress-bar-fill {
  height: 100%; background: var(--primary); border-radius: 999px;
  transition: width 0.7s ease; width: 0%;
}
.progress-text { font-size: 0.625rem; font-weight: 700; white-space: nowrap; }
.live-counter { display: flex; align-items: center; gap: 4px; font-size: 0.625rem; font-weight: 700; }
.live-dot {
  width: 6px; height: 6px; background: #ff0000;
  border-radius: 50%; animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 99999;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content {
  background: var(--background); border-radius: 16px; padding: 32px 24px;
  max-width: 400px; width: 100%; text-align: center; animation: modalIn 0.3s ease;
}
@keyframes modalIn { from{transform:scale(0.8);opacity:0} to{transform:scale(1);opacity:1} }
.modal-title { font-size: 2.25rem; font-weight: 700; line-height: 1; margin-bottom: 16px; }
.modal-text { font-size: 1.25rem; font-weight: 500; line-height: 1.3; margin-bottom: 12px; }
.modal-balance { font-size: 3rem; font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: 16px; }
.btn-primary {
  display: flex; width: 100%; align-items: center; justify-content: center; gap: 4px;
  font-weight: 600; text-align: center; padding: 12px; border-radius: 8px;
  border: none; cursor: pointer; font-size: 1rem; font-family: inherit;
  background: var(--primary); color: white; transition: transform 0.15s;
  text-decoration: none;
}
.btn-primary:active { transform: scale(0.97); }
.text-primary { color: var(--primary); }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-semibold { font-weight: 600; }

.reel-container { flex: 1; position: relative; background: var(--third); overflow: hidden; min-height: 500px; }
.reel-slide { position: absolute; inset: 0; transition: transform 0.6s ease-in-out; }
.reel-video { width: 100%; height: 100%; object-fit: cover; }
.reel-sidebar {
  position: absolute; bottom: 0; right: 0; width: 62px; height: 420px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: 16px; padding-bottom: 24px; user-select: none;
}
.reel-sidebar-item { display: flex; flex-direction: column; align-items: center; gap: 4px; color: white; text-shadow: 0 1px 3px rgba(0,0,0,0.75); }
.reel-sidebar-item img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid white; object-fit: cover; }
.reel-sidebar-item span { font-size: 0.625rem; font-weight: 700; }
.reel-product-card { position: absolute; bottom: 56px; left: 0; width: 100%; padding: 0 24px; }
.product-card-inner { position: relative; padding: 12px; display: flex; align-items: center; gap: 12px; border-radius: 8px; user-select: none; }
.product-card-bg { position: absolute; inset: 0; border-radius: 8px; background: rgba(255,255,255,0.9); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); }
.product-card-inner img { position: relative; z-index: 1; width: 80px; height: 80px; object-fit: contain; border-radius: 6px; border: 1px solid rgba(0,0,0,0.1); background: var(--secondary); padding: 4px; }
.product-card-content { position: relative; z-index: 1; flex: 1; }
.product-card-content h2 { font-weight: 600; font-size: 0.875rem; line-height: 1; margin-bottom: 16px; }
.product-card-buttons { display: flex; gap: 8px; }
.product-card-buttons button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 6px; border-radius: 6px; font-weight: 600; font-size: 0.875rem; border: none; cursor: pointer; font-family: inherit; }
.product-card-buttons .btn-no { background: var(--primary); color: white; }
.product-card-buttons .btn-yes { background: transparent; border: 1px solid #000; color: #000; }
.volume-btn { position: absolute; top: 96px; left: 0; padding: 16px 16px 16px 18px; background: none; border: none; cursor: pointer; z-index: 10; }
.volume-btn svg { width: 24px; height: 24px; fill: white; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5)); }

.vsl-container { flex: 1; background: var(--third); display: none; }
.vsl-inner { position: relative; max-width: 400px; margin: 0 auto; }
.vsl-cta { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: calc(100% - 36px); z-index: 9999999; display: none; }

.wallet-container { padding: 18px; display: none; }
.balance-card { border-radius: 8px; overflow: hidden; border-bottom: 1px dashed rgba(255,255,255,0.3); }
.balance-card-main { padding: 28px 20px; display: flex; align-items: center; justify-content: space-between; background: #000; color: white; }
.balance-label { font-weight: 500; font-size: 0.875rem; line-height: 1; margin-bottom: 8px; }
.balance-amount { font-weight: 600; font-size: 2.25rem; line-height: 1; }
.balance-card-sub { margin-top: -1px; padding: 12px 20px; font-size: 0.75rem; font-weight: 600; border-radius: 8px; background: #000; color: rgba(255,255,255,0.6); }
.pix-title { font-weight: 700; text-align: center; padding: 19px 0; font-size: 0.875rem; }
.pix-type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.pix-type-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 23px 0; border-radius: 6px; border: none; cursor: pointer; font-family: inherit; font-weight: 500; font-size: 0.875rem; transition: all 0.2s; }
.pix-type-btn.active { background: #000; color: white; }
.pix-type-btn:not(.active) { background: var(--secondary); color: rgba(0,0,0,0.5); }
.pix-type-btn svg { width: 32px; height: 32px; }
.pix-input { width: 100%; background: var(--secondary); border-radius: 8px; padding: 17px; border: none; font-family: inherit; font-weight: 500; font-size: 0.875rem; outline: none; margin-bottom: 18px; }
.pix-input::placeholder { color: rgba(0,0,0,0.5); font-size: 0.875rem; }

.bag-container { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100px; }
.bag { width: 80px; height: 80px; background: url('./assets/b8aea01c0647.webp') center/contain no-repeat; cursor: pointer; transition: transform 0.3s; }
.bag.exploded { animation: bagExplode 0.5s forwards; }
@keyframes bagExplode { 0%{transform:scale(1)} 50%{transform:scale(1.3)} 100%{transform:scale(0);opacity:0} }
.coin-particle { position: absolute; width: 20px; height: 20px; background: url('./assets/3cfaa1ac34e2.png') center/contain no-repeat; pointer-events: none; animation: coinFly 1.5s ease-out forwards; }
@keyframes coinFly { 0%{transform:translate(var(--x),var(--y)) scale(1);opacity:1} 100%{transform:translate(var(--xEnd),var(--yEnd)) scale(0.3);opacity:0} }

.footer { background: var(--background); border-top: 1px solid var(--secondary); padding: 16px 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer a { font-size: 0.75rem; color: rgba(0,0,0,0.5); text-decoration: none; }
.footer img { height: 20px; opacity: 0.5; }
.header-spacer { height: 48px; }
@keyframes scale-down { 0%,100%{transform:scale(1)} 50%{transform:scale(0.97)} }
.animate-scale-down { animation: scale-down 2s ease-in-out infinite; }

.amount-modal { background: var(--secondary); padding: 0; border-radius: 16px; overflow: hidden; }
.amount-content { padding: 24px; text-align: center; }
.amount-value { font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.amount-searching { font-size: 0.875rem; color: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; gap: 8px; }
.spinner { width: 16px; height: 16px; border: 2px solid var(--secondary); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to{transform:rotate(360deg)} }
.lottie-coin { width: 120px; height: 120px; margin: 0 auto; }
