@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --vcb-primary: #207732;
  --vcb-primary-dark: #0f481e;
  --vcb-primary-light: #2da144;
  --vcb-emerald-900: #062413;
  --vcb-emerald-950: #03140a;
  --vcb-gold: #d4af37;
  --vcb-gold-light: #ffdf73;
  --vcb-gold-dark: #996515;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --card-bg: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(212, 175, 55, 0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body {
  background: radial-gradient(circle at 50% 20%, #0d381c 0%, #062311 60%, #021208 100%);
  color: #f8fafc;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(10, 38, 20, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.glass-panel-light {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  color: #0f172a;
}

/* Gold Text Gradients */
.text-gold-gradient {
  background: linear-gradient(135deg, #fff3a8 0%, #d4af37 50%, #aa771c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold-shine {
  background: linear-gradient(90deg, #d4af37 0%, #fff7cc 45%, #d4af37 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

/* Luxury Gold Button */
.btn-gold {
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 60%, #aa771c 100%);
  color: #072210;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #ffdf73 0%, #e5bd3b 60%, #b8860b 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.btn-gold:active {
  transform: translateY(1px);
}

/* Vietcombank Emerald Button */
.btn-vcb {
  background: linear-gradient(135deg, #207732 0%, #155523 100%);
  color: #ffffff;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(32, 119, 50, 0.35);
  transition: all 0.2s ease;
}

.btn-vcb:hover {
  background: linear-gradient(135deg, #278d3c 0%, #1a6b2c 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(32, 119, 50, 0.5);
}

/* Card Reveal Surprise Effect */
.card-surprise {
  animation: surprisePop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes surprisePop {
  0% {
    opacity: 0;
    transform: scale(0.6) translateY(50px) rotate(-3deg);
  }
  60% {
    transform: scale(1.05) translateY(-8px) rotate(1deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0) rotate(0);
  }
}

/* Stage Suspense Glow */
.stage-spotlight {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.2) 0%, rgba(32, 119, 50, 0.1) 40%, rgba(0, 0, 0, 0) 75%);
  pointer-events: none;
  z-index: 1;
}

/* Suspense rolling number flicker */
.number-suspense {
  animation: suspenseRoll 0.1s linear infinite;
}

@keyframes suspenseRoll {
  0% { transform: translateY(-2px); filter: blur(1px); }
  50% { transform: translateY(2px); filter: blur(0px); }
  100% { transform: translateY(0); }
}

/* Golden Halo Pulse */
.gold-halo {
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.4), inset 0 0 20px rgba(212, 175, 55, 0.2);
}

/* Fullscreen Canvas Overlay */
#fxCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
}
::-webkit-scrollbar-thumb {
  background: #207732;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d4af37;
}

/* Responsive Table */
.custom-table th {
  background: rgba(15, 60, 30, 0.9);
  color: #ffdf73;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.custom-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.custom-table tr:hover td {
  background: rgba(32, 119, 50, 0.15);
}

/* Mobile optimizations */
@media (max-width: 640px) {
  .hero-title {
    font-size: 2.1rem !important;
  }
  .lucky-badge-text {
    font-size: 4rem !important;
  }
}
