/* =========================
   WINNER REMINDER OVERLAY - SUPER CLEAN & ATTRACTIVE
   ========================= */
@font-face {
    font-family: 'Baloo 2';
    src: url("../fonts/Baloo2-VariableFont_wght.ttf") format('truetype');
    font-weight: 400 800;
    font-display: swap;
}
@font-face {
        font-family: 'Itim';
        src: url("{{ asset('assets/fonts/Itim-Regular.ttf') }}") format('truetype');
        font-weight: 100;
        font-display: normal;
}
h1 {
    font-family: 'Baloo 2', system-ui, -apple-system, sans-serif;
    font-weight: 700;
    font-size: 50px;    
}    
/* The full-screen overlay */
#winnerReminder {
  position: fixed;
  inset: 0;
  display: none; /* JS switches to 'flex' when shown */
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  z-index: 999999; /* ABOVE EVERYTHING */
  font-family: 'Orbitron', system-ui, -apple-system, sans-serif;
}

/* ========================================================================
   HIDE HEADER ONLY WHEN WINNER MODAL IS ACTIVE (body has class)
   ======================================================================== */
body.winner-modal-active header,
body.winner-modal-active #gamfi-header,
body.winner-modal-active .gamfi-header-section,
body.winner-modal-active .transparent-header,
body.winner-modal-active .menu-area,
body.winner-modal-active .menu-sticky {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  z-index: -9999 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}

/* Confetti canvas behind the modal */
#confetti-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none !important;
}

/* The actual modal card - SUPER CLEAN */
#winnerReminder .winner-box {
  position: relative;
  z-index: 1;
  width: min(700px, calc(100% - 32px));
  background: linear-gradient(135deg, #0a0e14 0%, #0f1419 100%);
  color: #eafdf9;
  border: 3px solid #16f1d3;
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: 
    0 0 40px rgba(22, 241, 211, 0.4),
    0 0 80px rgba(22, 241, 211, 0.2),
    inset 0 0 60px rgba(22, 241, 211, 0.05);
  pointer-events: auto;
  animation: modalFadeIn 0.4s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Trophy watermark */
#winnerReminder .winner-box::before {
  content: "🏆";
  position: absolute;
  right: -30px;
  top: -60px;
  font-size: 360px;
  opacity: 0.08;
  transform: rotate(-12deg);
  filter: drop-shadow(0 0 20px rgba(22, 241, 211, 0.3));
  pointer-events: none;
  animation: trophyFloat 6s ease-in-out infinite;
}

@keyframes trophyFloat {
  0%, 100% { transform: rotate(-12deg) translateY(0); }
  50% { transform: rotate(-12deg) translateY(-10px); }
}

/* Main title - SUPER NEON */
#winnerReminder .w-title {
  margin: 0 0 16px 0;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  color: #16f1d3;
  letter-spacing: 1px;
  text-shadow:
    0 0 10px #16f1d3,
    0 0 20px #16f1d3,
    0 0 40px rgba(22, 241, 211, 0.5),
    0 0 80px rgba(22, 241, 211, 0.3);
  animation: titlePulse 2s ease-in-out infinite;
}

@keyframes titlePulse {
  0%, 100% { text-shadow: 0 0 10px #16f1d3, 0 0 20px #16f1d3, 0 0 40px rgba(22, 241, 211, 0.5); }
  50% { text-shadow: 0 0 15px #16f1d3, 0 0 30px #16f1d3, 0 0 60px rgba(22, 241, 211, 0.7); }
}

/* Subtitle */
#winnerReminder .w-sub {
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 800;
  color: #9ae6da;
  text-shadow: 0 0 8px rgba(22, 241, 211, 0.4);
  margin: 0 0 24px 0;
}

/* Lead text */
#winnerReminder .w-lead {
  color: rgba(234, 253, 249, 0.9);
  font-size: clamp(15px, 2.5vw, 18px);
  line-height: 1.6;
  margin: 0 auto 32px;
  max-width: 500px;
}

/* Actions row */
#winnerReminder .w-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 24px 0;
}

/* Primary button - GLOWING NEON */
#winnerReminder .btn-neon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 16px;
  background: linear-gradient(135deg, #16f1d3 0%, #0dcfb8 100%);
  color: #001311;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 
    0 0 20px rgba(22, 241, 211, 0.6),
    0 0 40px rgba(22, 241, 211, 0.4),
    0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

#winnerReminder .btn-neon:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    0 0 30px rgba(22, 241, 211, 0.8),
    0 0 60px rgba(22, 241, 211, 0.6),
    0 6px 20px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #1ffde3 0%, #16f1d3 100%);
}

#winnerReminder .btn-neon:active {
  transform: translateY(-1px) scale(1.02);
}

/* Ghost button */
#winnerReminder .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 16px;
  background: transparent;
  border: 2px solid #16f1d3;
  color: #16f1d3;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 
    0 0 15px rgba(22, 241, 211, 0.3) inset,
    0 0 15px rgba(22, 241, 211, 0.2);
  transition: all 0.3s ease;
}

#winnerReminder .btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(22, 241, 211, 0.1);
  box-shadow: 
    0 0 20px rgba(22, 241, 211, 0.4) inset,
    0 0 25px rgba(22, 241, 211, 0.3);
}

/* Time pill */
#winnerReminder .w-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid #16f1d3;
  border-radius: 999px;
  padding: 12px 24px;
  color: #16f1d3;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 
    0 0 15px rgba(22, 241, 211, 0.4) inset,
    0 0 20px rgba(22, 241, 211, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  #winnerReminder .winner-box {
    padding: 36px 28px;
    border-radius: 20px;
  }

  #winnerReminder .w-actions {
    flex-direction: column;
    gap: 12px;
  }

  #winnerReminder .btn-neon,
  #winnerReminder .btn-ghost {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  #winnerReminder .winner-box {
    padding: 28px 20px;
  }

  #winnerReminder .w-title {
    margin-bottom: 12px;
  }

  #winnerReminder .w-sub {
    margin-bottom: 16px;
  }

  #winnerReminder .w-lead {
    margin-bottom: 24px;
  }
}
/* Match Winners page background with header */
.page-winners .site-main,
.page-winners .site-main .container.mt-4.mb-4 {
  background-color:#151625 !important; /* same tone as header */
  background-image: none !important;
  box-shadow: none !important;
}
body.page-winners, body.page-winners #app, body.page-winners main
 {
    background: #151625 !important;
}