/*
Theme Name: U2 Massive
Theme URI: https://example.com/u2-massive-results-tracker
Author: NeekyGFX
Author URI: https://NeekyGFX.co.uk
Description: Leaderboard ting brev
Version: 1.5.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: team-results-tracker
*/

:root {
  --bg: #090412;
  --bg-2: #150826;
  --panel: rgba(17, 13, 28, 0.88);
  --panel-strong: rgba(24, 18, 39, 0.96);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f7f2ff;
  --muted: #b6a9cf;
  --brand: #ff4b00;
  --brand-2: #ffd400;
  --brand-3: #ff1e1e;
  --glow: 0 0 24px rgba(255, 94, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 90, 0, 0.16), transparent 32%),
    radial-gradient(circle at top right, rgba(255, 212, 0, 0.12), transparent 28%),
    linear-gradient(180deg, var(--bg), var(--bg-2) 60%, #07030f);
  line-height: 1.6;
}

a { color: #ffd77a; text-decoration: none; }
a:hover { text-decoration: none; opacity: 0.95; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(9, 4, 18, 0.82);
  border-bottom: 1px solid rgba(255, 120, 0, 0.28);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.branding {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.site-brand-copy {
  min-width: 0;
}

.u2-microcopy {
  margin: 0;
  font-size: 0.92rem;
  color: #ffd1c0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-logo-wrap {
  position: relative;
  flex: 0 0 auto;
}

.site-logo-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
}

.site-logo-link::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 224, 130, 0.75) 0%, rgba(255, 107, 0, 0.5) 35%, rgba(255, 45, 0, 0.18) 58%, transparent 72%);
  filter: blur(14px);
  animation: trt-fire-glow 2s ease-in-out infinite alternate;
  pointer-events: none;
}

.site-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: min(168px, 24vw);
  min-width: 96px;
  height: auto;
  filter: drop-shadow(0 0 16px rgba(255, 80, 0, 0.55));
  animation: trt-logo-float 3s ease-in-out infinite;
}

.site-logo-fallback {
  position: relative;
  z-index: 1;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 80, 0, 0.55);
}

.hero {
  padding: 56px 0 28px;
}

.hero-card,
.panel {
  background: linear-gradient(180deg, rgba(27, 21, 44, 0.94), rgba(14, 10, 24, 0.94));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35), var(--glow);
}

.hero-card {
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 148, 0, 0.2), transparent 70%);
}

.hero-card h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 90, 0, 0.15);
  border: 1px solid rgba(255, 138, 41, 0.35);
  color: #ffe2c2;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-card p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

main.site-main {
  padding: 0 0 64px;
}

.results-wrap {
  display: grid;
  gap: 26px;
}

.panel {
  padding: 24px;
}

.panel h3,
.panel h4 {
  margin-top: 0;
}

.panel h3 {
  margin-bottom: 16px;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.results-table,
.week-table {
  width: 100%;
  border-collapse: collapse;
}

.results-table th,
.results-table td,
.week-table th,
.week-table td {
  padding: 14px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.results-table th,
.week-table th {
  background: rgba(255, 255, 255, 0.03);
  color: #ffe3c7;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.results-table tbody tr:hover,
.week-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.035);
}

.rank-badge {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 0 18px rgba(255, 94, 0, 0.4);
}

.total-points {
  font-weight: 800;
  color: #fff;
}

.score-row {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.score-pulse {
  animation: trt-score-pulse 1.2s ease-out 1;
}

.score-pulse-value {
  display: inline-block;
  animation: trt-score-bump 1s ease-out 1;
}

.week-block + .week-block {
  margin-top: 18px;
}

.week-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.week-label h4 {
  margin: 0;
  font-size: 1rem;
}

.muted {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 44px;
  color: var(--muted);
}

.trt-empty {
  padding: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

@keyframes trt-fire-glow {
  0% {
    transform: scale(0.92);
    opacity: 0.72;
  }
  100% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes trt-logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes trt-score-pulse {
  0% {
    background: rgba(255, 145, 0, 0.08);
    box-shadow: inset 0 0 0 0 rgba(255, 110, 0, 0.7);
    transform: scale(1);
  }
  35% {
    background: rgba(255, 145, 0, 0.22);
    box-shadow: inset 0 0 0 999px rgba(255, 110, 0, 0.08), 0 0 28px rgba(255, 110, 0, 0.25);
    transform: scale(1.01);
  }
  100% {
    background: transparent;
    box-shadow: inset 0 0 0 0 rgba(255, 110, 0, 0);
    transform: scale(1);
  }
}

@keyframes trt-score-bump {
  0% { transform: scale(1); text-shadow: none; }
  40% { transform: scale(1.18); text-shadow: 0 0 14px rgba(255, 213, 79, 0.7); }
  100% { transform: scale(1); text-shadow: none; }
}

@media (max-width: 760px) {
  .top-strip-grid {
    grid-template-columns: 1fr;
  }

  .top-strip-heading {
    align-items: flex-start;
  }

  .branding {
    align-items: flex-start;
    flex-direction: row;
  }

  .site-logo {
    width: min(112px, 28vw);
  }

  .hero-card h2 { font-size: 2.2rem; }

  .results-table,
  .week-table,
  .results-table thead,
  .week-table thead,
  .results-table tbody,
  .week-table tbody,
  .results-table tr,
  .week-table tr,
  .results-table td,
  .week-table td,
  .results-table th,
  .week-table th {
    display: block;
    width: 100%;
  }

  .results-table thead,
  .week-table thead {
    display: none;
  }

  .results-table tr,
  .week-table tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .results-table td,
  .week-table td {
    border: 0;
    padding: 6px 0;
  }
}


/* v1.2.1 header logo fix */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(9, 4, 18, 0.88);
  border-bottom: 1px solid rgba(255, 120, 0, 0.28);
}

.branding.branding--centered {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 10px 0 8px !important;
  text-align: center !important;
}

.site-logo-wrap.site-logo-wrap--centered {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.site-logo-link.site-logo-link--centered {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: auto !important;
  line-height: 0;
}

.site-logo-link.site-logo-link--centered::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 224, 130, 0.9) 0%, rgba(255, 107, 0, 0.56) 34%, rgba(255, 45, 0, 0.18) 62%, transparent 74%);
  filter: blur(14px);
  animation: trt-fire-glow 1.8s ease-in-out infinite alternate;
  pointer-events: none;
}

.site-logo.site-logo--small {
  position: relative;
  z-index: 1;
  display: block;
  width: 104px !important;
  max-width: 104px !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 auto !important;
  filter: drop-shadow(0 0 16px rgba(255, 80, 0, 0.58));
  animation: trt-logo-float 3s ease-in-out infinite;
}

.site-brand-copy.site-brand-copy--centered {
  min-width: 0;
}

.site-brand-copy--centered .u2-microcopy {
  margin: 0;
  font-size: 0.78rem;
  color: #ffd1c0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 760px) {
  .branding.branding--centered {
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .site-logo.site-logo--small {
    width: 84px !important;
    max-width: 84px !important;
  }

  .site-logo-link.site-logo-link--centered::before {
    width: 72px;
    height: 72px;
  }
}


.week-accordion {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.week-accordion + .week-accordion {
  margin-top: 14px;
}

.week-accordion summary {
  list-style: none;
  cursor: pointer;
}

.week-accordion summary::-webkit-details-marker {
  display: none;
}

.week-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
}

.week-label-main {
  min-width: 0;
}

.week-label h4 {
  margin: 0 0 4px;
}

.week-toggle {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border-right: 2px solid #ffd77a;
  border-bottom: 2px solid #ffd77a;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-right: 6px;
}

.week-accordion[open] .week-toggle {
  transform: rotate(225deg);
  margin-top: 8px;
}

.week-accordion-body {
  padding: 0 20px 18px;
}

.trt-week-admin-accordion {
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 8px;
  overflow: hidden;
}

.trt-week-admin-accordion summary {
  cursor: pointer;
  padding: 12px 14px;
}

.trt-week-admin-accordion table {
  margin: 0;
}


.top-strip-shell {
  padding-top: 28px;
  padding-bottom: 10px;
}

.top-strip {
  position: relative;
  overflow: hidden;
}

.top-strip::before {
  content: "";
  position: absolute;
  inset: auto auto -80px -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 0, 0.22), transparent 72%);
  pointer-events: none;
}

.top-strip-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.top-strip-heading h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.top-strip-kicker {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 90, 0, 0.12);
  border: 1px solid rgba(255, 138, 41, 0.35);
  color: #ffe2c2;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.top-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.top-strip-card {
  position: relative;
  padding: 20px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.top-strip-card h3 {
  margin: 10px 0 6px;
  font-size: 1.2rem;
}

.top-strip-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.08);
}

.top-strip-points {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  line-height: 1;
}

.top-strip-points span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.top-strip-rank-1 {
  border-color: rgba(255, 212, 0, 0.28);
  box-shadow: 0 0 28px rgba(255, 166, 0, 0.15), inset 0 1px 0 rgba(255,255,255,0.06);
}
.top-strip-rank-1 .top-strip-rank {
  background: linear-gradient(135deg, rgba(255,212,0,0.32), rgba(255,102,0,0.24));
}

.top-strip-rank-2 {
  border-color: rgba(255, 108, 45, 0.22);
}
.top-strip-rank-2 .top-strip-rank {
  background: linear-gradient(135deg, rgba(255,110,0,0.22), rgba(255,70,70,0.16));
}

.top-strip-rank-3 {
  border-color: rgba(255, 255, 255, 0.12);
}
.top-strip-rank-3 .top-strip-rank {
  background: rgba(255,255,255,0.1);
}

.top-strip-empty {
  margin-top: 10px;
}


/* v1.2.4 top 3 centering + overtake animation */
.top-strip-heading {
  display: block !important;
  text-align: center !important;
  margin-bottom: 24px;
}

.top-strip-heading h2 {
  width: 100%;
  text-align: center !important;
  margin: 0 auto !important;
  display: block;
  text-shadow: 0 0 16px rgba(255, 98, 0, 0.28);
}

.top-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
  justify-content: center !important;
  gap: 18px;
}

.top-strip-card {
  text-align: center;
  transform-origin: center center;
  will-change: transform;
}

.top-strip-rank,
.top-strip-card h3,
.top-strip-points {
  margin-left: auto;
  margin-right: auto;
}

.top-strip-card.is-overtake,
.score-row.is-overtake {
  z-index: 2;
}

@media (max-width: 760px) {
  .top-strip-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* v1.3.0 live refresh polish */
.top-strip-heading h2 { text-align: center !important; }
.top-strip-grid { justify-content: center !important; }
.top-strip-card, .score-row { transition: transform 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease; }
.week-accordion-body { overflow: hidden; }


/* v1.5.0 podium layout + animated swap polish */
.top-strip {
  padding: 28px 24px 26px;
}

.top-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 280px));
  grid-template-areas: "second first third";
  justify-content: center !important;
  align-items: end;
  gap: 18px;
  max-width: 940px;
  margin: 0 auto;
}

.top-strip-card {
  min-height: 176px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.top-strip-rank-1 {
  grid-area: first;
  transform: translateY(-18px) scale(1.06);
  border-color: rgba(255, 215, 0, 0.42);
  box-shadow: 0 0 32px rgba(255, 186, 0, 0.20), inset 0 1px 0 rgba(255,255,255,0.08);
}
.top-strip-rank-1 .top-strip-rank {
  background: linear-gradient(135deg, rgba(255,215,0,0.42), rgba(255,138,0,0.28));
}

.top-strip-rank-2 {
  grid-area: second;
  border-color: rgba(214, 221, 235, 0.34);
  box-shadow: 0 0 24px rgba(195, 205, 225, 0.12), inset 0 1px 0 rgba(255,255,255,0.05);
}
.top-strip-rank-2 .top-strip-rank {
  background: linear-gradient(135deg, rgba(210,218,232,0.36), rgba(125,140,168,0.26));
}

.top-strip-rank-3 {
  grid-area: third;
  border-color: rgba(205, 127, 50, 0.34);
  box-shadow: 0 0 24px rgba(205, 127, 50, 0.14), inset 0 1px 0 rgba(255,255,255,0.04);
}
.top-strip-rank-3 .top-strip-rank {
  background: linear-gradient(135deg, rgba(205,127,50,0.34), rgba(135,74,29,0.28));
}

.top-strip-card.is-overtake {
  z-index: 3;
}

.top-strip-card[data-rank="1"] {
  animation: trt-podium-leader-glow 1.8s ease-in-out infinite alternate;
}

@keyframes trt-podium-leader-glow {
  0% {
    box-shadow: 0 0 24px rgba(255, 186, 0, 0.14), inset 0 1px 0 rgba(255,255,255,0.06);
  }
  100% {
    box-shadow: 0 0 36px rgba(255, 186, 0, 0.24), inset 0 1px 0 rgba(255,255,255,0.10);
  }
}

@media (max-width: 760px) {
  .top-strip {
    padding: 22px 18px 20px;
  }

  .top-strip-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "first"
      "second"
      "third";
    max-width: 480px;
  }

  .top-strip-rank-1 {
    transform: none;
  }
}


/* v1.6.0 actual podium blocks + lead take animation */
.top-strip-grid.top-strip-grid--podium {
  grid-template-columns: repeat(3, minmax(180px, 260px));
  grid-template-areas: "second first third";
  align-items: end;
  gap: 22px;
}

.top-strip-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  min-height: 0;
  justify-content: flex-end;
}

.top-strip-card-inner {
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 20px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  text-align: center;
  backdrop-filter: blur(6px);
}

.top-strip-pedestal {
  width: calc(100% - 24px);
  margin: -2px auto 0;
  border-radius: 18px 18px 12px 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 0;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 12px 24px rgba(0,0,0,0.28);
}

.top-strip-pedestal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03) 26%, rgba(8,6,16,0.55) 100%);
}

.top-strip-pedestal::after {
  content: "";
  position: absolute;
  inset: auto 16px 10px 16px;
  height: 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.18);
  filter: blur(6px);
}

.top-strip-pedestal-rank {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.82);
  text-shadow: 0 0 18px rgba(255,255,255,0.12);
}

.top-strip-rank-1 .top-strip-card-inner {
  border-color: rgba(255, 215, 0, 0.42);
  box-shadow: 0 0 32px rgba(255, 186, 0, 0.20), inset 0 1px 0 rgba(255,255,255,0.08);
}
.top-strip-rank-1 .top-strip-rank {
  background: linear-gradient(135deg, rgba(255,215,0,0.42), rgba(255,138,0,0.28));
}
.top-strip-rank-1 .top-strip-pedestal {
  height: 134px;
  background: linear-gradient(180deg, rgba(255,224,130,0.45), rgba(255,168,0,0.28) 26%, rgba(82,44,0,0.65) 100%);
  border-color: rgba(255, 215, 0, 0.36);
  box-shadow: 0 0 28px rgba(255, 186, 0, 0.22), inset 0 1px 0 rgba(255,255,255,0.08), 0 12px 24px rgba(0,0,0,0.28);
}
.top-strip-rank-1 .top-strip-pedestal-rank {
  color: rgba(64, 34, 0, 0.42);
}

.top-strip-rank-2 .top-strip-card-inner {
  border-color: rgba(214, 221, 235, 0.34);
  box-shadow: 0 0 24px rgba(195, 205, 225, 0.12), inset 0 1px 0 rgba(255,255,255,0.05);
}
.top-strip-rank-2 .top-strip-rank {
  background: linear-gradient(135deg, rgba(210,218,232,0.36), rgba(125,140,168,0.26));
}
.top-strip-rank-2 .top-strip-pedestal {
  height: 104px;
  background: linear-gradient(180deg, rgba(226,233,243,0.34), rgba(173,184,202,0.22) 24%, rgba(58,68,84,0.68) 100%);
  border-color: rgba(214, 221, 235, 0.30);
}
.top-strip-rank-2 .top-strip-pedestal-rank {
  color: rgba(32, 38, 48, 0.4);
}

.top-strip-rank-3 .top-strip-card-inner {
  border-color: rgba(205, 127, 50, 0.34);
  box-shadow: 0 0 24px rgba(205, 127, 50, 0.14), inset 0 1px 0 rgba(255,255,255,0.04);
}
.top-strip-rank-3 .top-strip-rank {
  background: linear-gradient(135deg, rgba(205,127,50,0.34), rgba(135,74,29,0.28));
}
.top-strip-rank-3 .top-strip-pedestal {
  height: 86px;
  background: linear-gradient(180deg, rgba(205,127,50,0.34), rgba(128,75,34,0.24) 24%, rgba(58,30,14,0.72) 100%);
  border-color: rgba(205, 127, 50, 0.32);
}
.top-strip-rank-3 .top-strip-pedestal-rank {
  color: rgba(46, 24, 10, 0.42);
}

.top-strip-rank-1 { grid-area: first; }
.top-strip-rank-2 { grid-area: second; }
.top-strip-rank-3 { grid-area: third; }

.top-strip-card[data-rank="1"] .top-strip-card-inner {
  animation: trt-podium-leader-glow 1.8s ease-in-out infinite alternate;
}

.top-strip-card.lead-take .top-strip-card-inner {
  animation: trt-lead-take-bounce 1s cubic-bezier(.2,.9,.2,1), trt-lead-take-glow 1.6s ease-in-out 1;
}

.top-strip-card.lead-take .top-strip-pedestal {
  animation: trt-lead-pedestal-flare 1.4s ease-out 1;
}

@keyframes trt-lead-take-bounce {
  0% { transform: translateY(0) scale(1); }
  28% { transform: translateY(-18px) scale(1.06); }
  52% { transform: translateY(4px) scale(0.99); }
  72% { transform: translateY(-6px) scale(1.02); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes trt-lead-take-glow {
  0% { box-shadow: 0 0 32px rgba(255, 186, 0, 0.20), inset 0 1px 0 rgba(255,255,255,0.08); }
  45% { box-shadow: 0 0 56px rgba(255, 214, 51, 0.5), 0 0 90px rgba(255, 119, 0, 0.22), inset 0 1px 0 rgba(255,255,255,0.14); }
  100% { box-shadow: 0 0 32px rgba(255, 186, 0, 0.20), inset 0 1px 0 rgba(255,255,255,0.08); }
}

@keyframes trt-lead-pedestal-flare {
  0% { filter: brightness(1); }
  35% { filter: brightness(1.2); }
  100% { filter: brightness(1); }
}

@media (max-width: 760px) {
  .top-strip-grid.top-strip-grid--podium {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "first"
      "second"
      "third";
    max-width: 420px;
  }

  .top-strip-pedestal {
    width: calc(100% - 18px);
  }
}


/* v1.7.0 podium polish */
.top-strip-rank-1 .top-strip-card-inner,
.top-strip-rank-1 .top-strip-pedestal {
  position: relative;
  overflow: hidden;
}

.top-strip-rank-1 .top-strip-card-inner::after,
.top-strip-rank-1 .top-strip-pedestal::before {
  background-size: 220% 100%;
}

.top-strip-rank-1 .top-strip-card-inner::after {
  content: "";
  position: absolute;
  inset: -10% -40%;
  background: linear-gradient(110deg, rgba(255,255,255,0) 24%, rgba(255,244,190,0.04) 36%, rgba(255,255,255,0.32) 48%, rgba(255,205,88,0.12) 58%, rgba(255,255,255,0) 70%);
  transform: translateX(-65%) skewX(-18deg);
  animation: trt-shimmer-sweep 3.6s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

.top-strip-card[data-rank="1"] .top-strip-card-inner {
  animation: trt-podium-leader-glow 1.5s ease-in-out infinite alternate;
}

.top-strip-card.lead-take .top-strip-card-inner {
  animation: trt-lead-take-bounce 1.1s cubic-bezier(.2,.9,.2,1), trt-lead-take-glow 1.8s ease-in-out 1;
}

.top-strip-card.lead-take .top-strip-pedestal {
  animation: trt-lead-pedestal-flare 1.6s ease-out 1;
}

.top-strip-card.lead-take .top-strip-card-inner::after {
  animation-duration: 1.1s;
}

@keyframes trt-shimmer-sweep {
  0% { transform: translateX(-78%) skewX(-18deg); opacity: 0; }
  14% { opacity: 0.22; }
  42% { opacity: 0.62; }
  60% { opacity: 0.18; }
  100% { transform: translateX(82%) skewX(-18deg); opacity: 0; }
}

@keyframes trt-lead-take-bounce {
  0% { transform: translateY(0) scale(1); }
  22% { transform: translateY(-24px) scale(1.1); }
  42% { transform: translateY(6px) scale(0.98); }
  60% { transform: translateY(-12px) scale(1.05); }
  78% { transform: translateY(2px) scale(1); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes trt-lead-take-glow {
  0% { box-shadow: 0 0 32px rgba(255, 186, 0, 0.20), inset 0 1px 0 rgba(255,255,255,0.08); }
  30% { box-shadow: 0 0 72px rgba(255, 214, 51, 0.62), 0 0 120px rgba(255, 119, 0, 0.28), inset 0 1px 0 rgba(255,255,255,0.18); }
  100% { box-shadow: 0 0 32px rgba(255, 186, 0, 0.20), inset 0 1px 0 rgba(255,255,255,0.08); }
}

@keyframes trt-lead-pedestal-flare {
  0% { filter: brightness(1); }
  30% { filter: brightness(1.28); }
  62% { filter: brightness(1.08); }
  100% { filter: brightness(1); }
}


.branding--centered {
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.site-logo--small {
  width: min(110px, 18vw);
  min-width: 72px;
}

.site-brand-copy--centered {
  text-align: center;
}

.trt-gate-body {
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 100, 0, 0.22), transparent 30%),
    radial-gradient(circle at 80% 15%, rgba(255, 210, 0, 0.18), transparent 25%),
    radial-gradient(circle at 50% 100%, rgba(255, 50, 0, 0.16), transparent 35%),
    linear-gradient(180deg, #07020d, #140622 55%, #090311);
}

.trt-gate-bg {
  position: fixed;
  inset: 0;
  background:
    repeating-linear-gradient(120deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 18px),
    radial-gradient(circle at center, rgba(255, 135, 20, 0.14), transparent 35%);
  filter: blur(0.5px);
  animation: trt-gate-drift 18s linear infinite;
}

.trt-gate-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.trt-gate-card {
  width: min(560px, 100%);
  padding: 36px;
  text-align: center;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(18, 11, 31, 0.92), rgba(12, 7, 20, 0.96));
  border: 1px solid rgba(255, 164, 95, 0.22);
  box-shadow: 0 22px 80px rgba(0,0,0,0.48), 0 0 40px rgba(255, 112, 20, 0.18);
}

.trt-gate-logo {
  width: 116px;
  height: auto;
  display: block;
  margin: 0 auto 16px;
  filter: drop-shadow(0 0 22px rgba(255, 98, 0, 0.65));
  animation: trt-logo-float 3s ease-in-out infinite;
}

.trt-gate-kicker {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  color: #ffd6a8;
}

.trt-gate-card h1 {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trt-gate-copy {
  margin: 0 0 20px;
  color: var(--muted);
}

.trt-gate-error {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 60, 60, 0.12);
  border: 1px solid rgba(255, 90, 90, 0.2);
  color: #ffd4d4;
}

.trt-gate-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.trt-gate-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-size: 1rem;
}

.trt-gate-form input:focus {
  outline: none;
  border-color: rgba(255, 170, 82, 0.7);
  box-shadow: 0 0 0 4px rgba(255, 136, 34, 0.12);
}

.trt-gate-form button {
  min-height: 54px;
  border: 0;
  border-radius: 16px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #130811;
  cursor: pointer;
  background: linear-gradient(135deg, #ffd86e, #ff7a00);
  box-shadow: 0 10px 30px rgba(255, 112, 20, 0.32);
}

@keyframes trt-gate-drift {
  from { transform: translate3d(0,0,0); }
  50% { transform: translate3d(0,-10px,0); }
  to { transform: translate3d(0,0,0); }
}
.u2-awards {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 30px auto;
    max-width: 900px;
}

.u2-award {
    flex: 1;
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    text-align: center;
    border-radius: 10px;

    /* subtle glow */
    box-shadow: 0 0 10px rgba(255,50,50,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.u2-award:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(255,50,50,0.4);
}

.u2-award h3 {
    font-size: 16px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.u2-award-name {
    font-size: 18px;
    font-weight: bold;
    color: #ff3c3c;
}
