:root {
  /* Cores Modernas - Gamer/Lux Aesthetic (Blue/Yellow/Black) */
  --bg-dark: #05080c;
  /* Deep Black/Blue */
  --bg-card: #0a101a;
  /* Slightly lighter deep blue */
  --bg-glass: rgba(10, 15, 25, 0.7);
  --primary: #0052cc;
  /* Royal Blue */
  --primary-glow: #007bff;
  /* Bright Blue */
  --accent: #ffd700;
  /* Gold/Yellow */
  --neon: #ffcc00;
  /* Neon Yellow */
  --success: #00ff87;
  /* Green for PIX */
  --text-main: #f5f5f7;
  --text-dim: #9aa5b1;
  --border: rgba(255, 255, 255, 0.08);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --glass-blur: blur(12px);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  --glow-primary: 0 0 20px rgba(0, 123, 255, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  padding-bottom: 120px;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(0, 123, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 204, 0, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-glass);
  border-radius: 10px;
  border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.main-layout {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
}

.main-container {
  width: 100%;
  max-width: 1000px;
  padding: 20px;
  margin: 0 auto;
}

/* HERO SECTION - REVISITED */
.hero-section {
  margin: 40px 0 60px;
  perspective: 1000px;
}

.hero-card {
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  animation: cardEntrance 1s ease-out;
}

@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: translateY(30px) rotateX(10deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

.badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 215, 0, 0.1);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

.hero-title {
  font-size: clamp(28px, 9vw, 64px);
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: 2px;
  line-height: 1.2;
  color: #ffffff;
  /* Central Branco */
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  /* Otimização performance: Usar drop-shadow em vez de multiplos text-shadows */
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.4));
}

.rgb-letter {
  display: inline-block;
  white-space: pre;
  animation: rgbWaveAnim 3s infinite;
}

@keyframes rgbWaveAnim {
  0% {
    transform: translateY(0) translateX(0);
    text-shadow:
      0 0 10px rgba(0, 242, 254, 0.8),
      0 0 20px rgba(142, 45, 226, 0.6),
      0 0 30px rgba(255, 0, 128, 0.6);
  }

  20% {
    transform: translateY(-10px) translateX(-3px);
    text-shadow:
      0 0 15px rgba(255, 0, 128, 0.8),
      0 0 25px rgba(0, 242, 254, 0.8),
      0 0 35px rgba(142, 45, 226, 0.6);
  }

  40% {
    transform: translateY(2px) translateX(3px);
    text-shadow:
      0 0 15px rgba(142, 45, 226, 0.8),
      0 0 25px rgba(255, 0, 128, 0.6),
      0 0 35px rgba(0, 242, 254, 0.8);
  }

  60% {
    transform: translateY(-5px) translateX(-2px);
  }

  100% {
    transform: translateY(0) translateX(0);
    text-shadow:
      0 0 10px rgba(0, 242, 254, 0.8),
      0 0 20px rgba(142, 45, 226, 0.6),
      0 0 30px rgba(255, 0, 128, 0.6);
  }
}

.green-letter {
  display: inline-block;
  white-space: pre;
  animation: greenWaveAnim 3s infinite;
}

@keyframes greenWaveAnim {
  0% {
    transform: translateY(0) translateX(0);
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 255, 135, 0.4), 0 0 20px rgba(0, 255, 135, 0.2);
  }

  20% {
    transform: translateY(-5px) translateX(-2px);
    color: var(--success);
    text-shadow: 0 0 15px var(--success), 0 0 25px var(--success), 0 0 35px var(--success);
  }

  40% {
    transform: translateY(2px) translateX(2px);
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 255, 135, 0.8), 0 0 25px rgba(0, 255, 135, 0.4);
  }

  60% {
    transform: translateY(-3px) translateX(-1px);
  }

  100% {
    transform: translateY(0) translateX(0);
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 255, 135, 0.4), 0 0 20px rgba(0, 255, 135, 0.2);
  }
}


.hero-subtitle {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.date-blocks-container {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.date-block-label {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-dim);
  font-weight: 800;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.date-blocks-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.date-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 15px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.date-block:hover {
  transform: translateY(-3px);
  border-color: var(--neon);
}

.date-block-val {
  font-size: 22px;
  font-weight: 950;
  color: #fff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.end-date-disclaimer {
  font-size: 10px;
  color: #555;
  margin-top: 10px;
  font-style: italic;
  max-width: 250px;
  margin-left: auto;
  margin-right: auto;
}

/* AVISO DE SEGURANÇA PIX */
.pix-security-notice {
  background: rgba(0, 8, 20, 0.7);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 12px;
  padding: 15px;
  margin: 10px 0 20px;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
  text-align: center;
  backdrop-filter: blur(5px);
}

.notice-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.notice-icon {
  font-size: 18px;
}

.notice-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.notice-body {
  color: #eee;
  font-size: 13px;
  line-height: 1.5;
}

.notice-main-text {
  margin-bottom: 8px;
}

.notice-main-text strong {
  color: #fff;
  font-weight: 800;
}

.notice-detail-text {
  color: #aaa;
  font-size: 12px;
  margin-bottom: 12px;
}

.highlight-blue {
  color: #00f2fe;
  font-weight: 700;
}

.notice-footer-info {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
  font-size: 11px;
  color: #00f2fe;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.animate-fade-in {
  animation: fadeInScale 0.5s ease-out forwards;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 480px) {
  .pix-security-notice {
    padding: 12px;
    margin: 5px 5px 15px;
  }

  .notice-header h3 {
    font-size: 14px;
  }

  .notice-body {
    font-size: 12px;
  }

  .notice-detail-text {
    font-size: 11px;
  }
}

.hero-image-wrapper {
  margin: 20px auto 30px;
  position: relative;
  display: inline-flex;
  padding: 8px;
  border-radius: var(--radius-xl);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 40px rgba(0, 123, 255, 0.4);
  animation: prizeGlowPulse 2.5s infinite alternate;
  z-index: 2;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-xl);
  padding: 3px;
  background: linear-gradient(45deg, var(--primary), var(--neon), var(--success));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderSpin 4s linear infinite;
}

.hero-image-prize {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

@keyframes prizeGlowPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3), 0 0 10px rgba(255, 204, 0, 0.2);
  }

  100% {
    transform: scale(1.03);
    box-shadow: 0 0 50px rgba(0, 123, 255, 0.6), 0 0 40px rgba(255, 204, 0, 0.5);
  }
}

@keyframes borderSpin {
  100% {
    filter: hue-rotate(360deg);
  }
}

.hero-price-tag {
  display: inline-flex;
  flex-direction: column;
  margin-bottom: 50px;
  transform: scale(1.1);
}

.price-from {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 5px;
}

.price-now {
  font-size: 48px;
  font-weight: 950;
  color: var(--neon);
  text-shadow: 0 0 30px rgba(0, 242, 254, 0.5);
  font-style: italic;
}

/* PROGRESS SECTION */
.progress-section {
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-bottom: 40px;
  box-shadow: var(--shadow-lg);
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
}

.percent-badge {
  background: var(--primary);
  padding: 4px 12px;
  border-radius: 8px;
  box-shadow: var(--glow-primary);
}

.progress-track {
  height: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 15px;
  border: 1px solid var(--border);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--neon));
  box-shadow: 0 0 20px rgba(142, 45, 226, 0.5);
  border-radius: 10px;
  width: 0%;
  transition: width 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.progress-detail {
  font-size: 14px;
  color: var(--text-dim);
  text-align: center;
}

/* NUMBERS GRID - MODERNIZED */
.numbers-wrapper {
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  padding: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.section-title {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.scrollable-grid-container {
  max-height: 600px;
  overflow-y: auto;
  padding: 10px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.2);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: 12px;
}

.num-btn {
  aspect-ratio: 1/1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-dim);
  border-radius: 14px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.num-btn:hover:not(:disabled) {
  background: var(--primary);
  border-color: #fff;
  transform: translateY(-5px) scale(1.1);
  color: #fff;
  box-shadow: 0 0 15px var(--primary-glow);
  z-index: 2;
}

.num-btn.selected {
  background: var(--primary);
  border-color: #fff;
  color: #fff;
  box-shadow: 0 10px 20px rgba(142, 45, 226, 0.4);
}

.num-btn.pago {
  background: rgba(255, 59, 48, 0.1);
  color: #ff3b30;
  border-color: rgba(255, 59, 48, 0.2);
  text-decoration: line-through;
  cursor: not-allowed;
  opacity: 0.6;
}

.num-btn.reservado {
  background: rgba(255, 159, 10, 0.1);
  color: #ff9f0a;
  border-color: rgba(255, 159, 10, 0.2);
  cursor: not-allowed;
}

/* QUICK ACTIONS - PREMIUM RGB */
.quick-buy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.btn-quick {
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px;
  border-radius: var(--radius-md);
  font-weight: 900;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  animation: rgbGlowPulse 3s infinite alternate ease-in-out;
}

.btn-quick::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #0052cc, #ffd700, #ff0080, #00ff87);
  background-size: 400%;
  z-index: -1;
  border-radius: var(--radius-md);
  filter: blur(5px);
  opacity: 0.4;
  transition: opacity 0.3s;
  animation: rgbGlowMovement 10s linear infinite;
}

.btn-quick:hover {
  transform: translateY(-8px) scale(1.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.btn-quick:hover::before {
  opacity: 1;
  filter: blur(10px);
}

@keyframes rgbGlowPulse {
  0% {
    box-shadow: 0 0 5px rgba(0, 82, 204, 0.4), 0 0 0px transparent;
    border-color: rgba(255, 255, 255, 0.1);
  }

  50% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3), 0 0 10px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.5);
  }

  100% {
    box-shadow: 0 0 5px rgba(255, 0, 128, 0.4), 0 0 0px transparent;
    border-color: rgba(255, 255, 255, 0.1);
  }
}

@keyframes rgbGlowMovement {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* --- ANIMATIONS AND URGENCY --- */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pulse-urgency {
  color: #ff4d4d;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  margin-top: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: pulseUrgencyAnim 1.5s infinite;
  text-shadow: 0 0 10px rgba(255, 77, 77, 0.5);
}

@keyframes pulseUrgencyAnim {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.05);
    opacity: 1;
    text-shadow: 0 0 20px rgba(255, 77, 77, 0.9);
  }

  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

/* LIVE ACTION FLOAT (BUBBLE) */
.numbers-wrapper {
  position: relative;
  /* Necessário para a bolha flutuar em relação a este bloco */
  /* Re-aplicando regras existentes de caso precisem estar juntas, mas apenas position added */
}

.live-action-float {
  position: absolute;
  top: -20px;
  right: 20px;
  background: rgba(10, 15, 10, 0.85);
  border: 1px solid var(--success);
  border-radius: 50px;
  padding: 8px 16px;
  opacity: 0;
  transform: translateY(-10px) scale(0.9);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(0, 255, 135, 0.2);
  z-index: 10;
  pointer-events: none;
  /* Não interfere no clique */
}

.live-action-float.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.live-indicator-float {
  display: flex;
  align-items: center;
  gap: 8px;
}

.eye-icon {
  font-size: 16px;
  animation: eyeLook 4s ease-in-out infinite;
  display: inline-block;
}

@keyframes eyeLook {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-3px);
  }

  75% {
    transform: translateX(3px);
  }
}

.text-green-bounce {
  color: var(--success);
  font-size: 13px;
  font-weight: 800;
  text-shadow: 0 0 8px rgba(0, 255, 135, 0.4);
  animation: textBounce 2s infinite ease-in-out;
  display: inline-block;
  letter-spacing: 0.5px;
}

@keyframes textBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

/* CHECKOUT INLINE PREMIUM */
.checkout-inline {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.95));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(142, 45, 226, 0.3);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(142, 45, 226, 0.1);
  transform-origin: center top;
}

@keyframes scaleUpPop {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes scaleDownFade {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(0.95);
  }
}

.checkout-summary-inline {
  display: flex;
  gap: 30px;
}

.summary-item-inline {
  display: flex;
  flex-direction: column;
}

.summary-label-inline {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.summary-value-inline {
  font-size: 24px;
  font-weight: 950;
  font-family: 'Outfit', sans-serif;
  color: #fff;
  display: inline-block;
}

.summary-value-inline.highlight {
  color: var(--neon);
  text-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.btn-inline-checkout {
  background: linear-gradient(135deg, var(--primary), var(--primary-glow));
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  box-shadow: var(--glow-primary), 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-inline-checkout:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(142, 45, 226, 0.6);
}

@keyframes popValue {
  0% {
    transform: scale(1);
    color: #fff;
  }

  50% {
    transform: scale(1.2);
    color: var(--success);
    text-shadow: 0 0 10px var(--success);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes numberClick {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.85);
    background: #fff;
    color: #000;
    box-shadow: 0 0 30px #fff;
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 600px) {
  .checkout-inline {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .checkout-summary-inline {
    width: 100%;
    justify-content: space-between;
  }

  .btn-inline-checkout {
    width: 100%;
    justify-content: center;
  }
}

/* ACTIONS EXTRA / LEGENDA */
.btn-static-checkout {
  width: 100%;
  background: linear-gradient(135deg, var(--success), #2ecc71);
  color: #000;
  border: none;
  padding: 16px;
  border-radius: 16px;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 255, 135, 0.2);
  margin-top: 20px;
  transition: 0.3s;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.btn-static-checkout:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 255, 135, 0.4);
}

.legend-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  max-width: 100%;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.available {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-dot.selected {
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

.status-dot.paid {
  background: rgba(255, 59, 48, 0.5);
}

.status-dot.reserved {
  background: #ff9f0a;
}

/* MODALS - REVISITED */
.modal-overlay {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: overlayFade 0.4s ease;
}

@keyframes overlayFade {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }

  to {
    opacity: 1;
    backdrop-filter: blur(30px);
  }
}

.modal-card {
  background: rgba(15, 15, 15, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 32px;
  padding: 40px;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9);
  animation: modalEnter 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  backdrop-filter: blur(10px);
}

@keyframes modalEnter {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}

.modal-header h2 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff, #888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-header p {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 30px;
}

.form-premium .form-field {
  margin-bottom: 20px;
}

.form-premium label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.form-premium input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 20px;
  border-radius: 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s;
}

.form-premium input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(142, 45, 226, 0.2);
  outline: none;
}

.btn-pay-pix {
  width: 100%;
  background: linear-gradient(135deg, var(--success), #2ecc71);
  color: #000;
  border: none;
  padding: 18px;
  border-radius: 16px;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 10px;
  box-shadow: 0 10px 30px rgba(0, 255, 135, 0.2);
}

.btn-pay-pix:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 255, 135, 0.4);
}

/* CHAT WIDGET - PREMIUM */
.support-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.support-bubble {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-dark));
  border: 1px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
  box-shadow: 0 10px 30px rgba(142, 45, 226, 0.4), inset 0 0 10px rgba(142, 45, 226, 0.2);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.support-bubble:hover {
  transform: scale(1.1) rotate(-10deg);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 15px 40px rgba(142, 45, 226, 0.6);
}

.support-window {
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(20px);
  width: 320px;
  max-width: calc(100vw - 40px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform-origin: bottom right;
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.window-header {
  background: linear-gradient(to right, rgba(142, 45, 226, 0.2), transparent);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.header-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 14px;
}

.status-online {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--success);
}

.btn-close-chat,
.btn-minimize-chat {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 20px;
  cursor: pointer;
  transition: 0.2s;
  padding: 0 5px;
}

.btn-close-chat:hover,
.btn-minimize-chat:hover {
  color: #fff;
}

.window-body {
  height: 250px;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Chat Scrollbar */
.window-body::-webkit-scrollbar {
  width: 4px;
}

.window-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.msg-bubble {
  max-width: 85%;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.4;
  animation: modalEnter 0.3s ease-out;
}

.msg-bubble.bot {
  background: rgba(255, 255, 255, 0.05);
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  color: #fff;
}

.msg-bubble.user {
  background: rgba(142, 45, 226, 0.2);
  border: 1px solid rgba(142, 45, 226, 0.3);
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  color: #fff;
}

.msg-bubble.bot.thinking {
  font-style: italic;
  color: var(--text-dim);
  display: flex;
  gap: 2px;
}

.opt-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: 0.2s;
  margin-bottom: 8px;
}

.opt-btn:hover {
  background: rgba(142, 45, 226, 0.2);
  border-color: var(--primary);
}

.window-footer {
  padding: 15px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.5);
}

/* FOOTER PREMIUM REWORK */
.footer-premium {
  padding: 80px 20px 60px;
  margin-top: 40px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  border-top: 1px solid rgba(142, 45, 226, 0.2);
  position: relative;
}

.footer-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  box-shadow: 0 0 20px var(--primary);
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
}

.security-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.secure-block {
  background: rgba(255, 255, 255, 0.02);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.secure-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  transition: 0.3s;
}

.secure-block:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
}

.secure-block:hover::before {
  background: var(--neon);
  box-shadow: 0 0 15px var(--neon);
}

.block-icon {
  font-size: 32px;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.block-text strong {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
  font-weight: 800;
  color: #fff;
}

.block-text span {
  font-size: 13px;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(142, 45, 226, 0.5);
}

.footer-copy {
  text-align: center;
  color: #555;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

@media (max-width: 768px) {
  .security-blocks {
    grid-template-columns: 1fr;
  }

  .checkout-bar-container {
    padding: 0 20px;
  }

  .btn-confirm-checkout {
    padding: 16px 20px;
  }

  .hero-card,
  .numbers-wrapper,
  .progress-section {
    padding: 30px 15px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .price-now {
    font-size: 38px;
  }

  .quick-buy-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .btn-quick {
    padding: 18px 10px;
    font-size: 16px;
  }

  .numbers-grid {
    grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
    gap: 8px;
  }

  .num-btn {
    font-size: 15px;
  }

  .support-widget {
    bottom: 15px;
    right: 15px;
  }
}

/* =========================================
   USER REQUESTED ANIMATIONS (PIX & MODALS)
   ========================================= */

/* Pulsating Glow around PIX QR Code */
#pix-qr-img {
  border-radius: 12px;
  border: 2px solid var(--primary);
  box-shadow: 0 0 15px var(--primary), 0 0 30px var(--primary);
  animation: qrPulseGlow 1.5s infinite alternate ease-in-out;
}

@keyframes qrPulseGlow {
  0% {
    box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary);
    transform: scale(0.98);
  }

  100% {
    box-shadow: 0 0 25px var(--primary), 0 0 50px var(--neon);
    transform: scale(1.02);
  }
}

/* Animated Copy & Paste Button */
.btn-copy {
  background: linear-gradient(135deg, var(--neon), var(--primary));
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 195, 255, 0.3);
  animation: btnPulse 2s infinite;
  transition: all 0.3s ease;
}

.btn-copy:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 195, 255, 0.6);
  animation: none;
}

/* Make Consultar Agora ("Ver Meus Numeros") pulsate too */
#form-meus-numeros .btn-pay-pix {
  animation: btnPulse 2.5s infinite;
}

@keyframes btnPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 195, 255, 0.7);
  }

  50% {
    transform: scale(1.02);
    box-shadow: 0 0 0 10px rgba(0, 195, 255, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 195, 255, 0);
  }
}

@keyframes pulsePending {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.7);
  }

  50% {
    transform: scale(1.02);
    box-shadow: 0 0 20px 5px rgba(255, 204, 0, 0.4);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 204, 0, 0);
  }
}

.pending-pulse {
  animation: pulsePending 2s infinite !important;
  background: linear-gradient(135deg, #ffcc00, #ff9900) !important;
  color: #000 !important;
  text-shadow: none !important;
  border: 1px solid #ffcc00 !important;
}

/* ALERTA DE AVISO NO TELEFONE */
.phone-warning-alert {
  background: rgba(255, 204, 0, 0.05);
  border: 1px solid rgba(255, 204, 0, 0.2);
  border-radius: var(--radius-md);
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  animation: slideInLow 0.5s ease-out;
}

.warning-icon {
  font-size: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 204, 0, 0.5));
}

.phone-warning-alert p {
  font-size: 13px;
  color: #e0e0e0;
  line-height: 1.4;
  margin: 0;
}

.phone-warning-alert strong {
  color: var(--neon);
}

@keyframes slideInLow {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}