/* TIMER STYLES */



.timeContainer {
  z-index: 2;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.timeContainer .wrapper {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 20px;
  max-height: 400px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  gap: 40px;
  /* background: #00A3D0; */
}

.timeContainer .wrapper div {
  color: #ccc;
  text-align: center;
}

.timeContainer .wrapper .dial {
  color: #1C1C1C;
}

.timeContainer .wrapper div h2 {
  font-size: 4rem;
}

.circleDiv {
  position: fixed;
  z-index: -1;
  top: calc(50% - 237px);
  left: calc(-50% + 474px);
  width: 474px;
  height: 474px;
  border-radius: 100%;
  border: 6px dashed #00A3D0;
  -webkit-animation: rotatingCircle infinite linear 60s;
  animation: rotatingCircle infinite linear 60s;
}

@-webkit-keyframes rotatingCircle {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes rotatingCircle {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* =============================================
   Spark'26 Grand Banner
   ============================================= */

.spark-timer-section.spark-grand {
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
  padding: 22px 0;
  margin-bottom: 0;
  position: relative;
  z-index: 90;
  overflow: hidden;
  border-top: 1px solid #f97316;
  border-bottom: 1px solid #f97316;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.10), 0 -2px 8px rgba(0, 0, 0, 0.03);
}

/* Animated shimmer overlay */
.spark-grand__shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(249, 115, 22, 0.04) 40%,
    rgba(251, 191, 36, 0.07) 50%,
    rgba(249, 115, 22, 0.04) 60%,
    transparent 80%
  );
  background-size: 200% 100%;
  animation: sparkShimmer 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes sparkShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Floating particles */
.spark-grand__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.spark-grand__particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.25);
  animation: sparkFloat 6s ease-in-out infinite;
}
.spark-grand__particles span:nth-child(1) { left: 5%;  top: 20%; animation-delay: 0s;   animation-duration: 5s; }
.spark-grand__particles span:nth-child(2) { left: 15%; top: 70%; animation-delay: 0.8s; animation-duration: 7s; width: 3px; height: 3px; }
.spark-grand__particles span:nth-child(3) { left: 30%; top: 40%; animation-delay: 1.5s; animation-duration: 6s; background: rgba(251, 191, 36, 0.3); }
.spark-grand__particles span:nth-child(4) { left: 50%; top: 15%; animation-delay: 2s;   animation-duration: 8s; width: 5px; height: 5px; }
.spark-grand__particles span:nth-child(5) { left: 65%; top: 60%; animation-delay: 0.5s; animation-duration: 5.5s; }
.spark-grand__particles span:nth-child(6) { left: 78%; top: 30%; animation-delay: 1.2s; animation-duration: 7s; background: rgba(249, 115, 22, 0.2); width: 3px; height: 3px; }
.spark-grand__particles span:nth-child(7) { left: 88%; top: 75%; animation-delay: 2.5s; animation-duration: 6s; }
.spark-grand__particles span:nth-child(8) { left: 95%; top: 10%; animation-delay: 0.3s; animation-duration: 5s; width: 5px; height: 5px; background: rgba(251, 191, 36, 0.35); }

@keyframes sparkFloat {
  0%, 100% { transform: translateY(0) scale(1);   opacity: 0.3; }
  50%      { transform: translateY(-18px) scale(1.5); opacity: 0.8; }
}

/* Block container */
.spark-grand__block {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* Bolt icon */
.spark-grand__icon {
  display: inline-block;
  color: #f97316;
  font-size: 1.8rem;
  vertical-align: middle;
  margin-right: 6px;
  animation: sparkIconPulse 2s ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(249, 115, 22, 0.4));
}
@keyframes sparkIconPulse {
  0%, 100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 4px rgba(249, 115, 22, 0.4)); }
  50%      { transform: scale(1.2) rotate(-8deg); filter: drop-shadow(0 0 10px rgba(249, 115, 22, 0.7)); }
}

/* Title */
.spark-grand__title {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a2e;
  text-transform: none;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  animation: sparkTextAttention 3s ease-in-out infinite;
}
@keyframes sparkTextAttention {
  0%, 100% { transform: scale(1); }
  15%      { transform: scale(1.02); }
  30%      { transform: scale(1); }
  45%      { transform: scale(1.02); }
  60%      { transform: scale(1); }
}

/* CTA row */
.spark-grand__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}

/* CTA button */
.spark-grand__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f97316, #e85d04);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}
.spark-grand__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(249, 115, 22, 0.5);
  color: #ffffff;
}
.spark-grand__cta i {
  transition: transform 0.3s ease;
}
.spark-grand__cta:hover i {
  transform: translateX(4px);
}

.spark-grand__cta--register {
  background: #ffffff;
  color: #c2410c;
  border: 2px solid rgba(249, 115, 22, 0.55);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
}
.spark-grand__cta--register:hover {
  background: #fff7ed;
  color: #9a3412;
  box-shadow: 0 4px 18px rgba(249, 115, 22, 0.2);
}
.spark-grand__cta--register:hover i {
  transform: translateX(4px);
}

/* Countdown dials */
.spark-grand__countdown.timeContainer {
  display: flex;
  justify-content: center;
  align-items: center;
}
.spark-grand__countdown .wrapper {
  display: flex;
  gap: 14px;
  padding: 0;
}
.spark-grand__dial {
  text-align: center;
}
.spark-grand__dial-ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid rgba(249, 115, 22, 0.4);
  background: #fff8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  box-shadow: 0 3px 12px rgba(249, 115, 22, 0.12);
  transition: all 0.3s ease;
}
.spark-grand__dial-ring:hover {
  border-color: #f97316;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.25);
}
.spark-grand__dial-ring h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem !important;
  font-weight: 700;
  color: #e85d04;
  margin: 0;
  line-height: 1;
}
.spark-grand__dial-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #6b7280;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 991px) {
  .spark-timer-section.spark-grand {
    padding: 24px 0;
  }
  .spark-grand__title {
    font-size: 1.5rem;
  }
  .spark-grand__icon {
    font-size: 1.4rem;
  }
  .spark-grand__info-col {
    margin-bottom: 20px;
  }
  .spark-grand__countdown .wrapper {
    gap: 10px;
  }
  .spark-grand__dial-ring {
    width: 58px;
    height: 58px;
  }
  .spark-grand__dial-ring h2 {
    font-size: 1.3rem !important;
  }
}

@media (max-width: 575px) {
  .spark-grand__title {
    font-size: 1.25rem;
    letter-spacing: 0.3px;
  }
  .spark-grand__subtitle {
    font-size: 0.8rem;
  }
  .spark-grand__dial-ring {
    width: 50px;
    height: 50px;
  }
  .spark-grand__dial-ring h2 {
    font-size: 1.1rem !important;
  }
  .spark-grand__countdown .wrapper {
    gap: 8px;
  }
}

/* Legacy fallback for non-grand banner pages */
.spark-timer-section:not(.spark-grand) {
  background-color: #f8f9fa;
  padding: 40px 0;
  position: relative;
  z-index: 100;
}
.spark-timer-section:not(.spark-grand) .container {
  max-width: 100%;
}
.banner-timer-block:not(.spark-grand__block) {
  position: relative;
  top: 0;
  right: 0;
  z-index: 99;
  background-color: #d7e2f3;
  padding: 20px;
  border-radius: 8px;
  margin: 0 auto;
  width: 100%;
  max-width: none;
}
@media all and (max-width:991px) {
  .banner-timer-block:not(.spark-grand__block) {
    padding: 15px;
  }
}
.btn-block {
  position: relative;
  width: 100%;
  text-align: center;
  margin-bottom: 5px;
}
.event-page {
  position: relative;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #000000;
  padding: 5px 10px;
  background-color: #eb9309;
}
.event-page:hover {
  color: #000000;
}