.event-nav-brand {
  gap: 0.52rem;
  min-width: max-content;
}
.event-nav-name {
  color: #f7f9ff;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0;
}
.event-nav-type {
  padding: 0.18rem 0.38rem;
  border: 1px solid rgba(22, 217, 245, 0.32);
  border-radius: 0.38rem;
  color: #8cefff;
  background: rgba(22, 217, 245, 0.055);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.presented-by {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: #b8c5d8;
}
.presented-by img {
  width: 42px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(40, 92, 255, 0.2));
}
.presented-by > div {
  display: grid;
  gap: 0.05rem;
}
.presented-by strong {
  color: #e5ebf6;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}
.presented-by span {
  color: #718099;
  font-size: 0.58rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.event-wordmark {
  display: block;
  width: min(100%, 430px);
  max-height: 180px;
  object-fit: contain;
  border-radius: 0.7rem;
}
.tracks-section {
  padding-top: 4.6rem;
}

.team-overview-card {
  padding: 1.5rem;
}
.team-heading {
  align-items: center;
}
.team-heading h2 {
  margin: 0.25rem 0 0;
}
.team-overline {
  color: var(--cyan);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.team-members-panel {
  margin-top: 1.3rem;
  border: 1px solid var(--border);
  border-radius: 0.78rem;
  background: rgba(5, 10, 19, 0.5);
}
.team-members-panel > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.9rem;
  color: #dce6f7;
  font-size: 0.84rem;
  font-weight: 800;
}
.team-members-panel > summary strong {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(22, 217, 245, 0.08);
  color: var(--cyan);
  font-size: 0.75rem;
}
.team-members-panel[open] > summary {
  border-bottom: 1px solid var(--border);
}
.team-members-panel .member-list {
  margin: 0.7rem;
}
.form-intro {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.invite-share {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.15rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.78rem;
  background: rgba(5, 10, 19, 0.5);
}
.invite-share-copy {
  display: grid;
  gap: 0.18rem;
}
.invite-share-copy strong {
  font-size: 0.88rem;
  color: #edf3ff;
}
.invite-share-copy span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}
.invite-share-row {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.invite-share-row input {
  flex: 1;
  min-width: 0;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.78rem;
}
.invite-share-row .btn {
  white-space: nowrap;
}

.admin-team-directory {
  display: grid;
  gap: 0.8rem;
}
.admin-team-card {
  padding: 0;
  overflow: hidden;
}
.admin-team-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  transition: background 0.16s ease;
}
.admin-team-summary:hover {
  background: rgba(255, 255, 255, 0.025);
}
.admin-team-primary {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}
.team-index {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 0.58rem;
  color: #7f90aa;
  font-size: 0.72rem;
  font-weight: 800;
}
.admin-team-primary > div {
  display: grid;
  gap: 0.2rem;
}
.admin-team-primary strong {
  color: #f3f7ff;
}
.admin-team-primary small {
  color: var(--muted);
}
.admin-team-summary-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.team-expand-label {
  color: #8ea0bb;
  font-size: 0.75rem;
  font-weight: 700;
}
.admin-team-card[open] .team-expand-label {
  color: var(--cyan);
}
.admin-team-body {
  padding: 0 1.1rem 1.1rem;
  border-top: 1px solid var(--border);
  background: rgba(4, 9, 17, 0.34);
}
.admin-team-body-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0 0.7rem;
  color: #91a2bc;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.admin-team-body-head strong {
  color: #dfe8f7;
  font-size: 0.74rem;
}
.admin-member-list {
  display: grid;
  border: 1px solid var(--border);
  border-radius: 0.72rem;
  overflow: hidden;
}
.admin-member-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.78rem 0.85rem;
  background: rgba(255, 255, 255, 0.015);
  border-bottom: 1px solid var(--border);
}
.admin-member-row:last-child {
  border-bottom: 0;
}
.admin-member-identity {
  display: grid;
  gap: 0.18rem;
}
.admin-member-identity strong {
  font-size: 0.9rem;
}
.admin-member-identity span {
  color: var(--muted);
  font-size: 0.78rem;
}
.admin-member-badges {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.member-role {
  padding: 0.26rem 0.48rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #9eacc0;
  font-size: 0.67rem;
  font-weight: 750;
}
.member-role.captain {
  background: rgba(22, 217, 245, 0.08);
  color: #7ceeff;
}
.member-role.admin {
  background: rgba(99, 54, 255, 0.12);
  color: #baabff;
}
.member-role.banned {
  background: rgba(255, 79, 122, 0.1);
  color: #ff9ab2;
}
.admin-team-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.9rem;
}
.team-empty {
  padding: 1.35rem;
}

.production-footer {
  padding: 1.45rem 0;
}
.production-footer-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.footer-event {
  display: grid;
  gap: 0.14rem;
}
.footer-event strong {
  color: #f4f7ff;
  font-size: 0.84rem;
}
.footer-event span {
  color: #7f8ca1;
  font-size: 0.7rem;
}
.footer-line {
  justify-self: center;
  color: #8390a5;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.footer-host {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.52rem;
  color: #aab6c8;
}
.footer-host img {
  width: 34px;
  height: 26px;
  object-fit: contain;
}
.footer-host strong {
  font-size: 0.78rem;
  letter-spacing: 0.025em;
}

@media (max-width: 980px) {
  .production-footer-wrap {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .footer-line,
  .footer-host {
    justify-self: start;
  }
}
@media (max-width: 700px) {
  .admin-team-summary,
  .admin-member-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .admin-team-summary-meta {
    width: 100%;
    justify-content: space-between;
  }
  .admin-member-badges {
    justify-content: flex-start;
  }
  .invite-share-row {
    align-items: stretch;
    flex-direction: column;
  }
  .invite-share-row .btn {
    width: 100%;
  }
  .production-footer-wrap {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
}

/* Public landing page */
html {
  scroll-behavior: smooth;
}
.landing-page {
  overflow-x: hidden;
  background: #030914;
}
.landing-page:before {
  display: none;
}
.landing-page .container {
  width: min(1240px, calc(100% - 3rem));
}
.landing-header {
  background: rgba(3, 9, 20, 0.78);
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    backdrop-filter 200ms ease;
  animation: landing-nav-enter 350ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.landing-header.scrolled {
  background: rgba(3, 10, 22, 0.98);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: rgba(55, 190, 255, 0.2);
}
.landing-header .nav-wrap {
  min-height: 70px;
}
.landing-hero {
  position: relative;
  min-height: 515px;
  overflow: hidden;
  border-bottom: 1px solid rgba(48, 160, 224, 0.22);
  isolation: isolate;
}
.landing-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(47, 125, 201, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 125, 201, 0.16) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to right, #000, rgba(0, 0, 0, 0.3), transparent 86%);
}
.landing-hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(500px, 1.15fr);
  align-items: stretch;
  height: 515px;
}
.landing-hero-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  max-width: 620px;
  padding: 4rem 2.5rem 4rem 0;
}
.landing-presenter {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #d5deeb;
  font-size: 0.86rem;
}
.landing-presenter img {
  width: 42px;
  height: 30px;
  object-fit: contain;
}
.landing-presenter strong {
  color: #fff;
}
.landing-title-row {
  display: flex;
  align-items: flex-end;
  gap: 0.8rem;
  margin-top: 1.3rem;
}
.landing-title-row h1 {
  margin: 0;
  color: #fff;
  font-size: 4.8rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.94;
  text-transform: uppercase;
}
.landing-title-row h1 strong {
  color: #18c8f0;
  font-weight: inherit;
}
.landing-ctf-badge {
  margin-bottom: 0.35rem;
  padding: 0.38rem 0.5rem;
  border: 1px solid #19d5ee;
  border-radius: 6px;
  color: #67eafa;
  font-size: 0.86rem;
  font-weight: 850;
}
.landing-lead {
  max-width: 560px;
  margin: 1rem 0 0;
  color: #d2dbea;
  font-size: 1.03rem;
  line-height: 1.65;
}
.landing-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
}
.landing-cta {
  min-width: 165px;
  border-radius: 7px;
}
.landing-cta .cta-arrow {
  margin-left: 0.55rem;
  transition: transform 170ms ease;
}
.landing-cta:hover .cta-arrow,
.landing-cta:focus-visible .cta-arrow {
  transform: translateX(4px);
}
.landing-hero-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-inline: 1px solid rgba(49, 129, 222, 0.18);
  transition:
    transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 500ms ease;
}
.landing-hero-visual:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #030914 0%, transparent 28%, transparent 82%, rgba(3, 9, 20, 0.5));
  pointer-events: none;
}
.landing-hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 57%;
}
.landing-hero-visual:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 28px rgba(0, 210, 255, 0.1),
    0 0 42px rgba(139, 61, 255, 0.08);
}

.landing-facts {
  padding: 1.3rem 0;
  border-bottom: 1px solid rgba(49, 129, 222, 0.2);
  background: #040c19;
}
.landing-facts-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.35rem;
}
.landing-facts article {
  min-width: 0;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(64, 139, 215, 0.2);
  border-radius: 7px;
  background: rgba(8, 20, 38, 0.74);
  overflow-wrap: anywhere;
}
.landing-facts span,
.landing-facts strong {
  display: block;
}
.landing-facts span {
  color: #91a1b6;
  font-size: 0.68rem;
}
.landing-facts strong {
  margin-top: 0.3rem;
  color: #eef5ff;
  font-size: 0.78rem;
  line-height: 1.35;
}

.landing-section {
  padding: 4.5rem 0;
  border-bottom: 1px solid rgba(49, 129, 222, 0.18);
  background: #030914;
}
.landing-section:nth-of-type(even) {
  background: #040c18;
}
.landing-section-heading > span {
  color: #20d8ef;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}
.landing-section-heading h2 {
  margin: 0.5rem 0 0.35rem;
  color: #f8fbff;
  font-size: 2rem;
  letter-spacing: 0;
}
.landing-section-heading p {
  max-width: 720px;
  margin: 0;
  color: #9cacc1;
  line-height: 1.6;
}
.awards-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
.awards-heading h2 strong {
  color: #1cd4ef;
  font-size: 2.7rem;
}
.registration-note {
  display: grid;
  gap: 0.22rem;
  width: min(320px, 100%);
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(26, 207, 236, 0.5);
  border-radius: 7px;
  background: rgba(7, 25, 43, 0.82);
}
.registration-note strong {
  color: #20d8ef;
}
.registration-note span {
  color: #a8b6c9;
  font-size: 0.76rem;
  line-height: 1.45;
}
.prize-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.5rem;
}
.prize-card {
  min-width: 0;
  min-height: 190px;
  padding: 1.25rem;
  border: 1px solid rgba(111, 139, 177, 0.34);
  border-radius: 8px;
  background: #081322;
  transition:
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 180ms ease,
    box-shadow 180ms ease;
}
.prize-card > span {
  color: #8fa0b8;
  font-size: 0.68rem;
  text-transform: uppercase;
}
.prize-card h3 {
  margin: 2.2rem 0 0.75rem;
  font-size: 1rem;
}
.prize-card > strong {
  display: block;
  font-size: 1.7rem;
}
.prize-card p {
  margin: 0.35rem 0 0;
  color: #c2ccda;
  font-size: 0.8rem;
  line-height: 1.5;
}
.prize-champion {
  border-color: rgba(238, 184, 26, 0.7);
}
.prize-champion > strong {
  color: #ffd34f;
}
.prize-silver {
  border-color: rgba(188, 206, 228, 0.62);
}
.prize-silver > strong {
  color: #dce9f8;
}
.prize-bronze {
  border-color: rgba(239, 123, 65, 0.68);
}
.prize-bronze > strong {
  color: #ff995e;
}
.prize-participation {
  border-color: rgba(190, 68, 238, 0.68);
}
.prize-participation > strong {
  color: #d887ff;
}
.prize-card:hover,
.prize-card:focus-within {
  transform: translateY(-4px);
}
.prize-champion:hover {
  box-shadow: 0 10px 28px rgba(238, 184, 26, 0.09);
}
.prize-silver:hover {
  box-shadow: 0 10px 28px rgba(188, 206, 228, 0.08);
}
.prize-bronze:hover {
  box-shadow: 0 10px 28px rgba(239, 123, 65, 0.08);
}
.prize-participation:hover {
  box-shadow: 0 10px 28px rgba(190, 68, 238, 0.08);
}

.landing-track-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.4rem;
}
.landing-track-card {
  min-height: 180px;
  padding: 1.1rem;
  border: 1px solid rgba(54, 139, 218, 0.28);
  border-radius: 8px;
  background: #071525;
  transition:
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 180ms ease;
}
.landing-track-card:hover,
.landing-track-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(54, 184, 247, 0.55);
}
.track-number {
  display: block;
  color: #208cff;
  font-size: 1.35rem;
  font-weight: 900;
  transition: transform 180ms ease;
}
.landing-track-card:hover .track-number,
.landing-track-card:focus-within .track-number {
  transform: translateY(-2px);
}
.landing-track-card h3 {
  margin: 1.6rem 0 0.55rem;
  font-size: 0.95rem;
}
.landing-track-card p {
  margin: 0;
  color: #a9b6c7;
  font-size: 0.78rem;
  line-height: 1.6;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.35rem;
}
.process-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0.8rem;
  min-height: 140px;
  padding: 1.1rem;
  border: 1px solid rgba(54, 139, 218, 0.28);
  border-radius: 8px;
  background: #071525;
}
.process-card > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #147dff;
  color: #fff;
  font-weight: 850;
}
.process-card h3 {
  margin: 0.2rem 0 0.45rem;
}
.process-card p {
  margin: 0;
  color: #a8b6c8;
  font-size: 0.83rem;
  line-height: 1.55;
}
.process-connector {
  color: #a7b6ca;
  font-size: 1.2rem;
  font-style: normal;
}

.event-details-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}
.rules-panel,
.dates-panel {
  padding: 1.4rem;
  border: 1px solid rgba(54, 139, 218, 0.28);
  border-radius: 8px;
  background: #071525;
}
.compact-heading h2 {
  font-size: 1.25rem;
}
.rules-panel ul {
  display: grid;
  gap: 0.68rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}
.rules-panel li {
  position: relative;
  padding-left: 1.55rem;
  color: #c1ccda;
  font-size: 0.86rem;
}
.rules-panel li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 0.72rem;
  height: 0.72rem;
  border: 2px solid #1f9cff;
  border-radius: 50%;
}
.timeline {
  position: relative;
  display: grid;
  gap: 1.7rem;
  margin-top: 1.4rem;
  padding-left: 1.7rem;
}
.timeline-line {
  position: absolute;
  left: 0.35rem;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: #f2bd22;
  transform-origin: top;
}
.timeline-entry {
  position: relative;
  display: grid;
  gap: 0.18rem;
}
.timeline-entry i {
  position: absolute;
  left: -1.72rem;
  top: 0.32rem;
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 50%;
  background: #f2bd22;
}
.timeline-entry strong {
  font-size: 0.9rem;
}
.timeline-entry span {
  color: #9dacbf;
  font-size: 0.8rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 3rem;
  align-items: start;
}
.faq-list {
  display: grid;
  gap: 0.55rem;
}
.faq-list details {
  border: 1px solid rgba(54, 139, 218, 0.28);
  border-radius: 7px;
  background: #071525;
}
.faq-list summary {
  position: relative;
  padding: 1rem 2.6rem 1rem 1rem;
  color: #ecf4ff;
  font-weight: 750;
}
.faq-list summary:after {
  content: "+";
  position: absolute;
  right: 1rem;
  color: #20d8ef;
}
.faq-list details[open] summary:after {
  content: "-";
}
.faq-list p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: #9dacbf;
  line-height: 1.55;
}
.landing-announcement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.3rem;
}
.landing-announcement-grid article {
  padding: 1.1rem;
  border: 1px solid rgba(54, 139, 218, 0.28);
  border-radius: 8px;
  background: #071525;
}
.landing-announcement-grid p {
  color: #a8b6c8;
  line-height: 1.55;
}
.landing-footer {
  background: #020711;
}

@keyframes landing-nav-enter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes landing-hero-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes landing-visual-enter {
  from {
    opacity: 0;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.motion-ready .hero-enter {
  animation: landing-hero-enter 450ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.motion-ready .hero-enter-presenter {
  animation-delay: 100ms;
}
.motion-ready .hero-enter-title {
  animation-delay: 180ms;
}
.motion-ready .hero-enter-copy {
  animation-delay: 260ms;
}
.motion-ready .hero-enter-actions {
  animation-delay: 340ms;
}
.motion-ready .hero-enter-visual {
  animation-name: landing-visual-enter;
  animation-duration: 550ms;
  animation-delay: 220ms;
  animation-fill-mode: backwards;
}
.motion-ready .landing-facts article {
  animation: landing-hero-enter 450ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.motion-ready .landing-facts article:nth-child(1) { animation-delay: 300ms; }
.motion-ready .landing-facts article:nth-child(2) { animation-delay: 370ms; }
.motion-ready .landing-facts article:nth-child(3) { animation-delay: 440ms; }
.motion-ready .landing-facts article:nth-child(4) { animation-delay: 510ms; }
.motion-ready .landing-facts article:nth-child(5) { animation-delay: 580ms; }
.motion-ready .landing-facts article:nth-child(6) { animation-delay: 650ms; }
.reveal {
  opacity: 1;
  transform: none;
}
.motion-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(20px);
}
.motion-ready .reveal {
  transition:
    opacity 500ms ease,
    transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.motion-ready .reveal:not(.is-visible) .stagger-item,
.motion-ready .reveal:not(.is-visible) .process-connector,
.motion-ready .reveal:not(.is-visible) .timeline-entry {
  opacity: 0;
  transform: translateY(12px);
}
.motion-ready .reveal.is-visible .stagger-item,
.motion-ready .reveal.is-visible .timeline-entry {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 480ms ease,
    transform 480ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.motion-ready .reveal.is-visible .stagger-item:nth-child(2),
.motion-ready .reveal.is-visible .timeline-entry:nth-child(3) { transition-delay: 70ms; }
.motion-ready .reveal.is-visible .stagger-item:nth-child(3) { transition-delay: 140ms; }
.motion-ready .reveal.is-visible .stagger-item:nth-child(4) { transition-delay: 210ms; }
.motion-ready .reveal.is-visible .stagger-item:nth-child(5) { transition-delay: 280ms; }
.motion-ready .reveal.is-visible .process-card:nth-of-type(2) { transition-delay: 100ms; }
.motion-ready .reveal.is-visible .process-card:nth-of-type(3) { transition-delay: 200ms; }
.motion-ready .reveal.is-visible .process-connector {
  opacity: 1;
  transform: translateX(0);
  transition:
    opacity 350ms ease 180ms,
    transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1) 180ms;
}
.motion-ready .reveal.is-visible .process-connector:nth-of-type(2) {
  transition-delay: 280ms;
}
.motion-ready .reveal:not(.is-visible) .process-connector {
  transform: translateX(-5px);
}
.motion-ready .reveal:not(.is-visible) .timeline-line {
  transform: scaleY(0);
}
.motion-ready .reveal.is-visible .timeline-line {
  transform: scaleY(1);
  transition: transform 650ms ease;
}
.motion-ready .reveal.is-visible .timeline-entry:nth-child(2) {
  transition-delay: 120ms;
}
.motion-ready .reveal.is-visible .timeline-entry:nth-child(3) {
  transition-delay: 240ms;
}

.landing-page a:focus-visible,
.landing-page button:focus-visible,
.landing-page summary:focus-visible {
  outline: 2px solid #68e8fb;
  outline-offset: 3px;
}

@media (max-width: 1120px) {
  .landing-hero-layout {
    grid-template-columns: minmax(380px, 0.9fr) minmax(420px, 1fr);
  }
  .landing-title-row h1 {
    font-size: 4rem;
  }
  .landing-facts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .prize-grid,
  .landing-track-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .landing-track-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .landing-page .container {
    width: min(720px, calc(100% - 2rem));
  }
  .landing-hero-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  }
  .landing-title-row h1 {
    font-size: 2.8rem;
    white-space: nowrap;
  }
  .landing-lead {
    font-size: 0.95rem;
  }
  .awards-heading,
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .awards-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .process-connector {
    display: none;
  }
  .event-details-grid {
    grid-template-columns: 1fr;
  }
  .faq-layout {
    gap: 1.5rem;
  }
}

@media (max-width: 700px) {
  .landing-header .nav-wrap {
    min-height: 64px;
    align-items: center;
    padding: 0.6rem 0;
  }
  .landing-hero {
    min-height: 0;
  }
  .landing-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    min-height: 0;
  }
  .landing-hero-copy {
    z-index: 3;
    width: 100%;
    min-width: 0;
    padding: 3.2rem 0 2.5rem;
  }
  .landing-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
  }
  .landing-title-row h1 {
    font-size: 3rem;
    white-space: normal;
  }
  .landing-ctf-badge {
    margin: 0;
  }
  .landing-lead {
    max-width: 430px;
    color: #e1e8f2;
  }
  .landing-actions {
    max-width: 230px;
    flex-direction: column;
  }
  .landing-actions .btn {
    width: 100%;
  }
  .landing-hero-visual {
    position: relative;
    height: 260px;
    border: 1px solid rgba(49, 129, 222, 0.18);
    border-bottom: 0;
    opacity: 1;
  }
  .landing-hero-visual:before {
    background: linear-gradient(180deg, rgba(3, 9, 20, 0.6), transparent 24%, rgba(3, 9, 20, 0.24));
  }
  .landing-hero-visual img {
    object-position: center 58%;
  }
  .landing-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .landing-section {
    padding: 3.5rem 0;
  }
  .landing-section-heading h2 {
    font-size: 1.6rem;
  }
  .awards-heading h2 strong {
    display: block;
    font-size: 2.2rem;
  }
  .prize-grid,
  .landing-track-grid,
  .landing-announcement-grid {
    grid-template-columns: 1fr;
  }
  .landing-track-card:last-child {
    grid-column: auto;
  }
  .prize-card,
  .landing-track-card {
    min-height: 0;
  }
  .prize-card h3,
  .landing-track-card h3 {
    margin-top: 1.2rem;
  }
  .process-card {
    min-height: 0;
  }
  .rules-panel,
  .dates-panel {
    padding: 1.1rem;
  }
  .production-footer-wrap {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .motion-ready .hero-enter,
  .motion-ready .landing-facts article,
  .motion-ready .reveal,
  .motion-ready .reveal .stagger-item,
  .motion-ready .reveal .process-connector,
  .motion-ready .reveal .timeline-entry {
    opacity: 1 !important;
    transform: none !important;
  }
  .motion-ready .timeline-line {
    transform: scaleY(1) !important;
  }
}

/* Frosted surface system */
.landing-page {
  background:
    linear-gradient(135deg, rgba(10, 42, 66, 0.22), transparent 42%),
    linear-gradient(315deg, rgba(57, 26, 108, 0.15), transparent 38%),
    #030914;
  background-attachment: scroll;
}
.landing-section,
.landing-section:nth-of-type(even) {
  background: rgba(3, 9, 20, 0.68);
}
.landing-section:nth-of-type(even) {
  background: rgba(6, 15, 29, 0.66);
}
.landing-facts {
  background: rgba(4, 12, 25, 0.74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.card,
.table-card,
.auth-card,
.stat,
.empty,
.registration-note,
.landing-facts article,
.prize-card,
.landing-track-card,
.process-card,
.rules-panel,
.dates-panel,
.faq-list details,
.landing-announcement-grid article,
.podium-card,
.challenge-card,
.admin-stat,
.admin-toggle,
.admin-team-card,
.admin-record,
.announcement-card {
  border-color: var(--glass-border);
  background:
    linear-gradient(145deg, var(--glass-highlight), transparent 42%),
    var(--glass);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    var(--glass-shadow);
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
}
.table-card,
.admin-team-card,
.admin-record {
  background:
    linear-gradient(145deg, rgba(225, 245, 255, 0.055), transparent 34%),
    var(--glass-strong);
}
.landing-facts article,
.admin-stat,
.admin-toggle {
  background:
    linear-gradient(145deg, rgba(225, 245, 255, 0.07), transparent 48%),
    var(--glass-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.event-countdown {
  max-width: 580px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(65, 186, 230, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(87, 204, 255, 0.075), transparent 44%),
    rgba(5, 18, 33, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(225, 245, 255, 0.07),
    0 16px 36px rgba(0, 4, 14, 0.22);
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
}
.auth-panel {
  position: relative;
  background:
    linear-gradient(145deg, rgba(19, 52, 78, 0.2), transparent 45%),
    rgba(3, 9, 19, 0.82);
  box-shadow: inset -1px 0 rgba(135, 188, 233, 0.11);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}
.auth-layout input,
.auth-layout .google-button,
input,
textarea,
select {
  background: rgba(5, 13, 25, 0.74);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.admin-status-band,
.admin-page .admin-tabs {
  border-color: var(--glass-border);
  background: rgba(5, 14, 27, 0.72);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}
.challenge-card:hover,
.challenge-card:focus-visible,
.landing-track-card:hover,
.landing-track-card:focus-within,
.faq-list details[open] {
  border-color: rgba(76, 216, 246, 0.52);
  background:
    linear-gradient(145deg, rgba(100, 223, 255, 0.1), transparent 46%),
    rgba(8, 27, 45, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(225, 245, 255, 0.1),
    0 18px 42px rgba(0, 7, 20, 0.34);
}

@media (max-width: 760px) {
  .card,
  .table-card,
  .auth-card,
  .stat,
  .empty,
  .registration-note,
  .landing-facts article,
  .prize-card,
  .landing-track-card,
  .process-card,
  .rules-panel,
  .dates-panel,
  .faq-list details,
  .landing-announcement-grid article,
  .podium-card,
  .challenge-card,
  .admin-stat,
  .admin-toggle,
  .admin-team-card,
  .admin-record,
  .announcement-card,
  .event-countdown,
  .auth-panel,
  .admin-status-band,
  .admin-page .admin-tabs,
  input,
  textarea,
  select {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .landing-page {
    background-attachment: scroll;
  }
}

/* Tactical interaction and motion layer */
.hero-scroll-cue {
  position: absolute;
  z-index: 5;
  bottom: 1rem;
  left: 50%;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(92, 183, 232, 0.34);
  border-radius: 50%;
  background: rgba(4, 14, 27, 0.9);
  color: #b8eefa;
  transform: translateX(-50%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.hero-scroll-cue span {
  animation: hero-cue 1.8s ease-in-out infinite;
}
.hero-scroll-cue:hover {
  border-color: rgba(22, 217, 245, 0.72);
  color: #fff;
}

.landing-hero-visual img {
  transform: none;
  will-change: auto;
}
.event-countdown {
  transform: translate3d(var(--deck-x, 0), var(--deck-y, 0), 0);
  transition: transform 180ms ease-out, border-color 220ms ease, box-shadow 220ms ease;
}
.event-countdown:hover {
  border-color: rgba(67, 218, 245, 0.48);
  box-shadow: inset 0 1px rgba(225, 245, 255, 0.1), 0 20px 44px rgba(0, 5, 16, 0.3);
}

.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(110deg, transparent 15%, rgba(255, 255, 255, 0.18) 48%, transparent 75%);
  content: "";
  transform: translateX(-115%);
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}
.btn:hover::before,
.btn:focus-visible::before {
  transform: translateX(115%);
}

.prize-card,
.landing-track-card,
.process-card,
.rules-panel,
.dates-panel,
.faq-list details,
.landing-announcement-grid article,
.podium-card,
.challenge-card,
.card,
.table-card,
.admin-stat,
.admin-toggle {
  background-image:
    linear-gradient(112deg, transparent 0%, transparent 36%, rgba(188, 236, 255, 0.085) 48%, transparent 60%, transparent 100%),
    linear-gradient(145deg, var(--glass-highlight), transparent 42%);
  background-position: 135% 0, 0 0;
  background-size: 240% 100%, 100% 100%;
  background-repeat: no-repeat;
  transition-property: transform, border-color, box-shadow, background-position;
  transition-duration: 260ms, 220ms, 260ms, 720ms;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (hover: hover) and (pointer: fine) {
  .prize-card:hover,
  .landing-track-card:hover,
  .process-card:hover,
  .rules-panel:hover,
  .dates-panel:hover,
  .faq-list details:hover,
  .landing-announcement-grid article:hover,
  .podium-card:hover,
  .challenge-card:hover,
  .card:hover,
  .admin-stat:hover,
  .admin-toggle:hover {
    background-position: -45% 0, 0 0;
    border-color: rgba(93, 210, 244, 0.46);
  }
  .process-card:hover,
  .rules-panel:hover,
  .dates-panel:hover,
  .landing-announcement-grid article:hover,
  .card:hover,
  .admin-stat:hover,
  .admin-toggle:hover {
    transform: translateY(-3px);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 20px 44px rgba(0, 4, 14, 0.32);
  }
  .process-card:hover > span {
    transform: scale(1.08);
  }
}
.process-card > span {
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms ease;
}
.faq-list details[open] {
  border-color: rgba(71, 221, 247, 0.46);
}
.faq-list details[open] summary {
  color: #fff;
}
.faq-list details[open] p {
  animation: faq-content-enter 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.faq-list summary::after {
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), color 180ms ease;
}
.faq-list details[open] summary::after {
  transform: rotate(180deg);
}

.motion-enhanced .ui-reveal {
  opacity: 0;
  transform: translateY(22px);
}
.motion-enhanced .ui-reveal.auth-visual {
  transform: translateX(20px) scale(0.99);
}
.motion-enhanced .ui-reveal.is-visible {
  opacity: 1;
  transform: none;
  transition:
    opacity 620ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--reveal-order, 0) * 55ms);
}

@keyframes hero-cue {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(3px); }
}
@keyframes faq-content-enter {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .hero-scroll-cue {
    display: none !important;
  }
  .landing-hero-visual img,
  .event-countdown {
    transform: none;
    will-change: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue span,
  .landing-hero-visual img,
  .event-countdown,
  .btn::before,
  .faq-list details[open] p,
  .motion-enhanced .ui-reveal,
  .motion-enhanced .ui-reveal.is-visible {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  .motion-enhanced .ui-reveal {
    opacity: 1;
  }
}

/* Administration control center */
.admin-page {
  background: rgba(2, 7, 14, 0.28);
}
.admin-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.admin-page-header .page-head {
  margin-bottom: 1.1rem;
}
.admin-header-actions {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  min-width: max-content;
}
.admin-page .admin-tabs {
  position: sticky;
  top: 64px;
  z-index: 12;
  margin-bottom: 1.5rem;
  scrollbar-width: thin;
  backdrop-filter: blur(16px);
}
.admin-page .admin-tabs a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
}
.admin-status-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 0;
  margin-bottom: 1rem;
  border-block: 1px solid var(--border);
  background: rgba(5, 12, 22, 0.55);
}
.admin-status-band > div {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
  padding: 1rem 1.1rem;
  border-right: 1px solid var(--border);
}
.admin-status-band > div > span,
.admin-panel-head span,
.admin-stat span {
  color: #8293aa;
  font-size: 0.68rem;
  font-weight: 750;
  text-transform: uppercase;
}
.admin-status-band strong {
  color: #eef5ff;
  font-size: 0.9rem;
  text-transform: capitalize;
}
.admin-status-band small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-status-band > a {
  padding: 1rem 1.15rem;
  white-space: nowrap;
}
.admin-state.live {
  color: #72edbd;
}
.admin-state.upcoming {
  color: #74e8f6;
}
.admin-state.ended {
  color: #9eabc0;
}
.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}
.admin-stat {
  display: grid;
  gap: 0.42rem;
  min-height: 88px;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(8, 17, 30, 0.7);
}
.admin-stat strong {
  align-self: end;
  color: #f5f8ff;
  font-size: 1.8rem;
  line-height: 1;
}
.admin-panel {
  padding: 1.15rem 0 0;
  border-top: 1px solid var(--border2);
}
.admin-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.admin-panel-head > div {
  display: grid;
  gap: 0.3rem;
}
.admin-panel-head h2 {
  margin: 0;
  font-size: 1.2rem;
}
.admin-panel-head > a {
  font-size: 0.8rem;
}
.admin-panel .table-scroll,
.admin-table-card {
  overflow: auto;
}
.admin-empty {
  padding: 2rem 0;
}
.admin-settings-form {
  display: grid;
  gap: 1.4rem;
}
.admin-settings-group {
  display: grid;
  gap: 1rem;
  min-width: 0;
  margin: 0;
  padding: 1.2rem 0 0;
  border: 0;
  border-top: 1px solid var(--border2);
}
.admin-settings-group legend {
  padding: 0;
  color: #f3f7ff;
  font-size: 1.15rem;
  font-weight: 800;
}
.admin-settings-group > p {
  margin: -0.6rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}
.admin-number-field {
  max-width: 280px;
}
.admin-toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
.admin-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(7, 15, 27, 0.6);
  cursor: pointer;
}
.admin-toggle > span:first-child {
  display: grid;
  gap: 0.2rem;
}
.admin-toggle strong {
  color: #edf4ff;
  font-size: 0.88rem;
}
.admin-toggle small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
}
.toggle-control {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 24px;
}
.toggle-control input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.toggle-control i {
  position: absolute;
  inset: 0;
  border: 1px solid #41516a;
  border-radius: 999px;
  background: #111b2b;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.toggle-control i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #8c9bb0;
  transition: transform 160ms ease, background-color 160ms ease;
}
.toggle-control input[type="checkbox"]:checked + i {
  border-color: rgba(22, 217, 245, 0.72);
  background: rgba(22, 217, 245, 0.18);
}
.toggle-control input[type="checkbox"]:checked + i::after {
  background: #67eafa;
  transform: translateX(18px);
}
.toggle-control input[type="checkbox"]:focus-visible + i {
  outline: 2px solid #68e8fb;
  outline-offset: 3px;
}
.admin-form-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.2rem;
}
.admin-user-identity {
  display: grid;
  gap: 0.16rem;
  min-width: 145px;
}
.admin-user-identity span,
.table-id,
.current-admin {
  color: var(--muted);
  font-size: 0.74rem;
}
.status.authority {
  color: #c5b9ff;
  background: rgba(117, 74, 255, 0.14);
}
.admin-row-actions {
  display: flex;
  gap: 0.4rem;
  min-width: max-content;
}
.admin-editor {
  margin-bottom: 1.6rem;
}
.admin-editor .form-stack {
  max-width: 860px;
}
.admin-record-list {
  display: grid;
  border-top: 1px solid var(--border);
}
.admin-record {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}
.admin-record > div {
  display: grid;
  gap: 0.45rem;
}
.admin-record h2,
.admin-record p {
  margin: 0;
}
.admin-record h2 {
  font-size: 1.05rem;
}
.admin-record p {
  max-width: 760px;
  color: #c2cedd;
  font-size: 0.84rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .admin-page-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }
  .admin-status-band {
    grid-template-columns: 1fr 1fr;
  }
  .admin-status-band > div:nth-child(2) {
    border-right: 0;
  }
  .admin-status-band > div:nth-child(3) {
    border-top: 1px solid var(--border);
  }
  .admin-status-band > a {
    border-top: 1px solid var(--border);
  }
  .admin-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .admin-page .admin-tabs {
    position: static;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: 0;
    padding: 4px;
    overflow: visible;
    border-radius: 8px;
  }
  .admin-page .admin-tabs a {
    justify-content: center;
    min-width: 0;
  }
  .admin-header-actions,
  .admin-form-actions {
    width: 100%;
  }
  .admin-header-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .admin-status-band,
  .admin-toggle-grid {
    grid-template-columns: 1fr;
  }
  .admin-status-band > div,
  .admin-status-band > div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .admin-status-band > div:nth-child(3) {
    border-top: 0;
  }
  .admin-status-band > a {
    border-top: 0;
  }
  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-stat:last-child {
    grid-column: 1 / -1;
  }
  .admin-panel-head,
  .admin-record {
    align-items: flex-start;
    flex-direction: column;
  }
  .admin-record form,
  .admin-record .btn,
  .admin-form-actions .btn {
    width: 100%;
  }
  .admin-users-table {
    overflow: visible;
    border: 0;
    background: transparent;
  }
  .admin-users-table table,
  .admin-users-table tbody,
  .admin-users-table tr,
  .admin-users-table td {
    display: block;
    width: 100%;
  }
  .admin-users-table thead {
    display: none;
  }
  .admin-users-table tbody {
    display: grid;
    gap: 0.75rem;
  }
  .admin-users-table tr {
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(8, 17, 30, 0.72);
  }
  .admin-users-table td {
    display: grid;
    grid-template-columns: minmax(92px, 0.38fr) minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    padding: 0.52rem 0;
    border-bottom: 1px solid var(--border);
    overflow-wrap: anywhere;
  }
  .admin-users-table td:last-child {
    border-bottom: 0;
  }
  .admin-users-table td::before {
    content: attr(data-label);
    color: #8293aa;
    font-size: 0.67rem;
    font-weight: 750;
    text-transform: uppercase;
  }
  .admin-users-table .admin-row-actions {
    min-width: 0;
    flex-wrap: wrap;
  }
  .admin-users-table .admin-row-actions form,
  .admin-users-table .admin-row-actions .btn {
    width: auto;
  }
}

/* Event schedule and landing hero refinement */
.landing-hero {
  min-height: 600px;
}
.landing-hero-layout {
  grid-template-columns: minmax(470px, 0.98fr) minmax(500px, 1.02fr);
  gap: clamp(1rem, 2vw, 2rem);
  height: 600px;
}
.landing-hero-copy {
  max-width: 650px;
  padding: 2.8rem 1rem 2.8rem 0;
}
.landing-title-row {
  margin-top: 0.95rem;
}
.landing-title-row h1 {
  font-size: 4.45rem;
}
.landing-lead {
  margin-top: 0.8rem;
}
.event-countdown {
  max-width: 570px;
  margin-top: 1.2rem;
  padding: 1rem 1.1rem 0.95rem;
  border: 1px solid rgba(44, 176, 231, 0.28);
}
.countdown-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #b9c7d9;
  font-size: 0.74rem;
}
.countdown-status strong {
  color: #f2f7ff;
  font-size: 0.76rem;
}
.countdown-status > span:last-child {
  margin-left: auto;
  color: #62e9f7;
  font-size: 0.64rem;
  font-weight: 850;
  text-transform: uppercase;
}
.live-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38d5ef;
  box-shadow: 0 0 0 4px rgba(56, 213, 239, 0.1);
}
.countdown-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  max-width: none;
  margin-top: 0.85rem;
}
.countdown-values > span {
  position: relative;
  display: grid;
  gap: 0.08rem;
  min-width: 0;
  padding: 0 0.8rem;
  border-left: 1px solid rgba(73, 125, 173, 0.26);
  perspective: 140px;
  transition: background-color 180ms ease;
}
.countdown-values > span:first-child {
  border-left: 0;
}
.countdown-values > span:last-child {
  padding-right: 0;
}
.countdown-values strong {
  display: block;
  color: #fff;
  font-size: 1.65rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.countdown-progress {
  width: 100%;
  height: 2px;
  margin-top: 0.72rem;
  overflow: hidden;
  background: rgba(73, 125, 173, 0.2);
}
.countdown-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: #29d7ee;
  transform: scaleX(var(--countdown-cycle, 0));
  transform-origin: left center;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.event-countdown.is-live .countdown-progress span {
  background: #47e6a1;
}
.countdown-values small {
  color: #8394ab;
  font-size: 0.6rem;
  font-weight: 750;
  text-transform: uppercase;
}
.event-countdown > p {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0.72rem 0 0;
  padding-top: 0.68rem;
  border-top: 1px solid rgba(73, 125, 173, 0.2);
  color: #8596ad;
  font-size: 0.65rem;
}
.event-countdown > p strong {
  color: #cbd8e8;
  font-weight: 750;
}
.event-countdown.is-live .live-indicator {
  background: #47e6a1;
  box-shadow: 0 0 0 4px rgba(71, 230, 161, 0.12);
  animation: countdown-pulse 1.4s ease-in-out infinite;
}
.event-countdown.is-live .countdown-status > span:last-child {
  color: #69f0b4;
}
.event-countdown.is-ended .live-indicator {
  background: #77869a;
  box-shadow: none;
}
.event-countdown.is-ended .countdown-status > span:last-child {
  color: #9aa9bb;
}
.countdown-phase-change .countdown-status {
  animation: countdown-phase-enter 500ms ease-out;
}
.landing-actions {
  margin-top: 1.15rem;
}
.landing-facts-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}
.landing-facts article {
  padding: 0.9rem 1rem;
}
.landing-hero-visual img {
  object-position: center 52%;
  animation: none;
  transform: none;
}
.landing-hero-visual {
  margin-block: 1.2rem;
  border: 1px solid rgba(69, 151, 224, 0.28);
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(0, 4, 16, 0.28);
}
.motion-ready .hero-enter-countdown {
  animation-delay: 330ms;
}
.motion-ready .hero-enter-actions {
  animation-delay: 420ms;
}
.registration-locked {
  display: grid;
  gap: 0.35rem;
  margin: 1rem 0;
  padding: 1rem;
  border-left: 2px solid var(--cyan);
  background: rgba(20, 204, 235, 0.07);
}
.registration-locked strong {
  color: #f3f8ff;
}
.registration-locked span {
  color: #aebdd0;
  line-height: 1.5;
}
.timeline-entry:nth-child(4) {
  transition-delay: 320ms;
}

@keyframes countdown-pulse {
  50% { box-shadow: 0 0 0 7px rgba(71, 230, 161, 0); }
}
@keyframes countdown-phase-enter {
  0% { opacity: 0.35; transform: translateY(-5px); }
  55% { opacity: 1; transform: translateY(1px); }
  100% { transform: translateY(0); }
}
@media (max-width: 1120px) {
  .landing-hero-layout {
    grid-template-columns: minmax(420px, 0.96fr) minmax(420px, 1.04fr);
  }
  .landing-title-row h1 {
    font-size: 3.65rem;
  }
  .countdown-values strong {
    font-size: 1.4rem;
  }
  .event-countdown > p {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }
}

@media (max-width: 860px) {
  .landing-hero,
  .landing-hero-layout {
    height: auto;
    min-height: 0;
  }
  .landing-hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .landing-hero-copy {
    width: 100%;
    max-width: 650px;
    padding: 3rem 0 2.5rem;
  }
  .landing-hero-visual {
    height: 360px;
    margin: 0.5rem 0 1rem;
  }
  .landing-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .landing-title-row h1 {
    font-size: 3rem;
  }
  .countdown-values > span {
    padding: 0 0.5rem;
  }
  .countdown-values strong {
    font-size: 1.3rem;
  }
  .event-countdown > p {
    font-size: 0.62rem;
  }
  .landing-hero-visual {
    height: 290px;
    margin-top: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-hero-visual img,
  .event-countdown.is-live .live-indicator,
  .countdown-phase-change .countdown-status {
    animation: none !important;
  }
  .countdown-progress span {
    transition: none !important;
  }
}

/* Shared interface refinement */
.event-nav-brand img {
  width: 38px;
  height: 28px;
}
.page {
  padding: 3rem 0 4rem;
}
.page-head {
  max-width: 760px;
  margin-bottom: 1.4rem;
}
.page-head h1 {
  margin: 0.42rem 0 0.5rem;
  font-size: 2.55rem;
  letter-spacing: 0;
  line-height: 1.08;
}
.page-head p {
  max-width: 680px;
  line-height: 1.6;
}
.card,
.table-card,
.auth-card,
.stat,
.empty {
  border-radius: 8px;
}
.auth-shell {
  padding: 2.8rem 1rem;
}
.auth-card {
  padding: 1.65rem;
}
.auth-card.wide {
  width: min(560px, 100%);
}
.auth-card .event-wordmark {
  max-height: 138px;
  border-radius: 6px;
}
.auth-card h1 {
  margin-bottom: 0.6rem;
  font-size: 2.2rem;
  letter-spacing: 0;
}
.auth-card .form-stack {
  gap: 0.82rem;
}
.auth-switch {
  margin: 0.2rem 0 0;
}
.auth-help {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.45rem 1rem;
  margin-top: -0.2rem;
  font-size: 0.78rem;
}
.auth-help a {
  color: #9edfeb;
}
.google-button {
  gap: 0.7rem;
}
.google-button img {
  flex: none;
  width: 18px;
  height: 18px;
}
.auth-cooldown {
  margin: 0;
  color: #9edfeb;
  font-size: 0.85rem;
  text-align: center;
}

/* Authentication */
.auth-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(1480px, calc(100% - 3rem));
  min-height: min(900px, calc(100svh - 112px));
  margin: 1.5rem auto 2rem;
  background: #050912;
}
.auth-panel {
  display: grid;
  min-width: 0;
  padding: 3rem clamp(2rem, 4vw, 4rem);
  place-items: center;
}
.auth-content {
  width: min(100%, 560px);
}
.auth-content-wide {
  width: min(100%, 600px);
}
.auth-login-layout {
  margin-top: 0.75rem;
}
.auth-login-layout .auth-content {
  transform: translateY(-3rem);
}
.auth-heading {
  margin-bottom: 1.7rem;
}
.auth-overline {
  display: block;
  margin-bottom: 0.65rem;
  color: #79dff0;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.auth-heading h1 {
  margin: 0 0 0.7rem;
  color: #f8faff;
  font-size: 2.65rem;
  line-height: 1.08;
  letter-spacing: 0;
}
.auth-heading p,
.auth-content > p {
  color: #9eacc0;
  line-height: 1.6;
}
.auth-layout .form-stack {
  gap: 1rem;
}
.auth-layout label {
  gap: 0.5rem;
  color: #ecf2fc;
  font-size: 0.88rem;
  font-weight: 750;
}
.auth-layout input {
  min-height: 54px;
  padding: 0.85rem 1rem;
  border-color: rgba(102, 135, 205, 0.52);
  border-radius: 7px;
  background: #090f1b;
}
.auth-layout input::placeholder {
  color: #718098;
  opacity: 1;
}
.auth-layout input:hover {
  border-color: rgba(128, 158, 224, 0.7);
}
.auth-layout input:focus {
  border-color: #27d4ed;
  box-shadow: 0 0 0 3px rgba(39, 212, 237, 0.1);
}
.auth-layout .password-field input {
  padding-right: 3.2rem;
}
.auth-layout .password-visibility {
  right: 0.45rem;
}
.auth-layout .btn {
  min-height: 54px;
  border-radius: 7px;
}
.auth-layout .btn.primary {
  border-color: rgba(125, 136, 255, 0.78);
  background: linear-gradient(105deg, #4e8eff 0%, #7451ff 54%, #c83be5 100%);
  box-shadow: 0 10px 28px rgba(66, 91, 255, 0.2);
}
.auth-layout .btn.primary:hover {
  border-color: rgba(194, 204, 255, 0.92);
  box-shadow: 0 12px 32px rgba(83, 86, 255, 0.3);
  filter: brightness(1.06);
}
.auth-layout .btn.secondary {
  border-color: rgba(74, 127, 218, 0.7);
  background: rgba(10, 17, 30, 0.72);
}
.auth-help {
  margin: -0.15rem 0 0.1rem;
  font-size: 0.78rem;
}
.auth-switch {
  margin: 1.2rem 0 0;
  color: #9eacc0;
  text-align: center;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #7f8da3;
  font-size: 0.7rem;
  text-transform: uppercase;
}
.auth-divider::before,
.auth-divider::after {
  height: 1px;
  flex: 1;
  background: rgba(113, 137, 182, 0.38);
  content: "";
}
.google-button {
  background: rgba(8, 15, 27, 0.82) !important;
}
.auth-layout .field-status {
  margin-top: -0.65rem;
}
.auth-layout .alert {
  border-radius: 7px;
}
.auth-layout .registration-locked {
  margin: 0 0 1.25rem;
}
.auth-action-status {
  min-height: 1.6rem;
  margin-bottom: 1.2rem;
}
.auth-visual {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-left: 1px solid rgba(68, 125, 214, 0.3);
  background: #020713;
}
.auth-visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (min-width: 1121px) and (max-height: 840px) {
  .auth-visual img {
    object-position: center 20%;
  }
  .auth-login-layout .auth-visual img {
    object-position: center 28%;
  }
  .auth-login-layout .auth-content {
    transform: none;
  }
}

@media (max-width: 1120px) {
  .auth-layout {
    --auth-banner-height: clamp(240px, 29vw, 300px);
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-height: 0;
    margin: 0.65rem auto 0;
  }
  .auth-login-layout .auth-content {
    transform: none;
  }
  .auth-panel {
    min-height: calc(100svh - 64px - var(--auth-banner-height));
    padding: 2.5rem 1.5rem 3.5rem;
    place-items: start center;
  }
  .auth-visual {
    order: -1;
    height: var(--auth-banner-height);
    min-height: var(--auth-banner-height);
    border-bottom: 1px solid rgba(68, 125, 214, 0.3);
    border-left: 0;
  }
  .auth-visual img {
    object-position: center 20%;
  }
}

@media (max-width: 520px) {
  .auth-layout {
    --auth-banner-height: 210px;
  }
  .auth-panel {
    padding: 2.2rem 1rem 3rem;
  }
  .auth-heading {
    margin-bottom: 1.45rem;
  }
  .auth-heading h1 {
    font-size: 2rem;
  }
  .auth-help {
    align-items: flex-start;
    flex-direction: column;
  }
}
.nav-links > a.active,
.nav-links > a[aria-current="page"] {
  color: #fff;
  background: rgba(22, 217, 245, 0.08);
  box-shadow: inset 0 -2px rgba(22, 217, 245, 0.72);
}
.admin-tabs {
  gap: 0;
  overflow-x: auto;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(4, 9, 17, 0.56);
}
.admin-tabs a {
  flex: 0 0 auto;
  border: 0;
  border-radius: 5px;
}
.admin-tabs a:hover {
  border: 0;
  background: rgba(255, 255, 255, 0.04);
}
.admin-tabs a.active {
  color: #fff;
  background: rgba(22, 217, 245, 0.1);
  box-shadow: inset 0 -2px var(--cyan);
}
.empty {
  display: grid;
  gap: 0.35rem;
  padding: 2.4rem 1.5rem;
  background: rgba(7, 16, 29, 0.5);
}
.empty strong {
  color: #edf4ff;
  font-size: 1.02rem;
}
.empty span {
  color: var(--muted);
}

.icon-trophy { --icon-source: url("/assets/icons/trophy.svg"); }
.icon-medal { --icon-source: url("/assets/icons/medal.svg"); }
.icon-award { --icon-source: url("/assets/icons/award.svg"); }
.icon-badge { --icon-source: url("/assets/icons/badge-check.svg"); }
.prize-icon,
.rank-icon {
  display: block;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: var(--icon-source) center / contain no-repeat;
  mask: var(--icon-source) center / contain no-repeat;
}

.prize-grid {
  isolation: isolate;
  padding: 0.45rem 0 0.75rem;
}
.prize-card {
  position: relative;
  z-index: 1;
  min-height: 205px;
  overflow: hidden;
}
.prize-card:after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: currentColor;
  opacity: 0.75;
}
.prize-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.prize-card-head > span {
  color: #8fa0b8;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}
.prize-icon {
  width: 48px;
  height: 48px;
  opacity: 0.94;
}
.prize-card h3 {
  margin-top: 1.2rem;
}
.prize-champion { color: #ffd34f; }
.prize-silver { color: #dce9f8; }
.prize-bronze { color: #ff995e; }
.prize-participation { color: #d887ff; }
.prize-card h3,
.prize-card p {
  color: #f4f7ff;
}
.prize-card p {
  color: #c2ccda;
}
@media (hover: hover) and (pointer: fine) {
  .motion-ready .reveal.is-visible .prize-card:hover,
  .prize-card:hover {
    z-index: 4;
    transform: translateY(-4px);
  }
  .motion-ready .reveal.is-visible .landing-track-card:hover {
    transform: translateY(-3px);
  }
}

.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.podium-grid.is-empty {
  display: none;
}
.podium-card {
  position: relative;
  min-width: 0;
  min-height: 154px;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(8, 18, 33, 0.86);
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 180ms ease, box-shadow 180ms ease;
}
.podium-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: currentColor;
}
.podium-rank-1 { color: #ffd34f; border-color: rgba(238, 184, 26, 0.55); }
.podium-rank-2 { color: #dce9f8; border-color: rgba(188, 206, 228, 0.45); }
.podium-rank-3 { color: #ff995e; border-color: rgba(239, 123, 65, 0.5); }
.podium-place {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rank-icon {
  width: 30px;
  height: 30px;
}
.podium-place span {
  font-size: 0.78rem;
  font-weight: 850;
}
.podium-card h2 {
  margin: 0.9rem 0 0.55rem;
  overflow-wrap: anywhere;
  color: #f7faff;
  font-size: 1rem;
}
.podium-score {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}
.podium-score strong {
  font-size: 1.45rem;
}
.podium-score span,
.podium-score small {
  color: #90a0b7;
}
.podium-score small {
  margin-left: auto;
}
@media (hover: hover) and (pointer: fine) {
  .podium-card:hover {
    z-index: 2;
    transform: translateY(-4px) scale(1.015);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
  }
}
.scoreboard-table-card {
  border-radius: 8px;
}
.table-rank {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  min-height: 26px;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: #a9b7c9;
  font-size: 0.76rem;
  font-weight: 850;
}
.table-rank.top-1 { color: #ffd34f; border-color: rgba(238, 184, 26, 0.55); }
.table-rank.top-2 { color: #dce9f8; border-color: rgba(188, 206, 228, 0.45); }
.table-rank.top-3 { color: #ff995e; border-color: rgba(239, 123, 65, 0.5); }
.empty-table-row td {
  height: 180px;
  text-align: center;
}
.empty-table-row strong,
.empty-table-row span {
  display: block;
}
.empty-table-row span {
  margin-top: 0.35rem;
  color: var(--muted);
}

.challenge-group {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 1.25rem;
  margin: 0;
  padding: 1.15rem 0;
  border-top: 1px solid var(--border);
}
.challenge-group:last-child {
  border-bottom: 1px solid var(--border);
}
.challenge-group-head {
  padding: 0.75rem 0;
}
.challenge-group-head span {
  color: var(--cyan);
  font-size: 0.62rem;
  font-weight: 850;
  text-transform: uppercase;
}
.challenge-group-head h2 {
  margin: 0.28rem 0 0.38rem;
  color: #edf4ff;
  font-size: 1rem;
  overflow-wrap: anywhere;
}
.challenge-group-head small {
  color: var(--muted);
}
.challenge-grid {
  grid-template-columns: repeat(auto-fill, minmax(210px, 280px));
  align-items: stretch;
}
.challenge-card {
  min-height: 138px;
  border-radius: 8px;
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 180ms ease, background-color 180ms ease;
}
.challenge-card:hover,
.challenge-card:focus-visible {
  border-color: rgba(22, 217, 245, 0.58);
  background: rgba(11, 25, 43, 0.95);
  transform: translateY(-3px);
}
.announcement-list {
  gap: 0.75rem;
}
.announcement-card {
  border-left: 2px solid rgba(22, 217, 245, 0.58);
}
.announcement-card h2 {
  margin-bottom: 0;
  font-size: 1.08rem;
}
.announcement-card time {
  color: #8d9cb1;
  font-size: 0.76rem;
  white-space: nowrap;
}
.announcement-card p {
  margin: 0.75rem 0 0;
  color: #c5d0df;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .event-nav-brand img {
    width: 34px;
    height: 25px;
  }
  .page {
    padding: 2.2rem 0 3rem;
  }
  .page-head h1 {
    font-size: 2rem;
  }
  .podium-grid,
  .challenge-group {
    grid-template-columns: 1fr;
  }
  .challenge-group {
    gap: 0.65rem;
  }
  .challenge-group-head {
    padding-bottom: 0;
  }
  .challenge-grid {
    grid-template-columns: 1fr;
  }
  .auth-shell {
    padding: 1.5rem 0.75rem;
  }
  .auth-card {
    padding: 1.25rem;
  }
  .auth-card h1 {
    font-size: 1.8rem;
  }
  .announcement-card .split {
    gap: 0.45rem;
  }
  .motion-ready .reveal.is-visible .prize-card:hover,
  .prize-card:hover {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .reveal.is-visible .prize-card:hover,
  .prize-card:hover,
  .podium-card:hover,
  .challenge-card:hover {
    transform: none;
  }
}

/* Components declared later in this file inherit the same glass language. */
.auth-panel {
  background:
    linear-gradient(145deg, rgba(19, 52, 78, 0.2), transparent 45%),
    rgba(3, 9, 19, 0.82);
  box-shadow: inset -1px 0 rgba(135, 188, 233, 0.11);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}
.auth-layout input,
.auth-layout .google-button {
  background: rgba(5, 13, 25, 0.74);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.admin-status-band,
.admin-page .admin-tabs {
  border-color: var(--glass-border);
  background: rgba(5, 14, 27, 0.72);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}
.admin-stat,
.admin-toggle,
.podium-card,
.challenge-card {
  border-color: var(--glass-border);
  background:
    linear-gradient(145deg, var(--glass-highlight), transparent 42%),
    var(--glass);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    var(--glass-shadow);
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
}
.admin-stat,
.admin-toggle {
  background:
    linear-gradient(145deg, rgba(225, 245, 255, 0.07), transparent 48%),
    var(--glass-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.challenge-card:hover,
.challenge-card:focus-visible {
  border-color: rgba(76, 216, 246, 0.52);
  background:
    linear-gradient(145deg, rgba(100, 223, 255, 0.1), transparent 46%),
    rgba(8, 27, 45, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(225, 245, 255, 0.1),
    0 18px 42px rgba(0, 7, 20, 0.34);
}

@media (max-width: 760px) {
  .auth-panel,
  .auth-layout input,
  .auth-layout .google-button,
  .admin-status-band,
  .admin-page .admin-tabs,
  .admin-stat,
  .admin-toggle,
  .podium-card,
  .challenge-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Preserve the light sweep on components whose base rules are declared late. */
.admin-stat,
.admin-toggle,
.podium-card,
.challenge-card {
  background-image:
    linear-gradient(112deg, transparent 0%, transparent 36%, rgba(188, 236, 255, 0.085) 48%, transparent 60%, transparent 100%),
    linear-gradient(145deg, var(--glass-highlight), transparent 42%);
  background-position: 135% 0, 0 0;
  background-size: 240% 100%, 100% 100%;
  background-repeat: no-repeat;
  transition-property: transform, border-color, box-shadow, background-position;
  transition-duration: 260ms, 220ms, 260ms, 720ms;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (hover: hover) and (pointer: fine) {
  .admin-stat:hover,
  .admin-toggle:hover,
  .podium-card:hover,
  .challenge-card:hover,
  .challenge-card:focus-visible {
    background-image:
      linear-gradient(112deg, transparent 0%, transparent 36%, rgba(188, 236, 255, 0.1) 48%, transparent 60%, transparent 100%),
      linear-gradient(145deg, rgba(100, 223, 255, 0.1), transparent 46%);
    background-position: -45% 0, 0 0;
    background-size: 240% 100%, 100% 100%;
  }
}

/* Keep long landing-page scrolls on inexpensive paint-only surfaces. */
.landing-page .landing-facts,
.landing-page .landing-facts article,
.landing-page .prize-card,
.landing-page .landing-track-card,
.landing-page .process-card,
.landing-page .rules-panel,
.landing-page .dates-panel,
.landing-page .faq-list details,
.landing-page .landing-announcement-grid article {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Scrolling wins over decorative hover motion on media-heavy landing regions. */
.is-scrolling .landing-page .landing-hero-visual,
.is-scrolling .landing-page .prize-card,
.is-scrolling .landing-page .landing-track-card,
.is-scrolling .landing-page .process-card,
.is-scrolling .landing-page .rules-panel,
.is-scrolling .landing-page .dates-panel,
.is-scrolling .landing-page .faq-list details,
.is-scrolling .landing-page .landing-announcement-grid article {
  transition: none !important;
}
.is-scrolling .landing-page .landing-hero-visual:hover,
.is-scrolling .landing-page .prize-card:hover,
.is-scrolling .landing-page .landing-track-card:hover,
.is-scrolling .landing-page .process-card:hover,
.is-scrolling .landing-page .rules-panel:hover,
.is-scrolling .landing-page .dates-panel:hover,
.is-scrolling .landing-page .faq-list details:hover,
.is-scrolling .landing-page .landing-announcement-grid article:hover {
  transform: none !important;
  background-position: 135% 0, 0 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), var(--glass-shadow);
}

/* Keep reveal timing uniform so right-column content never trails the scroll. */
.landing-page.motion-ready .hero-enter-visual {
  animation-name: landing-visual-fade;
  animation-delay: 80ms;
}
.landing-page.motion-ready .reveal,
.landing-page.motion-ready .reveal:not(.is-visible),
.landing-page.motion-ready .reveal .stagger-item,
.landing-page.motion-ready .reveal .timeline-entry,
.landing-page.motion-ready .reveal .process-connector {
  transform: none;
}
.landing-page.motion-ready .reveal.is-visible .stagger-item,
.landing-page.motion-ready .reveal.is-visible .timeline-entry,
.landing-page.motion-ready .reveal.is-visible .process-connector {
  transition-delay: 0s !important;
}
@keyframes landing-visual-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
