/* ===== DESIGN TOKENS ===== */
:root {
  --primary: #F5A623;
  --primary-dark: #D4891A;
  --primary-light: #FFF8E7;
  --primary-glow: rgba(245, 166, 35, 0.3);
  --accent: #7B2D8E;
  --accent-light: #A855D6;
  --gold: #FFD700;
  --gold-dark: #B8960F;
  --bg-dark: #1A1A2E;
  --bg-card: rgba(255, 255, 255, 0.95);
  --text-dark: #2D2D2D;
  --text-light: #FFFFFF;
  --text-muted: #6B7280;
  --border-light: rgba(245, 166, 35, 0.2);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --shadow-gold: 0 4px 30px rgba(245, 166, 35, 0.3);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--primary-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes countUp {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1); }
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HERO BANNER ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #FFF5D1 0%, #FFD700 50%, #FFC107 100%);
  background-size: 200% 200%;
  animation: gradientMove 6s ease infinite;
  padding: 50px 20px 60px;
  text-align: center;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--primary-light);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-badge {
  display: inline-block;
  background: rgba(123, 45, 142, 0.1);
  backdrop-filter: blur(10px);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(123, 45, 142, 0.2);
  animation: fadeInUp 0.6s ease;
}

.hero-title {
  font-size: 2.8rem;
  color: var(--accent);
  margin-bottom: 8px;
  animation: fadeInUp 0.6s ease 0.1s both;
  position: relative;
  z-index: 1;
}

.hero-title span {
  display: block;
  background: linear-gradient(90deg, var(--accent), #5A1F68, var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 6px;
  animation: fadeInUp 0.6s ease 0.2s both;
  position: relative;
  z-index: 1;
}

.hero-highlight {
  display: inline-block;
  background: var(--accent);
  backdrop-filter: blur(8px);
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-top: 12px;
  border: 2px solid rgba(255,255,255,0.2);
  animation: fadeInUp 0.6s ease 0.3s both, pulse 2s ease-in-out infinite 1s;
  position: relative;
  z-index: 1;
}

.hero-date {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-top: 14px;
  animation: fadeInUp 0.6s ease 0.4s both;
  position: relative;
  z-index: 1;
  font-weight: 500;
  opacity: 0.85;
}

/* ===== FLOATING PRODUCT SIDEBAR ===== */
.floating-product {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  pointer-events: none;
}

.floating-product img {
  width: 350px;
  height: auto;
  filter: drop-shadow(0 15px 40px rgba(245, 166, 35, 0.35));
  animation: floatProduct 4s ease-in-out infinite;
}

.floating-product::after {
  content: 'Bestical Siro';
  display: block;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--primary-dark);
  margin-top: 8px;
  opacity: 0.7;
}

@keyframes floatProduct {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(1deg); }
  75% { transform: translateY(8px) rotate(-1deg); }
}

/* ===== CONTAINER ===== */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== SECTION ===== */
.section {
  padding: 40px 0;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  position: relative;
}

.section-title .icon {
  display: inline-block;
  margin-right: 8px;
  font-size: 1.6rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

/* ===== TRA CỨU ĐIỂM ===== */
.search-product-img {
  text-align: center;
  margin-bottom: -20px;
  position: relative;
  z-index: 11;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.search-product-img img {
  width: 180px;
  height: auto;
  filter: drop-shadow(0 10px 25px rgba(245, 166, 35, 0.3));
  animation: float 3s ease-in-out infinite;
}

.search-section {
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.search-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border-light);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  animation: fadeInUp 0.6s ease 0.5s both;
}

.search-card h2 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.search-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.search-input-group {
  display: flex;
  gap: 12px;
  align-items: center;
}

.search-input-group input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid #E5E7EB;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  outline: none;
}

.search-input-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.search-input-group input::placeholder {
  color: #9CA3AF;
}

.btn-search {
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
  box-shadow: var(--shadow-gold);
}

.btn-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 35px rgba(245, 166, 35, 0.45);
}

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

/* ===== RESULT CARD ===== */
.result-section {
  display: none;
  padding: 20px 0 0;
}

.result-section.active {
  display: block;
  animation: fadeInUp 0.5s ease;
}

.result-card {
  background: white;
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--text-dark);
  text-align: center;
  box-shadow: var(--shadow-md);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
}

.result-shop-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
  position: relative;
}

.result-shop-code {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  position: relative;
}

.result-stats {
  display: flex;
  gap: 24px;
  justify-content: center;
  position: relative;
}

.result-stat {
  flex: 1;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  border: 1px solid rgba(245, 166, 35, 0.2);
}

.result-stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.result-stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  animation: countUp 0.5s ease;
}

.result-stat-unit {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.result-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #DC2626;
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* ===== TOP 10 TABLE ===== */
.top10-section {
  padding-bottom: 40px;
}

.top10-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.top10-header {
  background: linear-gradient(135deg, var(--bg-dark), #16213E);
  padding: 24px 28px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top10-header h2 {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.top10-header .live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.2);
  color: #22C55E;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.live-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

.top10-list {
  list-style: none;
}

.top10-item {
  display: flex;
  align-items: center;
  padding: 16px 28px;
  border-bottom: 1px solid #F3F4F6;
  transition: all 0.3s ease;
}

.top10-item:last-child {
  border-bottom: none;
}

.top10-item:hover {
  background: var(--primary-light);
}

.top10-rank {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  margin-right: 16px;
  flex-shrink: 0;
  background: #F3F4F6;
  color: var(--text-muted);
}

.top10-item:nth-child(1) .top10-rank {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: white;
  font-size: 1.3rem;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.top10-item:nth-child(2) .top10-rank {
  background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(192, 192, 192, 0.4);
}

.top10-item:nth-child(3) .top10-rank {
  background: linear-gradient(135deg, #CD7F32, #B8690E);
  color: white;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(205, 127, 50, 0.4);
}

.top10-info {
  flex: 1;
  min-width: 0;
}

.top10-name {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top10-code {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.top10-points {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-dark);
  text-align: right;
  white-space: nowrap;
}

.top10-points span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
}

.top10-points.no-data {
  color: #9CA3AF;
  font-weight: 600;
  font-size: 0.95rem;
}

.top10-item:nth-child(1) {
  background: linear-gradient(90deg, rgba(255,215,0,0.08), transparent);
}

.top10-item:nth-child(1) .top10-name {
  color: var(--accent);
  font-size: 1.05rem;
}

.top10-item:nth-child(1) .top10-points {
  color: var(--text-dark);
  font-size: 1.25rem;
}

/* ===== PRIZE SECTION ===== */
.prize-section {
  padding: 40px 0;
}

.prize-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.prize-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.prize-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.prize-card.gold {
  border: 2px solid var(--gold);
  background: linear-gradient(180deg, #FFFDF5, white);
}

.prize-medal {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.prize-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.prize-value {
  font-size: 0.85rem;
  color: var(--primary-dark);
  font-weight: 600;
}

/* ===== RULES SECTION ===== */
.rules-section {
  padding: 40px 0;
}

.rules-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.rules-content {
  display: flex;
  flex-direction: column;
}

.rules-text {
  padding: 32px;
}

.rules-text h3 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rule-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #F3F4F6;
}

.rule-item:last-child {
  border-bottom: none;
}

.rule-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.rule-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.5;
}

/* ===== REWARDS SECTION ===== */
.rewards-section {
  padding: 40px 0 60px;
}

.rewards-banner {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: var(--radius-lg);
  padding: 36px;
  color: white;
  text-align: center;
  box-shadow: 0 8px 30px rgba(123, 45, 142, 0.25);
  position: relative;
  overflow: hidden;
}

.rewards-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.rewards-banner h2 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  position: relative;
}

.rewards-consumer-content {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.rewards-consumer-img {
  position: relative;
  flex: 0 0 350px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: rgba(255,255,255,0.1);
  padding: 10px;
}

.rewards-consumer-img:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.rewards-consumer-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius-md) - 5px);
}

.img-zoom-hint {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 0.9rem;
  padding: 10px;
  text-align: center;
  font-weight: 600;
  border-bottom-left-radius: calc(var(--radius-md) - 5px);
  border-bottom-right-radius: calc(var(--radius-md) - 5px);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.rewards-consumer-img:hover .img-zoom-hint {
  opacity: 1;
}

.rewards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  flex: 1;
  position: relative;
}

.reward-item {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}

.reward-item:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.reward-points {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.reward-points span {
  font-size: 0.9rem;
  font-weight: 500;
}

.reward-desc {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 24px 20px;
  font-size: 0.85rem;
}

.footer a {
  color: var(--primary);
  text-decoration: none;
}

/* ===== MODAL ===== */
.img-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
}

.img-modal.active {
  display: flex;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
  color: var(--primary);
  text-decoration: none;
  cursor: pointer;
}

@keyframes zoomIn {
  from {transform:scale(0.8); opacity:0;}
  to {transform:scale(1); opacity:1;}
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .rewards-consumer-content {
    flex-direction: column;
    gap: 24px;
  }
  
  .rewards-consumer-img {
    flex: none;
    width: 100%;
    max-width: 400px;
  }
  
  .img-zoom-hint {
    opacity: 1; /* Always show hint on mobile */
    background: rgba(0,0,0,0.6);
  }

  .hero {
    padding: 30px 20px 70px;
    min-height: auto;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 16px;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }

  .hero-highlight {
    font-size: 0.8rem;
    padding: 7px 18px;
    margin-top: 8px;
  }

  .hero-date {
    font-size: 0.78rem;
    margin-top: 10px;
    padding: 0 10px;
    line-height: 1.4;
  }

  .hero-product {
    display: none;
  }

  .floating-product {
    display: none;
  }

  .search-card {
    padding: 24px 20px;
  }

  .search-input-group {
    flex-direction: column;
  }

  .search-input-group input,
  .btn-search {
    width: 100%;
  }

  .result-stats {
    flex-direction: column;
    gap: 12px;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .top10-item {
    padding: 12px 16px;
  }

  .prize-cards {
    grid-template-columns: 1fr;
    max-width: 300px;
  }

  .rules-content {
    flex-direction: column;
  }

  .rules-image {
    flex: none;
    padding: 20px;
  }

  .rules-text {
    padding: 20px;
  }

  .rewards-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
  }

  .container {
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .top10-rank {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
    margin-right: 12px;
  }

  .top10-name {
    font-size: 0.85rem;
  }

  .top10-points {
    font-size: 0.95rem;
  }

  .result-stat-value {
    font-size: 1.5rem;
  }
}

/* ===== LOADING ===== */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== CONFETTI AREA (for top result) ===== */
.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
  overflow: hidden;
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  top: -10px;
  opacity: 0;
  animation: confettiFall 3s ease-in forwards;
}

@keyframes confettiFall {
  0% { opacity: 1; top: -10px; transform: rotate(0deg) translateX(0); }
  100% { opacity: 0; top: 110vh; transform: rotate(720deg) translateX(100px); }
}
