/* ==========================================================================
   ELITE MARATHON 4.0 - OFFICIAL POSTER PRIZE MONEY CHART STYLESHEET
   100% Authentic to Official Poster Design with Rich Animations
   ========================================================================== */

/* POSTER SECTION WRAPPER */
.poster-prize-section {
  padding: 60px 0 80px;
  background: radial-gradient(circle at 50% 20%, #0d2818 0%, #06180e 50%, #020b06 100%);
  position: relative;
  overflow: hidden;
  color: #ffffff;
  scroll-margin-top: 80px;
}

/* Background animated glow orbs */
.poster-prize-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite alternate;
}

.poster-prize-section::after {
  content: "";
  position: absolute;
  top: 100px;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite alternate-reverse;
}

@keyframes glowPulse {
  0% { transform: scale(1) translate(0, 0); opacity: 0.6; }
  100% { transform: scale(1.15) translate(20px, 20px); opacity: 1; }
}

/* MASTER POSTER FRAME CONTAINER */
.poster-frame-container {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(180deg, #071f13 0%, #05190f 50%, #021109 100%);
  border: 3px solid #f59e0b;
  border-radius: 24px;
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.25), 0 25px 60px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

/* Gold inner border line */
.poster-frame-container::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 19px;
  pointer-events: none;
  z-index: 10;
}

/* POSTER HEADER BANNER */
.poster-header-banner {
  padding: 24px 30px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.4) 100%);
  border-bottom: 2px solid rgba(245, 158, 11, 0.4);
  position: relative;
}

.poster-top-logos-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.poster-rotary-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rotary-wheel-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.rotary-title-text {
  display: flex;
  flex-direction: column;
}

.rotary-dist-tag {
  font-size: 13px;
  font-weight: 800;
  color: #0284c7;
  letter-spacing: 0.5px;
}

.rotary-club-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: #003e73;
  background: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  display: inline-block;
  line-height: 1.2;
}

.rotary-charter-sub {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 2px;
}

.poster-team-dynamic {
  text-align: right;
  font-size: 12px;
  color: #cbd5e1;
}

.team-dynamic-title {
  color: #f97316;
  font-weight: 800;
  font-size: 14px;
  display: block;
}

/* MAIN EVENT TITLES IN POSTER */
.poster-hero-title-wrap {
  text-align: center;
  margin: 14px 0 16px;
  position: relative;
}

.poster-lion-mascot-img {
  position: absolute;
  right: 15px;
  top: -28px;
  height: 145px;
  width: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 16px rgba(251, 191, 36, 0.45));
  animation: lionRunnerAction 2.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  transform-origin: bottom center;
  z-index: 5;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.35s ease;
  cursor: pointer;
  will-change: transform, filter;
}

.poster-lion-mascot-img:hover {
  transform: scale(1.16) translateY(-16px) rotate(-4deg);
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 34px rgba(251, 191, 36, 0.95));
  animation-play-state: paused;
}

@keyframes lionRunnerAction {
  0% {
    transform: translateY(0px) rotate(0deg) scale(1, 1);
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 12px rgba(251, 191, 36, 0.35));
  }
  22% {
    transform: translateY(-16px) rotate(-3.5deg) scale(1.03, 0.97);
    filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 24px rgba(251, 191, 36, 0.7));
  }
  45% {
    transform: translateY(3px) rotate(1.5deg) scale(0.97, 1.03);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 14px rgba(251, 191, 36, 0.45));
  }
  68% {
    transform: translateY(-20px) rotate(3deg) scale(1.04, 0.96);
    filter: drop-shadow(0 26px 32px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 30px rgba(251, 191, 36, 0.85));
  }
  88% {
    transform: translateY(-4px) rotate(-1deg) scale(0.99, 1.01);
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 18px rgba(251, 191, 36, 0.5));
  }
  100% {
    transform: translateY(0px) rotate(0deg) scale(1, 1);
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 12px rgba(251, 191, 36, 0.35));
  }
}

.poster-main-h1 {
  font-family: 'DM Sans', 'Poppins', sans-serif;
  font-size: clamp(30px, 4.8vw, 54px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.05;
  margin: 0;
  text-transform: uppercase;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 158, 11, 0.4);
}

.poster-main-h1 span.edition-gold {
  color: #facc15;
  text-shadow: 0 0 20px rgba(250, 204, 21, 0.6);
}

.poster-slogan-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #dc2626;
  color: #ffffff;
  padding: 4px 18px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 6px;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}

/* 🌿 PRIZE MONEY CHART 🌿 3D GOLD RIBBON */
.poster-ribbon-badge-wrap {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.poster-ribbon-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border: 2px solid #fbbf24;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.4), inset 0 2px 6px rgba(255, 255, 255, 0.2);
  padding: 8px 32px;
  border-radius: 9999px;
  position: relative;
  overflow: hidden;
}

.poster-ribbon-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: lightSweep 3.5s infinite;
}

@keyframes lightSweep {
  0% { left: -100%; }
  35% { left: 150%; }
  100% { left: 150%; }
}

.poster-ribbon-text {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(18px, 2.8vw, 26px);
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fef08a 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  line-height: 1.2;
}

.laurel-leaf {
  color: #fbbf24;
  font-size: 22px;
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.5));
}

/* ==========================================================================
   DUAL TABLES CONTAINER (5K & 10K) - MATCHING POSTER EXACTLY
   ========================================================================== */
.poster-tables-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 20px 22px;
}

/* 5K BOX (GREEN THEME) & 10K BOX (GOLD THEME) */
.poster-cat-box {
  min-width: 0;
  background: transparent;
  border-radius: 18px;
  overflow: visible;
  box-shadow: none;
  border: none;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
}

.poster-cat-box-10k {
  border: none;
}

.poster-cat-box.poster-box-highlight {
  transform: translateY(-4px);
  filter: drop-shadow(0 0 25px rgba(251, 191, 36, 0.75));
}

.poster-prize-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 16px;
  image-rendering: auto;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.poster-prize-img:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.65));
}

/* CAT HEADER BAR */
.cat-header-banner {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cat-header-5k {
  background: linear-gradient(90deg, #022c1d 0%, #064e3b 60%, #047857 100%);
  border-bottom: 2px solid #10b981;
}

.cat-header-10k {
  background: linear-gradient(90deg, #78350f 0%, #b45309 60%, #f59e0b 100%);
  border-bottom: 2px solid #fbbf24;
}

.cat-title-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cat-runner-glyph {
  font-size: 26px;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
}

.cat-dist-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
}

.cat-header-5k .cat-dist-text {
  color: #34d399;
  text-shadow: 0 0 10px rgba(52, 211, 153, 0.4);
}

.cat-header-10k .cat-dist-text {
  color: #fef08a;
  text-shadow: 0 0 10px rgba(254, 240, 138, 0.4);
}

.cat-gender-label {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}

.cat-header-5k .cat-gender-label {
  color: #a7f3d0;
}

.cat-header-10k .cat-gender-label {
  color: #fef3c7;
}

.cat-gender-label span {
  font-size: 11px;
  opacity: 0.85;
}

/* EXACT POSTER TABLE STYLING */
.poster-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  text-align: center;
}

.poster-table thead tr:first-child th {
  background: #0f172a;
  color: #ffffff;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 8px 6px;
  border: 1px solid #334155;
  text-transform: uppercase;
  vertical-align: middle;
}

.poster-table thead tr:last-child th {
  background: #1e293b;
  color: #e2e8f0;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 4px;
  border: 1px solid #334155;
  text-transform: uppercase;
}

.poster-table tbody tr {
  border-bottom: 1px solid #e2e8f0;
  transition: background-color 0.15s ease;
}

.poster-table tbody tr:hover {
  background-color: #f0fdf4;
}

.poster-cat-box-10k .poster-table tbody tr:hover {
  background-color: #fffbeb;
}

.poster-table tbody td {
  padding: 7px 6px;
  border-right: 1px solid #f1f5f9;
  font-weight: 600;
  color: #1e293b;
  font-size: 12.5px;
  vertical-align: middle;
}

.poster-table tbody td.td-position {
  text-align: left;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.rank-badge-img {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}

.poster-table tbody td.td-prize-bold {
  font-weight: 800;
  color: #0f172a;
}

.poster-table tbody td.td-combined {
  font-weight: 800;
  color: #047857;
}

.poster-cat-box-10k .poster-table tbody td.td-combined {
  color: #b45309;
}

/* BOTTOM SUMMARY STRIP IN EACH TABLE (EXACT AS POSTER) */
.poster-table-foot {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
  align-items: center;
  text-align: center;
  font-weight: 800;
  padding: 10px 8px;
  border-top: 2px solid #0f172a;
}

.foot-5k {
  background: #022c1d;
  color: #ffffff;
}

.foot-10k {
  background: #1e1b4b;
  color: #ffffff;
}

.foot-label {
  font-size: 11px;
  text-align: left;
  padding-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.foot-col {
  display: flex;
  flex-direction: column;
}

.foot-col-title {
  font-size: 9px;
  opacity: 0.75;
  text-transform: uppercase;
}

.foot-col-val {
  font-size: 14px;
  font-weight: 900;
}

.foot-5k .foot-col-val {
  color: #34d399;
}

.foot-10k .foot-col-val {
  color: #fbbf24;
}

.foot-col-val.combined-val {
  font-size: 15px;
  color: #fef08a !important;
}

/* ==========================================================================
   BOTTOM SUMMARY SECTION (CATEGORY WISE TOTAL + GRAND TOTAL TROPHY)
   ========================================================================== */
.poster-bottom-summary-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 16px;
  padding: 0 22px 20px;
}

.poster-summary-table-box {
  min-width: 0;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid #10b981;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.poster-summary-table-box.poster-summary-img-card {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.poster-summary-prize-img {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 18px;
  image-rendering: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.poster-summary-prize-img:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 12px 28px rgba(245, 158, 11, 0.35));
}

.poster-summary-img-card.prize-artwork-shine,
.prize-grand-total-art-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  isolation: isolate;
}

.poster-summary-img-card.prize-artwork-shine picture {
  display: block;
  width: 100%;
}

.prize-grand-total-art-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  background: #06180e;
}

.prize-grand-total-art-card img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
}

.prize-artwork-shine::after {
  content: "";
  position: absolute;
  top: -35%;
  left: -60%;
  z-index: 2;
  width: 42%;
  height: 170%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.56), transparent);
  transform: skewX(-22deg);
  pointer-events: none;
  animation: prizeArtworkShine 4.5s ease-in-out infinite;
}

@keyframes prizeArtworkShine {
  0%, 18% { left: -60%; }
  72%, 100% { left: 135%; }
}

@media (prefers-reduced-motion: reduce) {
  .prize-artwork-shine::after {
    animation: none;
    display: none;
  }
}

.summary-box-title {
  background: #064e3b;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  padding: 8px 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.summary-mini-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 13px;
}

.summary-mini-table thead th {
  background: #0f172a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 6px;
  border: 1px solid #334155;
  text-transform: uppercase;
}

.summary-mini-table tbody td {
  padding: 8px 6px;
  font-weight: 700;
  color: #1e293b;
  border-bottom: 1px solid #e2e8f0;
}

.summary-mini-table tr.grand-row td {
  background: #facc15;
  color: #0f172a;
  font-weight: 900;
  font-size: 14px;
  border-top: 2px solid #eab308;
}

/* GRAND TOTAL TROPHY CARD (RIGHT SIDE OF POSTER) */
.poster-grand-trophy-box {
  background: radial-gradient(circle at 50% 30%, #064e3b 0%, #022c1d 60%, #011910 100%);
  border-radius: 14px;
  border: 2px solid #f59e0b;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(245, 158, 11, 0.2);
  position: relative;
  overflow: hidden;
}

.grand-trophy-anim-box {
  font-size: 64px;
  line-height: 1;
  filter: drop-shadow(0 0 16px rgba(251, 191, 36, 0.6));
  animation: trophyBreathing 3s ease-in-out infinite alternate;
}

@keyframes trophyBreathing {
  0% { transform: scale(1) translateY(0); filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.4)); }
  100% { transform: scale(1.08) translateY(-4px); filter: drop-shadow(0 0 24px rgba(251, 191, 36, 0.8)); }
}

.grand-trophy-text-col {
  text-align: right;
}

.grand-tagline-text {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fde047;
  line-height: 1.2;
}

.grand-subtag-text {
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.grand-mega-amount {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 900;
  color: #facc15;
  line-height: 1;
  letter-spacing: -1px;
  text-shadow: 0 4px 20px rgba(250, 204, 21, 0.6), 0 0 10px rgba(245, 158, 11, 0.8);
  position: relative;
}

/* ==========================================================================
   OFFICIALS FOOTER RIBBON (BOTTOM OF POSTER)
   ========================================================================== */
.poster-officials-ribbon {
  background: #011f13;
  border-top: 2px solid #f59e0b;
  padding: 12px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}

.poster-official-col {
  position: relative;
}

.poster-official-col:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(245, 158, 11, 0.35);
}

.official-post-name {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1px;
}

.official-post-role {
  font-size: 11px;
  color: #34d399;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ACTION BUTTONS ROW BELOW POSTER */
.poster-action-btn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn-poster-register {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  padding: 11px 26px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
  transition: all 0.25s ease;
}

.btn-poster-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.6);
  color: #ffffff;
}

.btn-poster-page {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fbbf24;
  border: 1.5px solid #fbbf24;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-poster-page:hover {
  background: #fbbf24;
  color: #0f172a;
  transform: translateY(-2px);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVENESS
   ========================================================================== */
@media (max-width: 992px) {
  .poster-tables-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .poster-bottom-summary-wrap {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .poster-lion-mascot-img {
    height: 90px;
    top: -15px;
    right: 5px;
  }
}

@media (max-width: 768px) {
  .poster-frame-container {
    border-width: 2px;
    border-radius: 18px;
  }

  .poster-header-banner {
    padding: 18px 16px 14px;
  }

  .poster-tables-grid {
    padding: 14px 10px;
  }

  .poster-bottom-summary-wrap {
    padding: 0 10px 16px;
  }

  .poster-officials-ribbon {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  .poster-official-col:not(:last-child)::after {
    display: none;
  }

  .poster-table {
    font-size: 11px;
  }

  .poster-table thead tr:first-child th,
  .poster-table tbody td {
    padding: 6px 3px;
    font-size: 11px;
  }

  .poster-table-foot {
    font-size: 11px;
    padding: 8px 4px;
  }

  .foot-col-val {
    font-size: 12px;
  }

  .grand-mega-amount {
    font-size: 36px;
  }
}

@media (max-width: 380px) {
  .poster-grand-trophy-box {
    flex-direction: column;
    gap: 8px;
    padding: 12px;
  }

  .grand-trophy-text-col {
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  .grand-mega-amount {
    font-size: clamp(25px, 8vw, 32px);
    white-space: nowrap;
  }
}

/* ========================================================
   TOP GRAND TOTAL SECTION & INTERACTIVE FILTERS
   ======================================================== */
.poster-top-grand-total-section {
  background: rgba(2, 44, 29, 0.45);
  border: 1.5px solid rgba(251, 191, 36, 0.35);
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.grand-total-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}

.filter-bar-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #fbbf24;
  text-transform: uppercase;
}

.prize-filter-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-prize-filter {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.22s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-prize-filter:hover {
  background: rgba(251, 191, 36, 0.2);
  border-color: rgba(251, 191, 36, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-prize-filter.active {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-color: #fbbf24;
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.poster-top-summary-wrap {
  margin-top: 0;
  margin-bottom: 0;
}

.poster-grand-trophy-box.highlight-top-box {
  border: 2.5px solid #fbbf24;
  box-shadow: 0 8px 32px rgba(251, 191, 36, 0.28), inset 0 0 24px rgba(251, 191, 36, 0.18);
}

.selected-cat-row {
  background: rgba(251, 191, 36, 0.15) !important;
}

/* ========================================================
   VISUAL RUNNER PERKS WITH FINISHER MEDAL
   ======================================================== */
.perks-visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.perk-visual-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.perk-visual-card:hover {
  transform: translateY(-5px);
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.perk-visual-card.highlight-medal-card {
  border: 2px solid #fbbf24;
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.08) 0%, rgba(2, 44, 29, 0.4) 100%);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.18);
}

.perk-visual-img-wrap {
  position: relative;
  width: 100%;
  height: 160px;
  background: #021a10;
  overflow: hidden;
}

.perk-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.perk-visual-card:hover .perk-visual-img {
  transform: scale(1.06);
}

.perk-badge-gold {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #0f172a;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.perk-badge-blue {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.perk-badge-emerald {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.perk-badge-purple {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.perk-visual-info {
  padding: 16px 18px;
  flex: 1;
}

.perk-visual-info h4 {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px;
}

.perk-visual-card.highlight-medal-card .perk-visual-info h4 {
  color: #fbbf24;
}

.perk-visual-info p {
  font-size: 12.5px;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.45;
}

/* Mobile Alignment for Poster Lion Mascot (Prevents text overlap on small screens) */
@media (max-width: 576px) {
  .poster-hero-title-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 6px;
  }

  .poster-lion-mascot-img {
    position: relative !important;
    top: 0 !important;
    right: auto !important;
    height: 75px !important;
    margin: 0 auto 10px !important;
    display: block !important;
  }

  .poster-main-h1 {
    font-size: 24px !important;
    white-space: nowrap !important;
  }
}
