:root {
  --pantera-black: #0b0b0b;
  --pantera-graphite: #16110f;
  --pantera-panel: #211a17;
  --pantera-yellow: #fc4c02;
  --pantera-orange: #fc4c02;
  --pantera-orange-soft: #ff7a2f;
  --pantera-ember: #b93200;
  --pantera-green: #24423a;
  --pantera-white: #ffffff;
  --pantera-muted: #d2c7c2;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--pantera-black);
  color: var(--pantera-white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

a {
  color: var(--pantera-yellow);
  text-decoration: none;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--pantera-black);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--pantera-orange), var(--pantera-ember));
  border-radius: 10px;
}

.scroll-progress {
  background: linear-gradient(90deg, var(--pantera-yellow), var(--pantera-orange-soft));
  height: 3px;
  left: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 100ms linear;
  width: 100%;
  z-index: 40;
}

.site-header {
  background: rgba(11, 11, 11, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  transition: background-color 250ms ease, box-shadow 250ms ease;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.site-header .navbar {
  transition: padding 250ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 8, 8, 0.97);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
}

.site-header.is-scrolled .navbar {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.nav-link {
  position: relative;
  transition: color 200ms ease;
}

.nav-link::after {
  background: var(--pantera-yellow);
  bottom: 2px;
  content: "";
  height: 2px;
  left: 50%;
  position: absolute;
  transition: width 220ms ease, left 220ms ease;
  width: 0;
}

.nav-link:hover::after {
  left: 0;
  width: 100%;
}

.navbar-brand,
.admin-brand {
  color: var(--pantera-yellow) !important;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-lockup {
  align-items: center;
  display: inline-flex;
  gap: 0.65rem;
}

.brand-lockup img {
  filter: drop-shadow(0 0 12px rgba(252, 76, 2, 0.28));
  height: 42px;
  object-fit: contain;
  width: 42px;
}

.admin-link {
  border: 1px solid rgba(252, 76, 2, 0.55);
  border-radius: 6px;
  margin-left: 0.5rem;
}

.hero-section,
.page-hero {
  align-items: center;
  background: linear-gradient(135deg, #0b0b0b, #2b1309 48%, #151110);
  display: flex;
  min-height: 38vh;
  overflow: hidden;
  position: relative;
}

.hero-section {
  min-height: min(760px, calc(86vh - 68px));
}

.hero-section::before,
.page-hero::before {
  background-image:
    linear-gradient(100deg, rgba(11, 11, 11, 0.94), rgba(11, 11, 11, 0.66) 45%, rgba(11, 11, 11, 0.93)),
    radial-gradient(circle at 78% 18%, rgba(252, 76, 2, 0.34), transparent 40%),
    radial-gradient(circle at 15% 85%, rgba(255, 122, 47, 0.16), transparent 35%),
    url("/img/hero/mtb-hero.webp");
  background-position: center, center, center, center 38%;
  background-repeat: no-repeat;
  background-size: cover, cover, cover, 112%;
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
  animation: hero-zoom 22s ease-in-out infinite alternate;
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

.page-hero::before {
  background-image:
    linear-gradient(100deg, rgba(11, 11, 11, 0.94), rgba(11, 11, 11, 0.72) 45%, rgba(11, 11, 11, 0.94)),
    radial-gradient(circle at 82% 20%, rgba(252, 76, 2, 0.3), transparent 40%),
    url("/img/bg/spotlight-mtb.jpg");
  background-position: center, center, center 30%;
  background-size: cover, cover, 114%;
  animation-duration: 26s;
}

@keyframes hero-zoom {
  from {
    background-size: cover, cover, cover, 112%;
  }

  to {
    background-size: cover, cover, cover, 124%;
  }
}

.hero-section::after {
  animation: hero-drift 30s linear infinite;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.06) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%);
  background-size: 42px 42px;
  content: "";
  inset: 0;
  opacity: 0.18;
  position: absolute;
  z-index: 0;
}

@keyframes hero-drift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 84px 84px, -84px 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-section::before,
  .page-hero::before,
  .hero-section::after {
    animation: none;
  }
}

.hero-content {
  max-width: 920px;
  padding-bottom: 3.5rem;
  padding-top: 3.5rem;
  position: relative;
  z-index: 1;
}

.hero-content > * {
  animation: hero-fade-up 800ms cubic-bezier(0.16, 0.84, 0.44, 1) both;
}

.hero-content > *:nth-child(1) {
  animation-delay: 60ms;
}

.hero-content > *:nth-child(2) {
  animation-delay: 140ms;
}

.hero-content > *:nth-child(3) {
  animation-delay: 220ms;
}

.hero-content > *:nth-child(4) {
  animation-delay: 300ms;
}

.hero-content > *:nth-child(5) {
  animation-delay: 380ms;
}

.hero-content > *:nth-child(6) {
  animation-delay: 460ms;
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content > * {
    animation: none;
  }
}

.hero-mark {
  display: block;
  filter: drop-shadow(0 0 28px rgba(252, 76, 2, 0.38));
  height: 130px;
  margin-bottom: 1.4rem;
  object-fit: contain;
  width: 130px;
}

.hero-content h1,
.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.9rem);
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
}

.hero-subtitle {
  color: var(--pantera-yellow);
  font-size: 1.6rem;
  font-weight: 800;
  margin-top: 1.25rem;
}

.hero-copy,
.section-heading p,
.page-hero p {
  color: var(--pantera-muted);
  font-size: 0.95rem;
  max-width: 760px;
}

.eyebrow {
  align-items: center;
  color: var(--pantera-yellow) !important;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 0.5rem;
  letter-spacing: 0;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}

.eyebrow:empty {
  display: none;
}

.eyebrow::before {
  animation: pulse-dot 2.4s ease-in-out infinite;
  background: var(--pantera-yellow);
  border-radius: 50%;
  content: "";
  flex: 0 0 auto;
  height: 6px;
  width: 6px;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(252, 76, 2, 0.55);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(252, 76, 2, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(252, 76, 2, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .eyebrow::before {
    animation: none;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.75rem;
}

.btn-pantera {
  background: var(--pantera-yellow);
  border: 1px solid var(--pantera-yellow);
  border-radius: 6px;
  color: #111;
  font-weight: 900;
  overflow: hidden;
  padding: 0.75rem 1.05rem;
  position: relative;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.btn-pantera::before {
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  content: "";
  height: 100%;
  left: -65%;
  position: absolute;
  top: 0;
  transform: skewX(-20deg);
  transition: left 550ms ease;
  width: 40%;
}

.btn-pantera:hover {
  background: var(--pantera-orange-soft);
  border-color: var(--pantera-orange-soft);
  box-shadow: 0 12px 26px rgba(252, 76, 2, 0.35);
  color: #111;
  transform: translateY(-2px);
}

.btn-pantera:hover::before {
  left: 130%;
}

.btn-pantera:active {
  transform: translateY(0);
}

.btn-outline-light {
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 200ms ease;
}

.btn-outline-light:hover {
  box-shadow: 0 10px 22px rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .btn-pantera,
  .btn-outline-light {
    transition: none;
  }

  .btn-pantera:hover,
  .btn-outline-light:hover {
    transform: none;
  }
}

.pantera-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3.25rem 0;
  position: relative;
  scroll-margin-top: 82px;
}

.pantera-section::before {
  background: linear-gradient(90deg, transparent, rgba(252, 76, 2, 0.65), transparent);
  content: "";
  height: 1px;
  left: 50%;
  position: absolute;
  top: -1px;
  transform: translateX(-50%);
  width: min(320px, 60%);
}

.pantera-section:nth-of-type(even) {
  background: var(--pantera-graphite);
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2,
.pantera-section h2,
.compact-heading h2 {
  align-items: center;
  display: flex;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 850;
  gap: 0.6rem;
  text-transform: uppercase;
}

.section-heading h2::after,
.pantera-section h2::after,
.compact-heading h2::after {
  animation: paw-step 2.6s ease-in-out infinite;
  background: url("/img/ui/panther-print.png") center / contain no-repeat;
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  height: 0.8em;
  opacity: 0.85;
  width: 0.8em;
}

@keyframes paw-step {
  0%,
  100% {
    transform: rotate(-8deg) scale(1);
  }

  50% {
    transform: rotate(6deg) scale(1.14);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-heading h2::after,
  .pantera-section h2::after,
  .compact-heading h2::after {
    animation: none;
  }
}

.feature-band,
.side-panel,
.admin-panel {
  background: linear-gradient(135deg, rgba(252, 76, 2, 0.095), rgba(255, 255, 255, 0.028));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
}

.feature-band {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
}

.status-pill,
.date-chip {
  background: rgba(252, 76, 2, 0.14);
  border: 1px solid rgba(252, 76, 2, 0.38);
  border-radius: 999px;
  color: var(--pantera-yellow);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 1rem;
  padding: 0.35rem 0.7rem;
}

.card-grid,
.logo-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.mtb-card,
.logo-tile,
.metric-grid article {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  min-height: 150px;
  padding: 0.9rem;
  transition: border-color 220ms ease, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms ease, background 220ms ease;
}

.team-photo,
.friendly-logo {
  transition: transform 450ms ease;
}

.mtb-card:hover .team-photo,
.mtb-card:hover .friendly-logo {
  transform: scale(1.035);
}

.team-photo {
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(252, 76, 2, 0.35);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  margin-bottom: 1rem;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.friendly-logo {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  margin-bottom: 1rem;
  object-fit: contain;
  padding: 0.75rem;
  width: 100%;
}

.friendly-grid {
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
}

.friendly-card {
  min-height: 0;
  padding: 0.7rem;
}

.friendly-card .friendly-logo {
  margin: 0 auto 0.65rem;
  max-width: 96px;
  padding: 0.4rem;
}

.friendly-card h3 {
  font-size: 0.92rem;
}

.friendly-card p,
.friendly-card small {
  font-size: 0.8rem;
}

.event-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.event-card-head {
  align-items: center;
  display: flex;
  gap: 0.85rem;
}

.event-card-head img {
  background: radial-gradient(circle, rgba(252, 76, 2, 0.2), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(252, 76, 2, 0.18);
  border-radius: 8px;
  flex: 0 0 auto;
  height: 52px;
  object-fit: contain;
  padding: 0.35rem;
  width: 52px;
}

.event-card .date-chip {
  display: inline-block;
  margin-bottom: 0.45rem;
}

.event-card small {
  color: var(--pantera-muted);
  display: block;
  font-size: 0.82rem;
}

.calendar-dashboard {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  margin-bottom: 1rem;
}

.next-event-panel,
.calendar-metrics article {
  background:
    linear-gradient(135deg, rgba(252, 76, 2, 0.12), rgba(255, 255, 255, 0.028));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.next-event-panel {
  min-height: 210px;
  padding: 1rem;
}

.next-event-logos {
  align-items: center;
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin: 0.75rem 0 0.6rem;
}

.next-event-logos img {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(252, 76, 2, 0.3);
  border-radius: 50%;
  height: 54px;
  object-fit: contain;
  padding: 0.4rem;
  width: 54px;
}

.next-event-logos .logos-divider {
  color: var(--pantera-muted);
  font-weight: 700;
}

.next-event-title {
  font-size: clamp(1.15rem, 2.4vw, 1.75rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 0;
  text-align: center;
}

.next-event-tags {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.4rem;
}

.next-event-league {
  color: var(--pantera-orange);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.next-event-type {
  color: var(--pantera-muted);
  font-size: 0.82rem;
}

.next-event-datetime {
  color: var(--pantera-white);
  display: flex;
  font-weight: 700;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.6rem;
}

.next-event-weather {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--pantera-muted);
  display: flex;
  font-size: 0.85rem;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
}

.next-event-location {
  margin-top: 0.75rem;
  text-align: center;
}

.next-event-location span {
  color: var(--pantera-white);
  display: block;
  font-weight: 700;
}

.next-event-location small {
  color: var(--pantera-muted);
  display: block;
  margin-top: 0.1rem;
}

.next-event-difficulty {
  color: var(--pantera-orange-soft);
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.6rem;
  text-align: center;
}

.countdown-boxes {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(252, 76, 2, 0.25);
  border-radius: 10px;
  margin-top: 1rem;
  padding: 0.85rem 0.75rem;
}

.countdown-boxes-label {
  color: var(--pantera-muted);
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
  text-align: center;
  text-transform: uppercase;
}

.countdown-boxes-grid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(4, 1fr);
}

.countdown-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.5rem 0.25rem;
  text-align: center;
}

.countdown-box strong {
  color: var(--pantera-white);
  display: block;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 950;
  line-height: 1;
}

.countdown-box span {
  color: var(--pantera-muted);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.calendar-metrics {
  display: grid;
  gap: 0.75rem;
}

.calendar-metrics article {
  min-height: 62px;
  padding: 0.8rem;
}

.calendar-metrics strong {
  color: var(--pantera-orange);
  display: block;
  font-size: 1.65rem;
  line-height: 1;
}

.calendar-metrics span {
  color: var(--pantera-muted);
  font-size: 0.82rem;
}

.compact-heading {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.compact-heading h2 {
  margin-bottom: 0;
}

.compact-heading p {
  margin-bottom: 0;
  max-width: 460px;
}

.event-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.event-badges span,
.countdown-chip {
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1;
  padding: 0.36rem 0.55rem;
}

.event-badges span {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--pantera-muted);
}

.league-chip {
  align-items: center;
  background: color-mix(in srgb, var(--league-color) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--league-color) 55%, transparent);
  border-radius: 999px;
  color: var(--pantera-white);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 850;
  gap: 0.4rem;
  line-height: 1;
  padding: 0.36rem 0.55rem;
}

.league-chip::before {
  background: var(--league-color);
  border-radius: 50%;
  content: "";
  flex: 0 0 auto;
  height: 8px;
  width: 8px;
}

.league-chip.has-logo {
  gap: 0.32rem;
  padding-left: 0.3rem;
}

.league-chip.has-logo::before {
  display: none;
}

.league-chip img {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  flex: 0 0 auto;
  height: 18px;
  object-fit: cover;
  width: 18px;
}

.league-legend .league-chip img {
  height: 22px;
  width: 22px;
}

a.league-chip {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

a.league-chip:hover {
  box-shadow: 0 6px 16px color-mix(in srgb, var(--league-color) 35%, transparent);
  transform: translateY(-2px);
}

a.league-chip.is-active {
  background: color-mix(in srgb, var(--league-color) 34%, transparent);
  border-color: var(--league-color);
}

.league-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: -1rem 0 1.75rem;
}

dd .league-chip {
  margin-right: 0.5rem;
  vertical-align: middle;
}

.event-card-footer {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: auto;
}

.countdown-chip {
  background: rgba(252, 76, 2, 0.14);
  border: 1px solid rgba(252, 76, 2, 0.35);
  color: var(--pantera-orange);
  flex: 0 0 auto;
  white-space: nowrap;
}

.mtb-card:hover,
.logo-tile:hover,
.metric-grid article:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  border-color: rgba(252, 76, 2, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(252, 76, 2, 0.12);
  transform: translateY(-6px);
}

@media (prefers-reduced-motion: reduce) {
  .mtb-card,
  .logo-tile,
  .metric-grid article,
  .team-photo,
  .friendly-logo {
    transition: none;
  }

  .mtb-card:hover,
  .logo-tile:hover,
  .metric-grid article:hover {
    transform: none;
  }
}

.mtb-card h3 {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0;
}

.mtb-card p,
.mtb-card small,
.logo-tile span {
  color: var(--pantera-muted);
}

.nickname {
  color: var(--pantera-yellow) !important;
  font-weight: 800;
}

.friend-quote {
  color: var(--pantera-muted);
  font-size: 0.92rem;
  font-style: italic;
}

.friend-team-badge {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 0.6rem;
  margin-top: 0.9rem;
  padding-top: 0.85rem;
}

.friend-team-badge img {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  height: 32px;
  object-fit: contain;
  padding: 0.2rem;
  width: 32px;
}

.friend-team-badge span {
  color: var(--pantera-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.35rem 0;
}

.card-meta span {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--pantera-muted);
  font-size: 0.82rem;
  padding: 0.3rem 0.55rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.social-links a {
  font-size: 0.9rem;
  font-weight: 800;
}

.kudos-bar {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
}

.kudos-count {
  color: var(--pantera-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.kudos-btn {
  background: none;
  border: 1px solid rgba(252, 76, 2, 0.35);
  border-radius: 999px;
  color: var(--pantera-orange);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  transition: background-color 160ms ease, color 160ms ease;
}

.kudos-btn:hover {
  background: var(--pantera-orange);
  color: #111;
}

.kudos-modal {
  background: var(--pantera-graphite);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--pantera-white);
}

.kudos-modal .modal-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.kudos-emoji-picker {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.kudos-emoji {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 1.4rem;
  height: 48px;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
  width: 48px;
}

.kudos-emoji:hover {
  transform: translateY(-2px);
}

.kudos-emoji.is-active {
  background: rgba(252, 76, 2, 0.18);
  border-color: var(--pantera-orange);
}

.kudos-feedback {
  color: var(--pantera-muted);
  font-size: 0.85rem;
  margin: 0.75rem 0 0;
  text-align: center;
}

.huella-summary {
  color: var(--pantera-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.huella-summary strong {
  color: var(--pantera-orange);
}

.huella-explorer {
  margin: 0 auto;
  max-width: 760px;
}

.huella-search {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--pantera-white);
  display: block;
  font-size: 0.9rem;
  margin: 0 auto 1.1rem;
  max-width: 420px;
  padding: 0.65rem 1.1rem;
  width: 100%;
}

.huella-search:focus {
  border-color: var(--pantera-orange);
  box-shadow: 0 0 0 0.2rem rgba(252, 76, 2, 0.16);
  outline: none;
}

.huella-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.huella-filter-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--pantera-muted);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.huella-filter-pill span {
  opacity: 0.75;
}

.huella-filter-pill:hover {
  border-color: rgba(252, 76, 2, 0.4);
  color: var(--pantera-white);
}

.huella-filter-pill.is-active {
  background: var(--pantera-orange);
  border-color: var(--pantera-orange);
  color: #111;
}

.huella-showcase {
  align-items: center;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin-bottom: 1.5rem;
}

.huella-nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: var(--pantera-white);
  display: flex;
  flex: 0 0 auto;
  font-size: 1.4rem;
  height: 42px;
  justify-content: center;
  line-height: 1;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
  width: 42px;
}

.huella-nav:hover {
  background: rgba(252, 76, 2, 0.18);
  border-color: var(--pantera-orange);
  transform: scale(1.06);
}

.huella-featured {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  position: relative;
  text-align: center;
  transition: opacity 180ms ease;
}

.huella-featured-logo {
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle, rgba(252, 76, 2, 0.28), rgba(11, 11, 11, 0.1) 70%);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(252, 76, 2, 0.35), 0 18px 40px rgba(252, 76, 2, 0.22);
  margin: 0 auto 1.1rem;
  object-fit: contain;
  padding: 1rem;
  width: min(45%, 180px);
}

.huella-featured h4 {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 0.6rem;
}

.huella-city-pill {
  background: rgba(252, 76, 2, 0.14);
  border: 1px solid rgba(252, 76, 2, 0.35);
  border-radius: 999px;
  color: var(--pantera-orange);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  padding: 0.3rem 0.75rem;
}

.huella-city-pill:empty {
  display: none;
}

.huella-counter {
  color: var(--pantera-muted);
  display: block;
  font-size: 0.78rem;
  margin-bottom: 0.9rem;
}

.huella-featured p {
  color: var(--pantera-muted);
  font-size: 0.88rem;
  margin: 0 auto;
  max-width: 460px;
}

.huella-avatar-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.huella-avatar {
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid transparent;
  border-radius: 50%;
  color: var(--pantera-muted);
  display: flex;
  flex: 0 0 auto;
  font-weight: 800;
  height: 52px;
  justify-content: center;
  overflow: hidden;
  transition: border-color 180ms ease, transform 180ms ease;
  width: 52px;
}

.huella-avatar img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.huella-avatar:hover {
  transform: translateY(-2px);
}

.huella-avatar.is-active {
  border-color: var(--team-color, var(--pantera-orange));
  box-shadow: 0 0 0 3px rgba(252, 76, 2, 0.18);
}

.huella-more-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--pantera-muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 auto;
  padding: 0.4rem 0.95rem;
}

.huella-more-pill:hover {
  border-color: rgba(252, 76, 2, 0.4);
  color: var(--pantera-white);
}

.huella-empty {
  color: var(--pantera-muted);
  padding: 2rem 0;
  text-align: center;
}

.logo-tile {
  align-items: center;
  color: var(--pantera-white);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
  min-height: 120px;
  padding: 1rem;
  text-align: center;
}

.logo-tile img {
  height: 48px;
  object-fit: contain;
  width: auto;
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.gallery-grid figure {
  background: var(--pantera-panel);
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
}

.gallery-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 500ms ease, filter 500ms ease;
  width: 100%;
}

.gallery-grid figure:hover img {
  filter: brightness(1.06);
  transform: scale(1.09);
}

@media (prefers-reduced-motion: reduce) {
  .gallery-grid img {
    transition: none;
  }
}

.gallery-grid figcaption {
  color: var(--pantera-muted);
  padding: 0.75rem;
}

.page-hero.compact {
  min-height: 24vh;
}

.calendar-hero {
  min-height: 24vh;
}

.calendar-hero h1 {
  font-size: clamp(1.95rem, 3.8vw, 3.1rem);
}

.filter-bar {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-bottom: 1.75rem;
}

.form-control,
.form-select {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--pantera-white);
}

.form-control:focus,
.form-select:focus {
  background: #111;
  border-color: var(--pantera-yellow);
  box-shadow: 0 0 0 0.2rem rgba(252, 76, 2, 0.16);
  color: var(--pantera-white);
}

.detail-layout {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.detail-list {
  display: grid;
  grid-template-columns: 180px 1fr;
}

.detail-list dt {
  color: var(--pantera-yellow);
}

.event-detail-logo {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: block;
  height: 120px;
  margin: 1.25rem 0;
  object-fit: contain;
  padding: 1rem;
  width: 120px;
}

.site-footer {
  background: #060606;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--pantera-muted);
  padding: 2rem 0;
}

.site-footer .container {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.footer-brand {
  align-items: center;
  display: inline-flex;
  gap: 0.7rem;
}

.footer-brand img {
  height: 42px;
  object-fit: contain;
  width: 42px;
}

.footer-social {
  display: inline-flex;
  gap: 1rem;
}

.footer-social a,
.site-footer a {
  color: var(--pantera-muted);
  text-decoration: none;
}

.footer-social a:hover,
.site-footer a:hover {
  color: var(--pantera-orange);
}

.dev-credit-bar {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1rem;
}

.dev-credit {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  gap: 0.6rem;
  padding: 0.25rem 0.6rem 0.25rem 0.25rem;
  text-decoration: none;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.dev-credit img {
  border-radius: 50%;
  height: 26px;
  object-fit: contain;
  width: 26px;
}

.dev-credit span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.dev-credit strong {
  color: var(--pantera-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.dev-credit em {
  color: rgba(210, 199, 194, 0.65);
  font-size: 0.72rem;
  font-style: italic;
}

.dev-credit:hover {
  background: linear-gradient(90deg, rgba(255, 196, 0, 0.12), rgba(230, 30, 40, 0.12), rgba(30, 110, 230, 0.12), rgba(50, 180, 60, 0.12));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.dev-credit:hover strong {
  color: var(--pantera-white);
}

.dev-credit-meta {
  align-items: center;
  display: inline-flex;
  gap: 0.9rem;
}

.dev-version {
  color: rgba(210, 199, 194, 0.55);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.dev-about-trigger {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--pantera-muted);
  font-size: 0.72rem;
  padding: 0.3rem 0.75rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.dev-about-trigger:hover {
  border-color: var(--pantera-orange);
  color: var(--pantera-orange);
}

.dev-about-modal {
  background: var(--pantera-graphite);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--pantera-white);
}

.dev-about-modal .modal-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.dev-about-header {
  align-items: center;
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dev-about-header img {
  border: 2px solid rgba(252, 76, 2, 0.4);
  border-radius: 50%;
  height: 64px;
  object-fit: cover;
  width: 64px;
}

.dev-about-header span {
  color: var(--pantera-muted);
  display: block;
  font-size: 0.85rem;
}

.dev-about-modal p {
  color: var(--pantera-muted);
}

.dev-about-footnote {
  font-size: 0.85rem;
  font-style: italic;
}

.admin-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: linear-gradient(180deg, #070707, #1d0d07);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem;
}

.admin-sidebar nav {
  display: grid;
  gap: 0.3rem;
  margin-top: 2rem;
}

.admin-sidebar nav a {
  border-radius: 6px;
  color: var(--pantera-muted);
  font-size: 0.9rem;
  padding: 0.55rem 0.75rem;
  transition: background-color 160ms ease, color 160ms ease;
}

.admin-sidebar nav a:hover {
  background: rgba(252, 76, 2, 0.14);
  color: var(--pantera-white);
}

.admin-sidebar nav a.is-active {
  background: rgba(252, 76, 2, 0.22);
  color: var(--pantera-white);
  font-weight: 700;
}

.admin-account {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.35rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
}

.admin-account span {
  color: var(--pantera-muted);
  font-size: 0.78rem;
  overflow: hidden;
  padding: 0 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-account a {
  border-radius: 6px;
  color: var(--pantera-muted);
  font-size: 0.9rem;
  padding: 0.55rem 0.75rem;
  transition: background-color 160ms ease, color 160ms ease;
}

.admin-account a:hover {
  background: rgba(252, 76, 2, 0.14);
  color: var(--pantera-white);
}

.admin-logout-btn {
  background: none;
  border: none;
  border-radius: 6px;
  color: var(--pantera-muted);
  font-size: 0.9rem;
  padding: 0.55rem 0.75rem;
  text-align: left;
  transition: background-color 160ms ease, color 160ms ease;
  width: 100%;
}

.admin-logout-btn:hover {
  background: rgba(252, 76, 2, 0.14);
  color: var(--pantera-white);
}

.admin-main {
  padding: 2rem;
}

.admin-header {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.admin-header h1 {
  font-weight: 900;
  margin: 0;
}

.metric-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 1.5rem;
}

.metric-grid article {
  min-height: 120px;
}

.metric-grid span {
  color: var(--pantera-yellow);
  display: block;
  font-size: 2rem;
  font-weight: 950;
}

.alert {
  border-radius: 8px;
  font-size: 0.9rem;
}

.alert-success {
  background: rgba(46, 125, 50, 0.18);
  border: 1px solid rgba(46, 125, 50, 0.5);
  color: #8fd99a;
}

.alert-danger {
  background: rgba(185, 50, 0, 0.18);
  border: 1px solid rgba(185, 50, 0, 0.5);
  color: #ff9d7a;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(0.16, 0.84, 0.44, 1), transform 700ms cubic-bezier(0.16, 0.84, 0.44, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 780px) {
  .hero-content h1,
  .page-hero h1 {
    font-size: 2.15rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-mark {
    height: 82px;
    width: 82px;
  }

  .section-heading h2,
  .pantera-section h2 {
    font-size: 1.5rem;
  }

  .detail-layout,
  .huella-panel,
  .admin-body {
    grid-template-columns: 1fr;
  }

  .pantera-section {
    padding: 2.35rem 0;
  }

  .page-hero.compact,
  .calendar-hero {
    min-height: 24vh;
  }

  .compact-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .huella-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .huella-stats article {
    min-height: 76px;
    padding: 0.75rem;
  }

  .huella-stats span {
    font-size: 0.76rem;
  }

  .huella-logo-strip {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .admin-sidebar {
    position: static;
  }

  .feature-band,
  .site-footer .container,
  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .calendar-dashboard {
    grid-template-columns: 1fr;
  }

  .next-event-panel {
    min-height: auto;
    padding: 0.85rem;
  }

  .next-event-logos img {
    height: 44px;
    width: 44px;
  }

  .next-event-title {
    font-size: 1.25rem;
  }

  .countdown-boxes-grid {
    gap: 0.35rem;
  }

  .calendar-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .calendar-metrics article {
    min-height: 72px;
  }

  .calendar-metrics strong {
    font-size: 1.35rem;
  }
}
