/* arcane-druid-site.css — site-wide styles originating from seasons.css */

.current-season-label {
    font-family: var( --e-global-typography-secondary-font-family ), Sans-serif;
    font-weight: var( --e-global-typography-secondary-font-weight );
    color: var( --e-global-color-917df70 );
    font-size: 14px;
    margin-bottom: 0.4rem;
    display: block;
     flex-basis: 100%;
}

/* Season progress — base container */
.season-progress {
  --ad-bg: #e6eef8;           /* background track */
  --ad-fill: #2f6b44;         /* fill color (green) */
  --ad-accent: rgba(255,255,255,0.25); /* stripe highlight */
  --ad-height: 14px;
  --ad-radius: 999px;
  --ad-transition: 900ms cubic-bezier(.2,.9,.2,1);

  display: block;
  width: 100%;
  background: var(--ad-bg);
  border-radius: var(--ad-radius);
  height: var(--ad-height);
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

/* Inner fill bar */
.season-progress .bar {
  display: block;
  height: 100%;
  width: 0%; /* set inline by PHP as e.g. style="width:42%;" */
  background: linear-gradient(90deg, var(--ad-fill) 0%, color-mix(in srgb, var(--ad-fill) 85%, black 15%) 100%);
  border-radius: var(--ad-radius);
  transition: width var(--ad-transition), background 250ms ease;
  position: relative;
  overflow: hidden;
}

/* Animated diagonal stripes (subtle) */
.season-progress .bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    135deg,
    rgba(255,255,255,0.10) 0%,
    rgba(255,255,255,0.10) 25%,
    rgba(255,255,255,0.00) 25%,
    rgba(255,255,255,0.00) 50%
  );
  background-size: 18px 18px;
  opacity: 0.35;
  transform: translateX(0);
  transition: transform 900ms linear;
  pointer-events: none;
}

/* Make the stripes move with filled width (subtle motion) */
.season-progress .bar[data-animated="1"]::before {
  animation: ad-stripes 3s linear infinite;
}
@keyframes ad-stripes {
  from { transform: translateX(0); }
  to   { transform: translateX(-18px); }
}

/* Text overlay (percentage) — optional */
.season-progress .pct-label {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  line-height: 1;
  color: #0b243a;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(255,255,255,0.6);
  pointer-events: none;
}

/* Small / compact variant */
.season-progress.small { --ad-height: 8px; }
.season-progress.large { --ad-height: 22px; }

/* Accessibility: ensure contrast when fill is very small */
.season-progress .bar[data-min-contrast="1"] {
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.45) , inset 0 -1px 0 rgba(0,0,0,0.06);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .season-progress .bar,
  .season-progress .bar::before {
    transition: none !important;
    animation: none !important;
  }
}

/* Wrapper to present the progress bar and a right-aligned label (days left) like the screenshot */
.season-progress-wrap,
.season-progress-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  /* gap: 1rem; */
  padding: .6rem .9rem;
  border-radius: .6rem;
  border: 1px solid rgba(180,110,95,0.25);
  background: linear-gradient(180deg, #fffdfa 0%, #fff7f5 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 0 0 1px rgba(0,0,0,0.02);
}

.season-progress-box .season-progress {
  flex: 1 1 auto;
  margin: 0;
  height: 18px;
}

.season-days-left {
  font-size: 14px;
  color: #2f5743;
  font-weight: 600;
  white-space: nowrap;
}
.season-progress-bar-container {
  display:flex;
  flex-wrap: nowrap;
  width: 100%;
  gap: 1rem;
  align-items: center;
}
/* Make the bar fill darker and subtly glossy */
.season-progress .bar {
  box-shadow: inset 0 -2px 4px rgba(0,0,0,0.12);
}

.season-progress .bar::before {
  background-image: linear-gradient(
    135deg,
    rgba(255,255,255,0.12) 0%,
    rgba(255,255,255,0.12) 25%,
    rgba(255,255,255,0.00) 25%,
    rgba(255,255,255,0.00) 50%
  );
  opacity: 0.35;
}

/* When the percentage is zero, reduce contrast but keep the shape */
.season-progress .bar[style*="width:0%"] {
  background: linear-gradient(90deg, rgba(50,80,60,0.12) 0%, rgba(50,80,60,0.06) 100%);
}

/* Current Season badge */
.season-badge {
    background-color:  var( --e-global-color-ffcffb9 );
    font-family: var( --e-global-typography-secondary-font-family ), Sans-serif;
    font-weight: var( --e-global-typography-secondary-font-weight );
    fill: var( --e-global-color-a709bb1 );
    color: var( --e-global-color-a709bb1 );
    border-style: none;
    border-radius: 26px 26px 26px 26px;
    padding: 9px 9px 9px 9px;
}

