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

:root {
  --primary: #4f46e5;
  --secondary: #ec4899;
  --accent: #f59e0b;
  --bg-dark: #0f172a;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.font-heading {
  font-family: 'Outfit', sans-serif;
}

/* Glowing Game Card Effects */
.game-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.game-card:hover {
  transform: translateY(-3px);
}

.game-card.active-card {
  border-color: rgba(99, 102, 241, 0.8);
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.25);
}

.game-card.locked-card {
  opacity: 0.65;
  filter: grayscale(0.2);
}

.game-card.completed-card {
  border-color: rgba(16, 185, 129, 0.6);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(15, 23, 42, 0.95) 100%);
}

/* Animated Progress Bar */
.progress-glow {
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.6);
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.4);
  }
  50% {
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.8);
  }
}

.pulse-reward {
  animation: pulseGlow 2.5s infinite;
}

/* Confetti Container */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99999;
}

/* Coupon Box Styling */
.coupon-box {
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.03) 10px,
    transparent 10px,
    transparent 20px
  );
  border: 2px dashed rgba(255, 255, 255, 0.25);
  letter-spacing: 2px;
}

/* Mobile Device Mockup for Admin Preview */
.phone-mockup {
  width: 380px;
  height: 720px;
  border: 12px solid #1e293b;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  background: #0f172a;
  position: relative;
}

.phone-mockup-speaker {
  width: 70px;
  height: 5px;
  background: #334155;
  border-radius: 4px;
  margin: 8px auto;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}
::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.5);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.8);
}
