/* Nowruz countdown — modern festive UI */

.nr-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(124, 58, 237, 0.16);
  background: linear-gradient(145deg, #1a1033 0%, #2d1b69 42%, #0f766e 100%);
  color: #fff;
  padding: 28px 20px 24px;
  box-shadow: 0 24px 60px -28px rgba(45, 27, 105, 0.55);
}

.nr-hero__glow {
  position: absolute;
  inset: -40% auto auto 50%;
  width: 320px;
  height: 320px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.35) 0%, transparent 68%);
  pointer-events: none;
}

.nr-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.nr-hero__badge {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nr-hero__title {
  margin: 0;
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, #fde68a, #fff, #a7f3d0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nr-hero__sub {
  margin: 8px 0 20px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.nr-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.nr-unit {
  padding: 14px 8px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.nr-unit strong {
  display: block;
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 900;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.nr-unit span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

.nr-progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  margin-bottom: 8px;
}

.nr-progress__bar {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #fbbf24, #34d399, #60a5fa);
  transition: width 1s linear;
}

.nr-progress__label {
  margin: 0 0 18px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.nr-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.nr-fact {
  padding: 10px 8px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nr-fact span {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 4px;
}

.nr-fact strong {
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 520px) {
  .nr-countdown { grid-template-columns: repeat(2, 1fr); }
  .nr-facts { grid-template-columns: 1fr; }
}
