:root {
  --bg: #0c1d67;
  --bg-soft: #2445b2;
  --bg-elevated: rgba(255, 255, 255, 0.12);
  --panel: rgba(255, 255, 255, 0.14);
  --line: rgba(255, 255, 255, 0.14);
  --text: #eef3ff;
  --muted: #b8c4f1;
  --primary: #2d348f;
  --primary-deep: #232a74;
  --secondary: #f0c808;
  --accent-red: #d62828;
  --accent-green: #0a9f58;
  --info: #5f8fcb;
  --danger: #d1495b;
  --success: #2a9d63;
  --shadow: 0 24px 70px rgba(3, 10, 42, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(240, 200, 8, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(95, 143, 203, 0.22), transparent 26%),
    linear-gradient(135deg, #0a1957 0%, #15348f 42%, #315fc8 100%);
  font-family: "Space Grotesk", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

body.student-theme {
  --bg-elevated: #ffffff;
  --panel: rgba(23, 61, 140, 0.08);
  --line: rgba(35, 87, 184, 0.12);
  --text: #18304f;
  --muted: #5d7394;
  --primary: #2357b8;
  --primary-deep: #173d8c;
  --secondary: #15945c;
  --shadow: 0 20px 50px rgba(31, 68, 134, 0.12);
  background:
    radial-gradient(circle at top left, rgba(123, 194, 255, 0.18), transparent 20%),
    radial-gradient(circle at top right, rgba(21, 148, 92, 0.1), transparent 22%),
    radial-gradient(circle at 85% 22%, rgba(214, 40, 40, 0.08), transparent 18%),
    linear-gradient(180deg, #f9fbff 0%, #eef5ff 52%, #ffffff 100%);
}

body[data-page="landing"] {
  background:
    radial-gradient(circle at 8% -12%, rgba(240, 200, 8, 0.24), rgba(240, 200, 8, 0) 28%),
    radial-gradient(circle at 96% 6%, rgba(122, 182, 255, 0.24), rgba(122, 182, 255, 0) 30%),
    radial-gradient(circle at 82% 86%, rgba(21, 148, 92, 0.18), rgba(21, 148, 92, 0) 34%),
    linear-gradient(140deg, #071447 0%, #0d235f 34%, #1c4fa8 68%, #0e4b69 100%);
}

body[data-page="landing"] .page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.07) 0,
      rgba(255, 255, 255, 0.07) 1px,
      transparent 1px,
      transparent 88px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.055) 0,
      rgba(255, 255, 255, 0.055) 1px,
      transparent 1px,
      transparent 88px
    );
  opacity: 0.28;
}

body[data-page="landing"] .page-shell::after {
  content: "";
  position: fixed;
  inset: -24% -12%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 24% 24%, rgba(214, 40, 40, 0.2), rgba(214, 40, 40, 0) 38%),
    radial-gradient(circle at 78% 18%, rgba(240, 200, 8, 0.16), rgba(240, 200, 8, 0) 34%),
    radial-gradient(circle at 54% 78%, rgba(95, 143, 203, 0.24), rgba(95, 143, 203, 0) 42%);
  filter: blur(34px);
  opacity: 0.5;
}

body[data-page="landing"] .orb-one {
  background: rgba(240, 200, 8, 0.24);
}

body[data-page="landing"] .orb-two {
  background: rgba(122, 182, 255, 0.24);
}

body[data-page="landing"] .orb-three {
  background: rgba(21, 148, 92, 0.18);
}

@media (max-width: 991px) {
  body[data-page="landing"] .page-shell::before {
    opacity: 0.2;
  }

  body[data-page="landing"] .page-shell::after {
    opacity: 0.35;
    filter: blur(24px);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: visible;
}

.orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(30px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.orb-one {
  width: 18rem;
  height: 18rem;
  top: 4rem;
  left: -4rem;
  background: rgba(240, 200, 8, 0.28);
}

.orb-two {
  width: 22rem;
  height: 22rem;
  right: -6rem;
  top: 12rem;
  background: rgba(95, 143, 203, 0.3);
}

.orb-three {
  width: 14rem;
  height: 14rem;
  left: 38%;
  bottom: -4rem;
  background: rgba(214, 40, 40, 0.16);
}

.topbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background:
    linear-gradient(180deg, rgba(9, 23, 82, 0.92), rgba(18, 46, 132, 0.82));
  border-bottom: 1px solid var(--line);
}

body[data-page="landing"] {
  scroll-padding-top: 6.5rem;
}

body[data-page="landing"] section[id] {
  scroll-margin-top: 6.5rem;
}

.topbar::after {
  content: "";
  display: block;
  height: 0.28rem;
  background: linear-gradient(90deg, var(--secondary) 0 38%, var(--accent-red) 38% 56%, var(--accent-green) 56% 72%, #7ab6ff 72% 100%);
}

body.student-theme .topbar {
  background:
    linear-gradient(180deg, rgba(18, 61, 145, 0.98), rgba(40, 99, 198, 0.96));
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

body.student-theme .topbar::after {
  background: linear-gradient(90deg, #ffffff 0 34%, #d62828 34% 56%, #14995b 56% 78%, #7bc2ff 78% 100%);
}

body.student-theme .orb-one {
  background: rgba(123, 194, 255, 0.18);
}

body.student-theme .orb-two {
  background: rgba(35, 87, 184, 0.14);
}

body.student-theme .orb-three {
  background: rgba(214, 40, 40, 0.08);
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  display: block;
  object-fit: contain;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.2rem;
  box-shadow: var(--shadow);
}

.brand-stack {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-copy {
  line-height: 1.05;
}

.brand-copy strong {
  display: block;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.02em;
}

.brand-copy span {
  display: block;
  color: #d7e2ff;
  font-size: 0.85rem;
}

body.student-theme .brand-copy span {
  color: #eef6ff;
}

.nav-link-lite {
  color: var(--muted);
  font-weight: 500;
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-link-lite:hover,
.nav-link-lite.active {
  color: #ffffff;
}

body.student-theme .nav-link-lite {
  color: #deebff;
}

body.student-theme .nav-link-lite.active::after,
body.student-theme .nav-link-lite:hover::after {
  background: linear-gradient(90deg, #ffffff, #7ce1ae);
}

.nav-link-lite.active::after,
.nav-link-lite:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15rem;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent-green));
}

/* Dashboard Menu System */
[data-role-nav] {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem !important;
  padding: 0.34rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(6, 19, 70, 0.34);
  backdrop-filter: blur(8px);
}

[data-role-nav] .nav-link-lite {
  padding: 0.44rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: #eaf2ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

[data-role-nav] .nav-link-lite::after {
  display: none !important;
}

[data-role-nav] .nav-link-lite:hover,
[data-role-nav] .nav-link-lite.active {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.34);
  color: #ffffff;
}

body.student-theme [data-role-nav],
body.admin-theme [data-role-nav] {
  background: rgba(8, 28, 92, 0.36);
  border-color: rgba(255, 255, 255, 0.26);
}

.dashboard-section-menu-wrap {
  position: sticky;
  top: 6rem;
  z-index: 8;
}

.dashboard-section-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0.62rem;
  border-radius: 1rem;
  border: 1px solid rgba(35, 87, 184, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.95));
  box-shadow: 0 14px 30px rgba(10, 30, 84, 0.12);
}

.dashboard-section-menu a {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(35, 87, 184, 0.16);
  background: #ffffff;
  color: #1a3f82;
  padding: 0.46rem 0.78rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.dashboard-section-menu a:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #2357b8, #3f7be0);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(35, 87, 184, 0.25);
}

.dashboard-anchor {
  scroll-margin-top: 7rem;
}

.dashboard-menu {
  position: sticky;
  top: 6rem;
  z-index: 7;
  border-radius: 1rem;
  border: 1px solid rgba(35, 87, 184, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.94));
  box-shadow: 0 14px 30px rgba(9, 32, 92, 0.13);
  padding: 1rem;
}

.dashboard-menu h5 {
  margin-bottom: 0.8rem;
  color: #173d86;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.dashboard-menu .list-group {
  display: grid;
  gap: 0.52rem;
}

.dashboard-menu .list-group-item {
  border: 1px solid rgba(35, 87, 184, 0.14);
  border-radius: 0.78rem !important;
  margin: 0;
  font-weight: 700;
  color: #1f4b8d;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.56rem 0.72rem;
  line-height: 1.2;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dashboard-menu .list-group-item i {
  margin-right: 0.48rem;
}

.dashboard-menu .list-group-item:hover,
.dashboard-menu .list-group-item.active {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #2357b8, #3f7be0);
  color: #ffffff;
  border-color: transparent;
}

.staff-shortcuts {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.44rem;
  padding: 0.32rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 24, 80, 0.34);
}

.staff-shortcuts-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.42rem 0.76rem;
  color: #eef4ff;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.1;
}

.staff-shortcuts-link:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.hero-card,
.glass-card,
.metric-card,
.list-card,
.form-card,
.feature-card,
.role-card,
.timeline-card {
  position: relative;
  z-index: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

body.student-theme .glass-card,
body.student-theme .metric-card,
body.student-theme .list-card,
body.student-theme .form-card,
body.student-theme .timeline-item,
body.student-theme .activity-item {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(249, 252, 255, 0.98));
  border-color: rgba(35, 87, 184, 0.1);
  color: #18304f;
  backdrop-filter: blur(10px);
}

body.student-theme .glass-card,
body.student-theme .metric-card,
body.student-theme .list-card,
body.student-theme .form-card {
  position: relative;
  overflow: hidden;
}

body.student-theme .glass-card::before,
body.student-theme .metric-card::before,
body.student-theme .list-card::before,
body.student-theme .form-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0.28rem;
  background: linear-gradient(90deg, #2357b8 0 52%, #d62828 52% 74%, #15945c 74% 100%);
}

body.student-theme .row > div:nth-child(3n+1) > .metric-card,
body.student-theme .row > div:nth-child(3n+1) > .list-card,
body.student-theme .row > div:nth-child(3n+1) > .form-card {
  background:
    linear-gradient(180deg, #ffffff, #f4f8ff);
}

body.student-theme .row > div:nth-child(3n+2) > .metric-card,
body.student-theme .row > div:nth-child(3n+2) > .list-card,
body.student-theme .row > div:nth-child(3n+2) > .form-card {
  background:
    linear-gradient(180deg, #ffffff, #f8fcfa);
}

body.student-theme .row > div:nth-child(3n) > .metric-card,
body.student-theme .row > div:nth-child(3n) > .list-card,
body.student-theme .row > div:nth-child(3n) > .form-card {
  background:
    linear-gradient(180deg, #ffffff, #fff7f7);
}

.hero-card {
  padding: 3rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.08));
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(95, 143, 203, 0.12), transparent 40%),
    linear-gradient(300deg, rgba(240, 200, 8, 0.1), transparent 35%);
  pointer-events: none;
}

.hero-card-landing::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 20, 71, 0.92) 0%, rgba(8, 20, 71, 0.74) 42%, rgba(8, 20, 71, 0.44) 68%, rgba(8, 20, 71, 0.78) 100%),
    linear-gradient(180deg, rgba(10, 22, 78, 0.16), rgba(10, 22, 78, 0.48)),
    url("../img/academy.jpg") center right / cover no-repeat;
  mix-blend-mode: screen;
  opacity: 0.7;
  pointer-events: none;
}

.feature-card,
.role-card,
.timeline-card,
.metric-card,
.form-card,
.list-card {
  padding: 1.4rem;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.04));
}

.eyebrow {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #e8eeff;
  font-size: 0.9rem;
}

.display-title {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 1rem 0;
}

.lead-copy,
.muted-copy {
  color: var(--muted);
}

body.student-theme .section-heading,
body.student-theme .h1,
body.student-theme .h2,
body.student-theme .h3,
body.student-theme .h4,
body.student-theme .h5,
body.student-theme .h6 {
  color: #173457;
}

body.student-theme .muted-copy,
body.student-theme .small.muted-copy,
body.student-theme .card-copy-strong {
  color: #5d7394;
}

body.student-theme .fw-semibold,
body.student-theme strong {
  color: #173457;
}

.hero-actions,
.chip-row,
.stat-row,
.section-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-primary-soft,
.btn-secondary-soft,
.btn-ghost-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn-primary-soft {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
}

.btn-secondary-soft {
  color: var(--primary-deep);
  background: linear-gradient(135deg, var(--secondary), #f4db71);
}

.btn-ghost-soft {
  color: #ffffff;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.1);
}

body.student-theme .btn-ghost-soft {
  color: #1a4ca8;
  border-color: rgba(35, 87, 184, 0.18);
  background: rgba(255, 255, 255, 0.96);
}

body.student-theme .btn-primary-soft {
  color: #ffffff;
  background: linear-gradient(135deg, #2357b8, #2f7ae5);
  box-shadow: 0 14px 28px rgba(35, 87, 184, 0.18);
}

body.student-theme .btn-secondary-soft {
  color: #ffffff;
  background: linear-gradient(135deg, #15945c, #27b36f);
  box-shadow: 0 14px 28px rgba(21, 148, 92, 0.18);
}

body.student-theme .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-primary-soft:hover,
.btn-secondary-soft:hover,
.btn-ghost-soft:hover {
  transform: translateY(-2px);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline-light:hover {
  border-color: var(--secondary);
  color: #081447;
  background: var(--secondary);
}

.btn-status-review,
.btn-status-verify,
.btn-status-trial,
.btn-status-approve,
.btn-status-admit,
.btn-status-decline,
.btn-status-reset {
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.48rem 0.9rem;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-status-review:hover,
.btn-status-verify:hover,
.btn-status-trial:hover,
.btn-status-approve:hover,
.btn-status-admit:hover,
.btn-status-decline:hover,
.btn-status-reset:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.btn-status-review {
  color: #18356f;
  background: linear-gradient(135deg, #dce9ff, #b7d0ff);
}

.btn-status-verify {
  color: #815d00;
  background: linear-gradient(135deg, #fff1a4, #ffd95d);
}

.btn-status-trial {
  color: #0f5d3a;
  background: linear-gradient(135deg, #d8ffe9, #9ae8bf);
}

.btn-status-approve {
  color: #ffffff;
  background: linear-gradient(135deg, #2d348f, #4a66cf);
}

.btn-status-admit {
  color: #ffffff;
  background: linear-gradient(135deg, #0a9f58, #19bf73);
}

.btn-status-decline {
  color: #ffffff;
  background: linear-gradient(135deg, #c72424, #ef5350);
}

.btn-status-reset {
  color: #1f2554;
  background: linear-gradient(135deg, #f6e7a8, #f0c808);
}

.section-block {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
}

.section-surface {
  position: relative;
  z-index: 1;
  padding: 2rem;
  border-radius: 1.8rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 255, 0.93)),
    linear-gradient(120deg, rgba(240, 200, 8, 0.08), transparent 35%);
  border: 1px solid rgba(45, 52, 143, 0.08);
  box-shadow: 0 24px 60px rgba(8, 20, 71, 0.12);
}

.section-heading {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin-bottom: 0.6rem;
  color: #1f2554;
}

.feature-icon,
.role-icon,
.metric-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.feature-icon {
  background: rgba(95, 143, 203, 0.2);
  color: #2d348f;
  box-shadow: inset 0 0 0 1px rgba(45, 52, 143, 0.08);
}

.role-icon {
  background: rgba(240, 200, 8, 0.18);
  color: #9d7300;
  box-shadow: inset 0 0 0 1px rgba(157, 115, 0, 0.08);
}

.metric-icon {
  background: rgba(255, 255, 255, 0.1);
  color: #dce6ff;
}

.metric-number {
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  margin-bottom: 0.25rem;
  color: #ffffff;
}

.feature-card,
.role-card,
.timeline-card {
  color: #1f2554;
  border: 1px solid rgba(45, 52, 143, 0.08);
  box-shadow: 0 18px 38px rgba(20, 38, 103, 0.08);
}

.feature-card .muted-copy,
.role-card .muted-copy,
.timeline-card .muted-copy,
.section-surface .muted-copy {
  color: #5f6792;
}

.feature-card.feature-blue {
  background:
    linear-gradient(180deg, #ffffff, #f1f6ff),
    linear-gradient(135deg, rgba(95, 143, 203, 0.1), transparent 60%);
}

.feature-card.feature-gold {
  background:
    linear-gradient(180deg, #fffef7, #fff4cf),
    linear-gradient(135deg, rgba(240, 200, 8, 0.14), transparent 60%);
}

.feature-card.feature-crest {
  background:
    linear-gradient(180deg, #ffffff, #f9f6ff),
    linear-gradient(135deg, rgba(214, 40, 40, 0.08), transparent 22%),
    linear-gradient(220deg, rgba(10, 159, 88, 0.08), transparent 26%),
    linear-gradient(90deg, rgba(95, 143, 203, 0.08), transparent 46%);
}

.feature-card.feature-blue .feature-icon {
  background: linear-gradient(135deg, #dfeaff, #bcd3ff);
  color: #2340a0;
}

.feature-card.feature-gold .feature-icon {
  background: linear-gradient(135deg, #fff1a8, #ffd95a);
  color: #8a6300;
}

.feature-card.feature-crest .feature-icon {
  background: linear-gradient(135deg, #ffd7d7, #fff4b8 52%, #d9ffe8);
  color: #22307b;
}

.role-card.role-blue {
  background:
    linear-gradient(180deg, #ffffff, #f3f7ff);
}

.role-card.role-gold {
  background:
    linear-gradient(180deg, #fffdf4, #fff5d9);
}

.role-card.role-crest {
  background:
    linear-gradient(180deg, #fffefe, #f6fbf8),
    linear-gradient(135deg, rgba(10, 159, 88, 0.06), transparent 40%);
}

.role-card.role-blue .role-icon {
  background: linear-gradient(135deg, #d7e5ff, #aac5ff);
  color: #2444a7;
}

.role-card.role-gold .role-icon {
  background: linear-gradient(135deg, #fff1ab, #ffd753);
  color: #8d6500;
}

.role-card.role-crest .role-icon {
  background: linear-gradient(135deg, #d7ffe9, #fff2a5 55%, #ffd4d4);
  color: #197346;
}

.timeline-card.step-blue {
  background:
    linear-gradient(180deg, #ffffff, #eff4ff);
}

.timeline-card.step-gold {
  background:
    linear-gradient(180deg, #fffef6, #fff6d8);
}

.timeline-card.step-red {
  background:
    linear-gradient(180deg, #fffefe, #fff0f0);
}

.timeline-card.step-green {
  background:
    linear-gradient(180deg, #fcfffd, #edf9f1);
}

.timeline-card.step-blue .chip {
  background: linear-gradient(135deg, #d6e6ff, #b7cbff);
  color: #1d3b96;
  border-color: rgba(45, 52, 143, 0.08);
}

.timeline-card.step-gold .chip {
  background: linear-gradient(135deg, #fff0a0, #ffd75b);
  color: #855f00;
  border-color: rgba(157, 115, 0, 0.08);
}

.timeline-card.step-red .chip {
  background: linear-gradient(135deg, #ffd4d4, #ffb1b1);
  color: #a12424;
  border-color: rgba(161, 36, 36, 0.08);
}

.timeline-card.step-green .chip {
  background: linear-gradient(135deg, #d9ffe8, #aef0c9);
  color: #137145;
  border-color: rgba(19, 113, 69, 0.08);
}

.card-title-strong {
  color: #18204d;
  letter-spacing: -0.02em;
}

.card-copy-strong {
  color: #4f5b88;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #edf2ff;
  font-size: 0.88rem;
}

body.student-theme .chip {
  border-color: rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(35, 87, 184, 0.08), rgba(123, 194, 255, 0.1)),
    linear-gradient(90deg, rgba(214, 40, 40, 0.04), rgba(20, 153, 91, 0.04));
  color: #21498d;
  border-color: rgba(35, 87, 184, 0.12);
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: capitalize;
}

.status-submitted,
.status-under-review {
  background: rgba(95, 143, 203, 0.16);
  color: #406da5;
}

.status-verification,
.status-trial-invited {
  background: rgba(240, 200, 8, 0.16);
  color: #9d7300;
}

.status-approved,
.status-admitted,
.status-verified {
  background: rgba(10, 159, 88, 0.14);
  color: #0a7d47;
}

.status-declined {
  background: rgba(214, 40, 40, 0.12);
  color: #b42323;
}

.soft-table {
  width: 100%;
  color: var(--text);
}

.soft-table thead th {
  color: #d6e0ff;
  font-size: 0.84rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.soft-table td,
.soft-table th {
  padding: 1rem 0.75rem;
  vertical-align: middle;
  background: transparent;
}

.soft-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.soft-table tbody tr:last-child {
  border-bottom: 0;
}

body.student-theme .soft-table thead th {
  color: #1d4c9a;
  border-bottom-color: rgba(35, 87, 184, 0.12);
}

body.student-theme .soft-table tbody tr {
  border-bottom-color: rgba(35, 87, 184, 0.08);
}

.soft-input,
.soft-select,
.soft-textarea {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
}

body.student-theme .form-label {
  color: #1c477d;
}

body.student-theme .soft-input,
body.student-theme .soft-select,
body.student-theme .soft-textarea {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(35, 87, 184, 0.12);
  color: #173457;
}

body.student-theme .soft-input::placeholder,
body.student-theme .soft-textarea::placeholder {
  color: #88a0bf;
}

body.student-theme .soft-input:focus,
body.student-theme .soft-select:focus,
body.student-theme .soft-textarea:focus {
  background: #ffffff;
  color: #173457;
  border-color: rgba(35, 87, 184, 0.35);
  box-shadow: 0 0 0 0.2rem rgba(35, 87, 184, 0.12);
}

.soft-input:focus,
.soft-select:focus,
.soft-textarea:focus {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  border-color: rgba(240, 200, 8, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(240, 200, 8, 0.12);
}

.soft-input::placeholder,
.soft-textarea::placeholder {
  color: #c1caf0;
}

.soft-select option {
  color: #081447;
}

.avatar-ring {
  width: 5rem;
  height: 5rem;
  border-radius: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(240, 200, 8, 0.26), rgba(95, 143, 203, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: "Sora", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #f7fbff;
}

.timeline-list,
.activity-list {
  display: grid;
  gap: 1rem;
}

.timeline-item,
.activity-item {
  padding: 1rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-intro {
  margin-top: 1.25rem;
}

.page-intro-card {
  background:
    linear-gradient(120deg, rgba(240, 200, 8, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
}

body.student-theme .page-intro-card {
  background:
    linear-gradient(120deg, rgba(123, 194, 255, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 251, 255, 0.98)),
    linear-gradient(90deg, rgba(214, 40, 40, 0.04), rgba(20, 153, 91, 0.04));
  border-color: rgba(35, 87, 184, 0.1);
}

body.student-theme .metric-icon {
  background: linear-gradient(135deg, #dceaff, #bdd7ff);
  color: #2357b8;
}

body.student-theme .metric-number {
  color: #173457;
}

body.student-theme .timeline-item,
body.student-theme .activity-item {
  background:
    linear-gradient(180deg, #ffffff, #f8fbff);
}

body.student-theme .status-submitted,
body.student-theme .status-under-review {
  background: rgba(35, 87, 184, 0.12);
  color: #1f57b4;
}

body.student-theme .status-verification,
body.student-theme .status-trial-invited {
  background: rgba(214, 40, 40, 0.1);
  color: #b22626;
}

body.student-theme .status-approved,
body.student-theme .status-admitted,
body.student-theme .status-verified {
  background: rgba(21, 148, 92, 0.12);
  color: #14774b;
}

body.student-theme .status-declined {
  background: rgba(214, 40, 40, 0.14);
  color: #a61f1f;
}

body.student-theme .btn-status-review {
  color: #ffffff;
  background: linear-gradient(135deg, #2a61c2, #4e8bed);
}

body.student-theme .btn-status-verify {
  color: #ffffff;
  background: linear-gradient(135deg, #d94f4f, #ef6a6a);
}

body.student-theme .btn-status-trial,
body.student-theme .btn-status-admit {
  color: #ffffff;
  background: linear-gradient(135deg, #15945c, #25b873);
}

body.student-theme .btn-status-approve {
  color: #ffffff;
  background: linear-gradient(135deg, #184392, #2d6bd1);
}

body.student-theme .btn-status-decline {
  color: #ffffff;
  background: linear-gradient(135deg, #b11d1d, #d84141);
}

body.student-theme .btn-status-reset {
  color: #173457;
  background: linear-gradient(135deg, #eef5ff, #d8e7ff);
}

body.admin-theme {
  --bg-elevated: #ffffff;
  --panel: rgba(20, 42, 92, 0.08);
  --line: rgba(30, 74, 156, 0.12);
  --text: #172b4d;
  --muted: #657a9a;
  --primary: #214fa7;
  --primary-deep: #153775;
  --secondary: #d3af53;
  --shadow: 0 22px 60px rgba(18, 42, 93, 0.12);
  background:
    radial-gradient(circle at top left, rgba(127, 174, 255, 0.14), transparent 20%),
    radial-gradient(circle at top right, rgba(214, 40, 40, 0.08), transparent 18%),
    linear-gradient(180deg, #f7faff 0%, #eef4ff 58%, #ffffff 100%);
}

body.admin-theme .page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.92)),
    url("../img/academy.jpg") center 24% / cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

body.admin-theme .topbar {
  background:
    linear-gradient(180deg, rgba(16, 48, 112, 0.98), rgba(31, 80, 167, 0.96));
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

body.admin-theme .topbar::after {
  background: linear-gradient(90deg, #ffffff 0 30%, #d3af53 30% 52%, #d62828 52% 72%, #17a166 72% 100%);
}

body.admin-theme .orb-one {
  background: rgba(61, 116, 225, 0.14);
}

body.admin-theme .orb-two {
  background: rgba(211, 175, 83, 0.1);
}

body.admin-theme .orb-three {
  background: rgba(214, 40, 40, 0.08);
}

body.admin-theme .brand-copy span {
  color: #ecf3ff;
}

body.admin-theme .nav-link-lite {
  color: #d8e7ff;
}

body.admin-theme .nav-link-lite.active::after,
body.admin-theme .nav-link-lite:hover::after {
  background: linear-gradient(90deg, #ffffff, #d3af53);
}

body.admin-theme .glass-card,
body.admin-theme .metric-card,
body.admin-theme .list-card,
body.admin-theme .form-card,
body.admin-theme .timeline-item,
body.admin-theme .activity-item {
  background: linear-gradient(180deg, #ffffff, #f9fbff);
  border-color: rgba(33, 79, 167, 0.1);
  color: #172b4d;
  backdrop-filter: blur(10px);
}

body.admin-theme .glass-card,
body.admin-theme .metric-card,
body.admin-theme .list-card,
body.admin-theme .form-card {
  position: relative;
  overflow: hidden;
}

body.admin-theme .glass-card::before,
body.admin-theme .metric-card::before,
body.admin-theme .list-card::before,
body.admin-theme .form-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0.28rem;
  background: linear-gradient(90deg, #214fa7 0 48%, #d3af53 48% 70%, #d62828 70% 84%, #17a166 84% 100%);
}

body.admin-theme .row > div:nth-child(4n+1) > .metric-card,
body.admin-theme .row > div:nth-child(4n+1) > .list-card,
body.admin-theme .row > div:nth-child(4n+1) > .form-card {
  background: linear-gradient(180deg, #ffffff, #f2f7ff);
}

body.admin-theme .row > div:nth-child(4n+2) > .metric-card,
body.admin-theme .row > div:nth-child(4n+2) > .list-card,
body.admin-theme .row > div:nth-child(4n+2) > .form-card {
  background: linear-gradient(180deg, #ffffff, #fffaf1);
}

body.admin-theme .row > div:nth-child(4n+3) > .metric-card,
body.admin-theme .row > div:nth-child(4n+3) > .list-card,
body.admin-theme .row > div:nth-child(4n+3) > .form-card {
  background: linear-gradient(180deg, #ffffff, #fff6f6);
}

body.admin-theme .row > div:nth-child(4n) > .metric-card,
body.admin-theme .row > div:nth-child(4n) > .list-card,
body.admin-theme .row > div:nth-child(4n) > .form-card {
  background: linear-gradient(180deg, #ffffff, #f4fbf7);
}

body.admin-theme .section-heading,
body.admin-theme .h1,
body.admin-theme .h2,
body.admin-theme .h3,
body.admin-theme .h4,
body.admin-theme .h5,
body.admin-theme .h6,
body.admin-theme .fw-semibold,
body.admin-theme strong {
  color: #142b50;
}

body.admin-theme .muted-copy,
body.admin-theme .small.muted-copy,
body.admin-theme .card-copy-strong {
  color: #657a9a;
}

body.admin-theme .metric-icon {
  background: linear-gradient(135deg, #dbe8ff, #b9d2ff);
  color: #214fa7;
}

body.admin-theme .metric-number {
  color: #142b50;
}

body.admin-theme .chip {
  border-color: rgba(33, 79, 167, 0.12);
  background:
    linear-gradient(135deg, rgba(33, 79, 167, 0.07), rgba(211, 175, 83, 0.06)),
    linear-gradient(90deg, rgba(214, 40, 40, 0.03), rgba(23, 161, 102, 0.03));
  color: #214681;
}

body.admin-theme .page-intro-card {
  background:
    linear-gradient(120deg, rgba(127, 174, 255, 0.14), transparent 36%),
    linear-gradient(180deg, #ffffff, #f8fbff),
    linear-gradient(90deg, rgba(211, 175, 83, 0.05), rgba(23, 161, 102, 0.03));
  border-color: rgba(33, 79, 167, 0.1);
}

body.admin-theme .soft-table {
  color: #173457;
}

body.admin-theme .soft-table thead th {
  color: #214b95;
  border-bottom-color: rgba(33, 79, 167, 0.12);
}

body.admin-theme .soft-table tbody tr {
  border-bottom-color: rgba(33, 79, 167, 0.08);
}

body.admin-theme .form-label {
  color: #234879;
}

body.admin-theme .soft-input,
body.admin-theme .soft-select,
body.admin-theme .soft-textarea {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(33, 79, 167, 0.12);
  color: #173457;
}

body.admin-theme .soft-input::placeholder,
body.admin-theme .soft-textarea::placeholder {
  color: #8a9bb6;
}

body.admin-theme .soft-input:focus,
body.admin-theme .soft-select:focus,
body.admin-theme .soft-textarea:focus {
  background: #ffffff;
  color: #173457;
  border-color: rgba(33, 79, 167, 0.35);
  box-shadow: 0 0 0 0.2rem rgba(33, 79, 167, 0.12);
}

body.admin-theme .btn-primary-soft {
  color: #ffffff;
  background: linear-gradient(135deg, #214fa7, #2f73e2);
  box-shadow: 0 14px 28px rgba(33, 79, 167, 0.18);
}

body.admin-theme .btn-secondary-soft {
  color: #173457;
  background: linear-gradient(135deg, #f5e1a3, #d3af53);
}

body.admin-theme .btn-ghost-soft {
  color: #1e4c98;
  border-color: rgba(33, 79, 167, 0.16);
  background: rgba(255, 255, 255, 0.96);
}

body.admin-theme .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

body.admin-theme .status-submitted,
body.admin-theme .status-under-review {
  background: rgba(33, 79, 167, 0.12);
  color: #2456b2;
}

body.admin-theme .status-verification {
  background: rgba(211, 175, 83, 0.16);
  color: #9a760a;
}

body.admin-theme .status-trial-invited {
  background: rgba(214, 40, 40, 0.12);
  color: #b32828;
}

body.admin-theme .status-approved,
body.admin-theme .status-admitted,
body.admin-theme .status-verified {
  background: rgba(23, 161, 102, 0.14);
  color: #137c4e;
}

body.admin-theme .status-declined {
  background: rgba(214, 40, 40, 0.14);
  color: #a61f1f;
}

body.admin-theme .btn-status-review {
  color: #ffffff;
  background: linear-gradient(135deg, #2a61c2, #4f86e8);
}

body.admin-theme .btn-status-verify {
  color: #173457;
  background: linear-gradient(135deg, #f3e2a6, #d4b258);
}

body.admin-theme .btn-status-trial {
  color: #ffffff;
  background: linear-gradient(135deg, #d64646, #ef7171);
}

body.admin-theme .btn-status-approve,
body.admin-theme .btn-status-admit {
  color: #ffffff;
  background: linear-gradient(135deg, #15945c, #29b974);
}

body.admin-theme .btn-status-decline {
  color: #ffffff;
  background: linear-gradient(135deg, #a91d1d, #d44444);
}

body.admin-theme .btn-status-reset {
  color: #173457;
  background: linear-gradient(135deg, #eff4ff, #d7e4ff);
}

.player-core-card {
  padding: 1.35rem;
}

.player-avatar {
  width: 6.1rem;
  height: 6.1rem;
  margin: 0 auto;
  border-radius: 1.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #f7fbff;
  background:
    linear-gradient(135deg, #1a4fb7, #3f83ea 60%, #6eb8ff);
  box-shadow: 0 16px 34px rgba(32, 87, 184, 0.32);
}

.player-position-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.35rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(35, 87, 184, 0.16);
  background: linear-gradient(135deg, rgba(35, 87, 184, 0.12), rgba(111, 179, 255, 0.16));
  color: #214e99;
  font-weight: 700;
  font-size: 0.78rem;
}

.player-overall-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.player-overall-circle {
  width: 6.3rem;
  height: 6.3rem;
  border-radius: 50%;
  border: 5px solid rgba(35, 87, 184, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(235, 245, 255, 0.96));
  box-shadow: inset 0 0 0 2px rgba(35, 87, 184, 0.08);
}

.player-overall-circle span {
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: #184791;
}

.player-overall-circle small {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.64rem;
  font-weight: 700;
  color: #4c6c96;
}

.player-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.player-pill {
  border-radius: 1rem;
  border: 1px solid rgba(35, 87, 184, 0.1);
  padding: 0.66rem 0.72rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 250, 255, 0.94));
}

.player-pill strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.06rem;
  color: #174583;
  margin-top: 0.22rem;
}

.player-attribute-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.player-attribute-card {
  border-radius: 1.1rem;
  border: 1px solid rgba(35, 87, 184, 0.1);
  padding: 0.85rem 0.95rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 248, 255, 0.95));
}

.player-attr-score {
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a4b9a;
}

.player-attr-track {
  width: 100%;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(35, 87, 184, 0.14);
  overflow: hidden;
}

.player-attr-track span {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.player-attr-high {
  background: linear-gradient(90deg, #18935b, #59d890);
}

.player-attr-mid {
  background: linear-gradient(90deg, #1f63cb, #70a8ff);
}

.player-attr-low {
  background: linear-gradient(90deg, #d69a22, #efc362);
}

.player-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.player-detail-item {
  border-radius: 1rem;
  border: 1px solid rgba(35, 87, 184, 0.1);
  padding: 0.72rem 0.8rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 250, 255, 0.95));
}

.player-detail-item span {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  color: #5b7394;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.player-detail-item strong {
  display: block;
  margin-top: 0.32rem;
  color: #173457;
  font-size: 0.93rem;
  line-height: 1.35;
  word-break: break-word;
}

@media (max-width: 991px) {
  .player-attribute-grid,
  .player-detail-grid {
    grid-template-columns: 1fr;
  }
}

.student-login-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 42rem;
  border-radius: 2rem;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(20, 60, 150, 0.18), rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 30px 80px rgba(13, 46, 112, 0.2);
}

.student-login-visual {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

.student-login-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.student-login-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1rem;
  padding: 2.25rem;
  background:
    linear-gradient(180deg, rgba(13, 48, 120, 0.12), rgba(12, 48, 118, 0.84)),
    linear-gradient(135deg, rgba(214, 40, 40, 0.08), transparent 36%),
    linear-gradient(220deg, rgba(21, 148, 92, 0.08), transparent 34%);
}

.student-login-title {
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0;
  color: #ffffff;
}

.student-login-copy {
  max-width: 32rem;
  margin: 0;
  color: rgba(242, 247, 255, 0.92);
  font-size: 1rem;
}

.student-login-form {
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

body.student-theme .student-login-form {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.98));
}

body.student-theme[data-page="login"],
body.student-theme[data-page="register"] {
  background:
    radial-gradient(circle at top left, rgba(123, 194, 255, 0.24), transparent 22%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 20%),
    linear-gradient(135deg, #0f347f 0%, #2c68cd 46%, #6fb3ff 100%);
}

body.student-theme[data-page="login"] .student-login-shell,
body.student-theme[data-page="register"] .student-login-shell {
  background:
    radial-gradient(circle at top left, rgba(123, 194, 255, 0.24), transparent 22%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 20%),
    linear-gradient(135deg, #0f347f 0%, #2c68cd 46%, #6fb3ff 100%);
}

body.student-theme[data-page="staff-login"] {
  background:
    radial-gradient(circle at top left, rgba(123, 194, 255, 0.2), transparent 22%),
    radial-gradient(circle at 82% 20%, rgba(214, 40, 40, 0.11), transparent 18%),
    radial-gradient(circle at bottom right, rgba(21, 148, 92, 0.14), transparent 26%),
    linear-gradient(132deg, #0f347f 0%, #265bc0 46%, #4a89e8 100%);
}

body.student-theme[data-page="staff-login"] .student-login-shell {
  background:
    radial-gradient(circle at top left, rgba(123, 194, 255, 0.2), transparent 22%),
    radial-gradient(circle at 82% 20%, rgba(214, 40, 40, 0.11), transparent 18%),
    radial-gradient(circle at bottom right, rgba(21, 148, 92, 0.14), transparent 26%),
    linear-gradient(132deg, #0f347f 0%, #265bc0 46%, #4a89e8 100%);
}

.staff-login-panel {
  grid-template-columns: 1.08fr 0.92fr;
}

.staff-login-overlay {
  background:
    linear-gradient(180deg, rgba(13, 48, 120, 0.14), rgba(8, 35, 93, 0.86)),
    linear-gradient(135deg, rgba(214, 40, 40, 0.14), transparent 38%),
    linear-gradient(220deg, rgba(21, 148, 92, 0.12), transparent 40%);
}

.staff-role-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.3rem;
}

.staff-role-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  border-radius: 999px;
  padding: 0.44rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.13);
  color: #f5f9ff;
  font-size: 0.82rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.staff-role-chip:hover {
  transform: translateY(-1px);
  background: rgba(240, 200, 8, 0.2);
  border-color: rgba(240, 200, 8, 0.55);
  color: #ffffff;
}

.staff-login-form .glass-card {
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.95));
}

body.student-theme[data-page="register"] .student-register-container {
  max-width: 1720px;
  padding-top: 0.45rem !important;
  padding-bottom: 0.45rem !important;
  padding-left: 3.6rem !important;
  padding-right: 3.6rem !important;
}

body.student-theme[data-page="register"] .student-register-form {
  padding: clamp(1rem, 1.25vw, 1.25rem) !important;
  padding-top: clamp(1.35rem, 1.8vw, 1.75rem) !important;
}

body.student-theme[data-page="register"] .student-register-form .brand-stack {
  margin-bottom: 0.65rem !important;
}

body.student-theme[data-page="register"] .student-register-form .brand-mark {
  width: 2.25rem;
  height: 2.25rem;
}

body.student-theme[data-page="register"] .student-register-form .brand-copy strong {
  font-size: 0.92rem;
}

body.student-theme[data-page="register"] .student-register-form .brand-copy span {
  font-size: 0.78rem;
}

body.student-theme[data-page="register"] .student-register-form .section-heading {
  font-size: clamp(1rem, 1.12vw, 1.15rem);
  line-height: 1.15;
  margin-top: 0 !important;
  margin-bottom: 0.35rem;
}

body.student-theme[data-page="register"] .student-register-form .muted-copy {
  margin-bottom: 0;
  font-size: 0.84rem;
  line-height: 1.45;
}

body.student-theme[data-page="register"] .student-register-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.62rem 0.9rem;
}

.student-register-grid .register-field {
  margin: 0;
}

.student-register-grid .register-field-span-wide {
  grid-column: span 2;
}

.student-register-grid .register-field-span-full {
  grid-column: 1 / -1;
}

.student-register-grid .register-field-span-2 {
  grid-column: 1 / -1;
}

body.student-theme[data-page="register"] .student-register-form .form-label {
  margin-bottom: 0.28rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #184f8f;
}

body.student-theme[data-page="register"] .student-register-form .soft-input,
body.student-theme[data-page="register"] .student-register-form .soft-select,
body.student-theme[data-page="register"] .student-register-form .soft-textarea {
  border-radius: 0.8rem;
  padding: 0.5rem 0.72rem;
  min-height: 2.15rem;
  font-size: 0.94rem;
  border-color: rgba(35, 87, 184, 0.22);
  background: #ffffff;
  color: #13365d;
}

body.student-theme[data-page="register"] .student-register-form .soft-input::placeholder,
body.student-theme[data-page="register"] .student-register-form .soft-textarea::placeholder {
  color: #7793b6;
}

body.student-theme[data-page="register"] .student-register-form .soft-input:focus,
body.student-theme[data-page="register"] .student-register-form .soft-select:focus,
body.student-theme[data-page="register"] .student-register-form .soft-textarea:focus {
  border-color: rgba(35, 87, 184, 0.42);
  box-shadow: 0 0 0 0.18rem rgba(35, 87, 184, 0.15);
}

body.student-theme[data-page="register"] .student-register-form textarea.soft-input,
body.student-theme[data-page="register"] .student-register-form textarea.soft-textarea {
  min-height: 2.8rem;
  resize: none;
}

body.student-theme[data-page="register"] .student-register-form .btn-primary-soft {
  border-radius: 0.92rem;
  padding: 0.66rem 0.95rem;
  font-size: 0.95rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1f63cb, #4d8ff5);
  box-shadow: 0 12px 24px rgba(35, 87, 184, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

body.student-theme[data-page="register"] .student-register-form .btn-primary-soft:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(35, 87, 184, 0.28);
  filter: brightness(1.03);
}

body.student-theme[data-page="register"] .student-register-form .register-actions {
  margin-top: 0.6rem !important;
  gap: 0.5rem !important;
}

body.student-theme[data-page="register"] .student-register-form .register-actions .btn-ghost-soft {
  padding: 0.5rem 0.82rem;
  font-size: 0.88rem;
  border: 1px solid rgba(35, 87, 184, 0.2);
  background: rgba(255, 255, 255, 0.9);
}

body.student-theme[data-page="register"] .student-login-overlay {
  padding: 1.5rem;
  gap: 0.65rem;
}

body.student-theme[data-page="register"] .student-login-title {
  font-size: clamp(1.5rem, 2.35vw, 2.4rem);
}

body.student-theme[data-page="register"] .student-login-copy {
  font-size: 0.82rem;
  line-height: 1.3;
}

body.student-theme[data-page="register"] .student-login-panel {
  min-height: 0;
}

body.student-theme[data-page="register"] .student-login-visual {
  display: block;
}

@media (min-width: 1200px) {
  body.student-theme[data-page="register"] {
    height: 100vh;
    overflow: hidden;
  }

  body.student-theme[data-page="register"] .student-login-shell {
    min-height: 100vh;
    align-items: stretch !important;
  }

  body.student-theme[data-page="register"] .student-register-container {
    height: 100vh;
  }

  body.student-theme[data-page="register"] .student-register-container > .row,
  body.student-theme[data-page="register"] .student-register-container > .row > div {
    height: 100%;
  }

  body.student-theme[data-page="register"] .student-login-panel {
    height: 100%;
    min-height: 0;
    grid-template-columns: 0.72fr 1.28fr;
  }

  body.student-theme[data-page="register"] .student-register-form {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  body.student-theme[data-page="register"] #registerForm {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 0.35rem;
    scrollbar-gutter: stable;
  }

  body.student-theme[data-page="register"] #registerForm::-webkit-scrollbar {
    width: 0.45rem;
  }

  body.student-theme[data-page="register"] #registerForm::-webkit-scrollbar-thumb {
    background: rgba(35, 87, 184, 0.35);
    border-radius: 999px;
  }

  body.student-theme[data-page="register"] .student-register-form .muted-copy {
    display: block;
  }
}

@media (max-width: 1399px) {
  body.student-theme[data-page="register"] .student-register-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1199px) {
  body.student-theme[data-page="register"] .student-register-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1199px) {
  .student-login-panel {
    grid-template-columns: 1fr;
  }

  .staff-login-panel {
    grid-template-columns: 1fr;
  }

  .student-login-visual {
    min-height: 20rem;
  }
}

@media (max-width: 991px) {
  body.student-theme[data-page="register"] .student-register-grid {
    grid-template-columns: 1fr;
  }

  .student-register-grid .register-field-span-2,
  .student-register-grid .register-field-span-wide,
  .student-register-grid .register-field-span-full {
    grid-column: auto;
  }

  body.student-theme[data-page="register"] .student-register-container {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
}

.portal-card {
  padding: 1.8rem;
  min-height: 100%;
}

.portal-card-admin {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.1)),
    linear-gradient(135deg, rgba(95, 143, 203, 0.12), rgba(45, 52, 143, 0.08));
}

body[data-page="landing"] .landing-main-container {
  max-width: 1720px;
  margin-inline: auto;
  --landing-side-pad: clamp(0.45rem, 1vw, 0.95rem);
  padding-left: var(--landing-side-pad) !important;
  padding-right: var(--landing-side-pad) !important;
}

body[data-page="landing"] .hero-card-landing {
  padding: clamp(1.4rem, 2.5vw, 2.7rem);
}

body[data-page="landing"] .landing-kicker {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #f3f7ff;
}

.landing-nav .nav-link-lite {
  color: #dce7ff;
  font-size: 0.95rem;
}

.nsa-hero {
  isolation: isolate;
}

.nsa-hero::before {
  content: "";
  position: absolute;
  inset: auto -12% -45% auto;
  width: 20rem;
  height: 20rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(240, 200, 8, 0.35) 0%, rgba(240, 200, 8, 0) 70%);
  filter: blur(6px);
  pointer-events: none;
}

.nsa-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 1.1rem;
  align-items: stretch;
}

.nsa-hero-copy-block {
  align-self: center;
}

.nsa-hero-title {
  font-family: "Sora", sans-serif;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  letter-spacing: -0.035em;
  line-height: 0.98;
  color: #ffffff;
  max-width: 16ch;
}

.nsa-hero-copy {
  max-width: 60ch;
  color: #d6e3ff;
}

.nsa-live-stats .chip {
  font-weight: 600;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: #eef4ff;
}

.nsa-hero-panel {
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07)),
    linear-gradient(125deg, rgba(10, 26, 97, 0.7), rgba(22, 61, 161, 0.42));
  padding: 1rem;
  box-shadow: 0 18px 36px rgba(6, 17, 62, 0.3);
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.nsa-carousel {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  min-height: 21.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #09174d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.nsa-carousel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 20%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  z-index: 2;
  pointer-events: none;
}

.nsa-carousel-slides {
  position: relative;
  min-height: 21.5rem;
}

.nsa-carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.75s ease, transform 5.8s ease;
  pointer-events: none;
}

.nsa-carousel-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}

.nsa-carousel-slide img {
  width: 100%;
  height: 100%;
  min-height: 21.5rem;
  display: block;
  object-fit: cover;
  filter: saturate(1.2) contrast(1.08);
}

.nsa-carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 17, 61, 0.14) 0%, rgba(7, 17, 61, 0.3) 62%, rgba(7, 17, 61, 0.82) 100%);
  z-index: 1;
}

.nsa-carousel-slide figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.95rem;
  z-index: 3;
  margin: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(5, 15, 56, 0.5);
  color: #f4f8ff;
  font-size: 0.84rem;
  line-height: 1.35;
  backdrop-filter: blur(4px);
}

.nsa-carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(8, 21, 73, 0.54);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nsa-carousel-control:hover {
  background: rgba(240, 200, 8, 0.9);
  border-color: rgba(240, 200, 8, 0.9);
  color: #17286c;
  transform: translateY(-50%) scale(1.05);
}

.nsa-carousel-prev {
  left: 0.65rem;
}

.nsa-carousel-next {
  right: 0.65rem;
}

.nsa-carousel-dots {
  position: absolute;
  right: 0.9rem;
  top: 0.9rem;
  z-index: 4;
  display: inline-flex;
  gap: 0.35rem;
}

.nsa-carousel-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  transition: transform 0.2s ease, background 0.2s ease;
}

.nsa-carousel-dot.is-active {
  background: #f0c808;
  transform: scale(1.1);
}

.nsa-hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.nsa-hero-mini-card {
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.7rem 0.75rem;
}

.nsa-hero-mini-card strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
  color: #ffffff;
}

.nsa-hero-mini-card span {
  display: block;
  color: #d4e0fa;
  font-size: 0.78rem;
}

.nsa-hero-note {
  color: #d5e1fc;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.45;
}

.nsa-pillars {
  padding-top: 2.4rem;
  padding-bottom: 2.5rem;
  padding-left: clamp(0.9rem, 2vw, 1.6rem);
  padding-right: clamp(0.9rem, 2vw, 1.6rem);
  border-radius: 1.3rem;
  border: 1px solid rgba(24, 56, 120, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.97));
  box-shadow: 0 18px 38px rgba(8, 22, 66, 0.12);
}

.nsa-pillars .eyebrow {
  border-color: rgba(35, 87, 184, 0.18);
  background: rgba(35, 87, 184, 0.08);
  color: #1a3e86;
}

.nsa-pillars .eyebrow i {
  color: #2f7ae5;
}

.nsa-section-head {
  max-width: 66ch;
}

.nsa-pillars .nsa-section-head .h2 {
  font-family: "Sora", sans-serif;
  color: #132f67;
  letter-spacing: -0.03em;
}

.nsa-pillars .nsa-section-head .muted-copy {
  color: #48618f;
}

.nsa-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.nsa-pillar-card {
  --pillar-accent: #7ab6ff;
  --pillar-accent-soft: rgba(122, 182, 255, 0.35);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 1.45rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 16px 30px rgba(6, 17, 62, 0.25);
}

.nsa-pillar-card > * {
  position: relative;
  z-index: 2;
}

.nsa-pillar-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0.24rem;
  background: linear-gradient(90deg, var(--pillar-accent), rgba(255, 255, 255, 0.25));
  z-index: 3;
}

.nsa-pillar-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(8, 15, 44, 0.2) 100%);
  z-index: 1;
  pointer-events: none;
}

.nsa-pillar-card .h5 {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(5, 11, 36, 0.4);
}

.nsa-pillar-card .muted-copy {
  color: #f1f6ff;
}

.nsa-pillar-blue {
  --pillar-accent: #2f7ae5;
  --pillar-accent-soft: rgba(47, 122, 229, 0.65);
  background: linear-gradient(145deg, #2f7ae5 0%, #205fc3 48%, #18479d 100%);
}

.nsa-pillar-red {
  --pillar-accent: #d62828;
  --pillar-accent-soft: rgba(214, 40, 40, 0.65);
  background: linear-gradient(145deg, #d62828 0%, #b72028 48%, #7f1b3b 100%);
}

.nsa-pillar-green {
  --pillar-accent: #15945c;
  --pillar-accent-soft: rgba(21, 148, 92, 0.65);
  background: linear-gradient(145deg, #15945c 0%, #117f50 48%, #0d5e42 100%);
}

.nsa-pillar-icon {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  font-size: 1.12rem;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(145deg, var(--pillar-accent-soft), rgba(255, 255, 255, 0.18));
}

.nsa-mini-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.nsa-mini-list li {
  color: #ffffff;
  font-size: 0.88rem;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.nsa-mini-list li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--pillar-accent);
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.nsa-system-architecture {
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08)),
    linear-gradient(120deg, rgba(8, 25, 84, 0.74), rgba(16, 46, 125, 0.52));
  padding: clamp(1.35rem, 2.4vw, 2rem);
  box-shadow: 0 20px 42px rgba(5, 17, 61, 0.28);
}

.nsa-system-architecture .nsa-section-head .h2 {
  color: #ffffff;
}

.nsa-system-architecture .nsa-section-head .muted-copy {
  color: #d6e2ff;
}

.nsa-architecture-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.nsa-architecture-flow span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  color: #f2f6ff;
  font-size: 0.82rem;
  font-weight: 600;
}

.nsa-architecture-flow > i {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.nsa-architecture-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.nsa-architecture-card {
  border-radius: 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
  box-shadow: 0 14px 32px rgba(7, 19, 64, 0.2);
}

.nsa-architecture-card .h5 {
  color: #ffffff;
}

.nsa-architecture-card .muted-copy {
  color: #dde7ff;
}

.nsa-architecture-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  padding: 0.48rem 0.82rem;
  border-color: rgba(255, 255, 255, 0.28);
  color: #f7fbff;
}

.nsa-architecture-link:hover {
  border-color: rgba(240, 200, 8, 0.6);
  background: rgba(240, 200, 8, 0.16);
  color: #ffffff;
}

.nsa-architecture-icon {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.85rem;
  margin-bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.nsa-architecture-coach .nsa-architecture-icon {
  background: linear-gradient(145deg, rgba(47, 122, 229, 0.75), rgba(21, 78, 176, 0.65));
}

.nsa-architecture-trainer .nsa-architecture-icon {
  background: linear-gradient(145deg, rgba(21, 148, 92, 0.8), rgba(14, 112, 72, 0.66));
}

.nsa-architecture-scouter .nsa-architecture-icon {
  background: linear-gradient(145deg, rgba(214, 40, 40, 0.8), rgba(141, 25, 56, 0.66));
}

.nsa-program-stage,
.nsa-sports-wall,
.nsa-campus-card,
.nsa-news-card {
  padding: 1.7rem;
}

.nsa-news-card {
  --nsa-news-pad: 1.7rem;
  overflow: hidden;
}

.nsa-programs-band {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  margin-left: calc(var(--landing-side-pad, 0rem) * -1);
  margin-right: calc(var(--landing-side-pad, 0rem) * -1);
  min-height: clamp(27rem, 58vh, 39rem);
  padding: clamp(2rem, 5vw, 3.2rem) 0;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 22px 42px rgba(6, 17, 62, 0.28);
  background-image:
    linear-gradient(120deg, rgba(7, 18, 61, 0.62) 0%, rgba(13, 35, 104, 0.5) 45%, rgba(8, 70, 56, 0.42) 100%),
    url("../img/academy.jpg");
  background-size: cover;
  background-position: center 28%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.nsa-programs-band .row {
  position: relative;
  z-index: 1;
  width: min(1440px, 100%);
  margin-inline: auto;
  align-items: center;
}

.nsa-program-stage .h3,
.nsa-sports-wall .h4,
.nsa-campus-card .h4,
.nsa-news-card .h4,
.nsa-action-bar .h3 {
  color: #ffffff;
}

.nsa-program-stage .muted-copy,
.nsa-sports-wall .muted-copy,
.nsa-campus-card .muted-copy,
.nsa-news-card .muted-copy,
.nsa-action-bar .muted-copy {
  color: #d1dcf9;
}

.nsa-program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.nsa-program-item {
  padding: 0.95rem 1rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.nsa-program-item h3 {
  margin: 0 0 0.35rem;
  color: #ffffff;
  font-size: 1rem;
}

.nsa-program-item p {
  margin: 0;
  color: #d7e2fc;
  font-size: 0.87rem;
  line-height: 1.42;
}

.nsa-sport-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.nsa-sport-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #edf3ff;
  font-size: 0.85rem;
  font-weight: 600;
}

.nsa-rankings-card {
  padding: 1.7rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08)),
    linear-gradient(120deg, rgba(7, 23, 78, 0.7), rgba(16, 46, 125, 0.5));
  box-shadow: 0 20px 40px rgba(5, 17, 61, 0.28);
}

.nsa-rankings-card .h3 {
  color: #ffffff;
}

.nsa-rankings-card .muted-copy {
  color: #d8e4ff;
}

.nsa-rankings-label {
  display: inline-block;
  margin-bottom: 0.42rem;
  color: #dce8ff;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nsa-ranking-input-shell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.62rem 0.78rem;
  background: rgba(255, 255, 255, 0.1);
}

.nsa-ranking-input-shell i {
  color: #d6e4ff;
  font-size: 0.95rem;
}

.nsa-ranking-input-shell:focus-within {
  border-color: rgba(240, 200, 8, 0.72);
  box-shadow: 0 0 0 0.16rem rgba(240, 200, 8, 0.18);
}

.nsa-ranking-input {
  flex: 1;
  border: 0;
  color: #ffffff;
  background: transparent;
  font-size: 0.92rem;
}

.nsa-ranking-input::placeholder {
  color: rgba(224, 236, 255, 0.8);
}

.nsa-ranking-input:focus {
  outline: 0;
}

.nsa-ranking-select.form-select {
  border-radius: 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.nsa-ranking-select.form-select:focus {
  border-color: rgba(240, 200, 8, 0.72);
  box-shadow: 0 0 0 0.16rem rgba(240, 200, 8, 0.18);
}

.nsa-ranking-select.form-select option {
  color: #173a7a;
}

.nsa-ranking-results {
  color: #ffffff;
  font-size: 0.95rem;
}

.nsa-ranking-sport-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.nsa-ranking-sport-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: #edf4ff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.42rem 0.74rem;
}

.nsa-ranking-sport-pill strong {
  border-radius: 999px;
  min-width: 1.4rem;
  padding: 0.12rem 0.38rem;
  text-align: center;
  font-size: 0.74rem;
  color: #153a75;
  background: rgba(255, 255, 255, 0.92);
}

.nsa-ranking-sport-pill.is-active {
  border-color: rgba(240, 200, 8, 0.7);
  background: rgba(240, 200, 8, 0.2);
  color: #ffffff;
}

.nsa-ranking-table-wrap {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.nsa-ranking-table {
  --bs-table-bg: transparent;
  --bs-table-color: #eef4ff;
  --bs-table-border-color: rgba(255, 255, 255, 0.15);
  margin-bottom: 0;
}

.nsa-ranking-table thead th {
  border-bottom-width: 1px;
  color: #dbe8ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nsa-ranking-table tbody td {
  color: #f6f9ff;
}

.nsa-ranking-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  color: #173d7c;
  background: linear-gradient(135deg, #f0c808, #f6dc73);
  font-weight: 800;
  font-size: 0.8rem;
}

.nsa-ranking-athlete-link {
  border: 0;
  padding: 0;
  color: #ffffff;
  font-weight: 700;
  background: transparent;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: rgba(240, 200, 8, 0.75);
  text-underline-offset: 0.18rem;
}

.nsa-ranking-athlete-link:hover {
  color: #f8dc67;
}

.nsa-ranking-gender {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.2rem 0.62rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nsa-ranking-gender.is-female {
  color: #ffffff;
  border-color: rgba(214, 40, 40, 0.62);
  background: linear-gradient(135deg, rgba(214, 40, 40, 0.9), rgba(155, 32, 70, 0.88));
}

.nsa-ranking-gender.is-male {
  color: #ffffff;
  border-color: rgba(47, 122, 229, 0.62);
  background: linear-gradient(135deg, rgba(47, 122, 229, 0.92), rgba(31, 78, 170, 0.9));
}

.nsa-ranking-gender.is-neutral {
  color: #16396f;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.9);
}

body.nsa-modal-open {
  overflow: hidden;
}

.nsa-athlete-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.nsa-athlete-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 12, 42, 0.72);
}

.nsa-athlete-modal-panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.2rem;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08)),
    linear-gradient(120deg, rgba(7, 23, 78, 0.95), rgba(16, 46, 125, 0.84));
  box-shadow: 0 24px 55px rgba(3, 10, 40, 0.44);
}

.nsa-athlete-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.nsa-athlete-modal-head .h4 {
  color: #ffffff;
}

.nsa-athlete-modal-close {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 0.6rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.nsa-athlete-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1rem;
}

.nsa-athlete-meta-item {
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
  padding: 0.62rem 0.7rem;
}

.nsa-athlete-meta-item span {
  color: #d2e0ff;
  display: block;
  margin-bottom: 0.22rem;
}

.nsa-athlete-meta-item strong {
  color: #ffffff;
  font-size: 0.92rem;
}

.nsa-athlete-bio-wrap {
  margin-top: 0.95rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.72rem 0.78rem;
}

.nsa-athlete-bio-wrap p {
  color: #eff5ff;
  font-size: 0.9rem;
}

.nsa-athlete-performance-wrap {
  border-radius: 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.7rem;
}

.nsa-athlete-performance-wrap .h6 {
  color: #ffffff;
}

.nsa-athlete-performance-table {
  --bs-table-bg: transparent;
  --bs-table-color: #eef4ff;
  --bs-table-border-color: rgba(255, 255, 255, 0.14);
}

.nsa-athlete-performance-table thead th {
  color: #d5e3ff;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.nsa-campus-points {
  display: grid;
  gap: 0.85rem;
}

.nsa-campus-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.8rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.nsa-campus-point i {
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.nsa-campus-point strong {
  display: block;
  color: #ffffff;
  margin-bottom: 0.18rem;
}

.nsa-news-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.nsa-news-link {
  padding: 0.55rem 0.9rem;
  font-size: 0.84rem;
}

.news-feed-shell {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 600px;
}

.nsa-news-card .news-feed-shell {
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 0;
  min-height: 0;
  border-radius: 1rem;
  background: #08143a;
}

.nsa-laptop-frame {
  width: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1100px;
}

.nsa-laptop-screen {
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: clamp(18rem, 45vw, 36rem);
  border-radius: 0.95rem 0.95rem 0.35rem 0.35rem;
  border: 10px solid #0a1a45;
  border-bottom-width: 11px;
  background: #08143a;
  overflow: hidden;
  box-shadow:
    0 20px 44px rgba(4, 15, 52, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.nsa-laptop-screen .facebook-feed-embed {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.nsa-laptop-hinge {
  width: 22%;
  height: 0.34rem;
  border-radius: 0 0 0.55rem 0.55rem;
  background: linear-gradient(180deg, #22346f, #101f52);
}

.nsa-laptop-base {
  width: 100%;
  height: 0.95rem;
  border-radius: 0 0 1.1rem 1.1rem;
  background:
    linear-gradient(180deg, #d2dbef 0%, #9eaac6 52%, #7f8aa6 100%);
  box-shadow:
    0 12px 18px rgba(5, 15, 48, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.facebook-feed-embed {
  display: block;
  width: 100%;
  min-height: 0;
  border: 0;
}

.nsa-livechat {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1300;
  width: min(92vw, 360px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}

.nsa-livechat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  border: 0;
  border-radius: 999px;
  padding: 0.58rem 0.95rem;
  font-weight: 700;
  font-size: 0.87rem;
  color: #ffffff;
  background: linear-gradient(135deg, #2257b8, #3e7ce1);
  box-shadow: 0 14px 26px rgba(9, 31, 92, 0.34);
}

.nsa-livechat-panel {
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.96));
  box-shadow: 0 22px 42px rgba(5, 18, 64, 0.24);
}

.nsa-livechat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.72rem 0.82rem;
  border-bottom: 1px solid rgba(35, 87, 184, 0.14);
  background: linear-gradient(135deg, rgba(35, 87, 184, 0.14), rgba(95, 143, 203, 0.12));
  color: #163f87;
}

.nsa-livechat-head strong {
  font-family: "Sora", sans-serif;
  font-size: 0.92rem;
}

.nsa-livechat-head .small {
  color: #3f5f91;
  font-size: 0.75rem;
}

.nsa-livechat-close {
  width: 1.9rem;
  height: 1.9rem;
  border: 0;
  border-radius: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1c4a95;
  background: rgba(255, 255, 255, 0.75);
}

.nsa-livechat-messages {
  max-height: 17.5rem;
  min-height: 8rem;
  overflow-y: auto;
  padding: 0.75rem;
  display: grid;
  gap: 0.55rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 252, 255, 0.95));
}

.nsa-livechat-line {
  display: flex;
}

.nsa-livechat-line.is-bot {
  justify-content: flex-start;
}

.nsa-livechat-line.is-user {
  justify-content: flex-end;
}

.nsa-livechat-bubble {
  max-width: 84%;
  border-radius: 0.85rem;
  padding: 0.48rem 0.62rem;
  font-size: 0.82rem;
  line-height: 1.35;
}

.nsa-livechat-line.is-bot .nsa-livechat-bubble {
  color: #153f84;
  border: 1px solid rgba(35, 87, 184, 0.18);
  background: rgba(222, 236, 255, 0.72);
}

.nsa-livechat-line.is-user .nsa-livechat-bubble {
  color: #ffffff;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #2357b8, #3f7be0);
}

.nsa-livechat-form {
  display: flex;
  gap: 0.46rem;
  padding: 0.72rem;
  border-top: 1px solid rgba(35, 87, 184, 0.14);
  background: #ffffff;
}

.nsa-livechat-input {
  flex: 1;
  border-radius: 0.72rem;
  border: 1px solid rgba(35, 87, 184, 0.22);
  padding: 0.48rem 0.62rem;
  font-size: 0.86rem;
  color: #153b72;
  background: #ffffff;
}

.nsa-livechat-input:focus {
  outline: 0;
  border-color: rgba(35, 87, 184, 0.5);
  box-shadow: 0 0 0 0.16rem rgba(35, 87, 184, 0.15);
}

.nsa-livechat-send {
  width: 2.3rem;
  border: 0;
  border-radius: 0.72rem;
  color: #ffffff;
  background: linear-gradient(135deg, #2357b8, #3f7be0);
}

.nsa-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.6rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    linear-gradient(105deg, rgba(10, 26, 93, 0.6), rgba(24, 67, 171, 0.34));
  box-shadow: 0 16px 34px rgba(4, 14, 54, 0.24);
}

.landing-footer .small {
  color: #c9d6fb;
}

@media (max-width: 1199px) {
  .nsa-hero-grid {
    grid-template-columns: 1fr;
  }

  .nsa-pillar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nsa-carousel,
  .nsa-carousel-slides,
  .nsa-carousel-slide img {
    min-height: 20rem;
  }
}

@media (max-width: 991px) {
  body[data-page="landing"] .landing-main-container {
    --landing-side-pad: 0.4rem;
    padding-left: var(--landing-side-pad) !important;
    padding-right: var(--landing-side-pad) !important;
  }

  body[data-page="landing"] .hero-card-landing {
    padding: 1.2rem;
  }

  .nsa-pillar-grid,
  .nsa-program-grid,
  .nsa-architecture-grid {
    grid-template-columns: 1fr;
  }

  .nsa-rankings-card {
    padding: 1.2rem;
  }

  .nsa-athlete-modal {
    padding: 0.7rem;
  }

  .nsa-athlete-modal-panel {
    max-height: calc(100vh - 1.4rem);
  }

  .nsa-athlete-meta-grid {
    grid-template-columns: 1fr;
  }

  .nsa-architecture-flow > i {
    display: none;
  }

  .nsa-programs-band {
    min-height: auto;
    padding: 1.1rem 0;
    background-attachment: scroll;
  }

  .nsa-carousel,
  .nsa-carousel-slides,
  .nsa-carousel-slide img {
    min-height: 17.2rem;
  }

  .nsa-carousel-slide figcaption {
    font-size: 0.8rem;
  }

  .nsa-action-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-feed-shell {
    min-height: 520px;
  }

  .nsa-news-card .news-feed-shell {
    min-height: 0;
  }

  .nsa-laptop-screen {
    min-height: clamp(15rem, 44vw, 24rem);
    border-width: 8px;
    border-bottom-width: 9px;
  }

  .nsa-laptop-base {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .nsa-hero-title {
    font-size: 2rem;
  }

  .nsa-carousel,
  .nsa-carousel-slides,
  .nsa-carousel-slide img {
    min-height: 14.6rem;
  }

  .nsa-carousel-control {
    width: 1.9rem;
    height: 1.9rem;
  }

  .nsa-news-card .news-feed-shell {
    padding: 0;
  }

  .nsa-laptop-screen {
    min-height: 12.8rem;
  }

  .nsa-laptop-hinge {
    width: 28%;
  }

  .nsa-laptop-base {
    width: 100%;
    height: 0.8rem;
  }

  .nsa-campus-point {
    grid-template-columns: 1fr;
  }

  .nsa-athlete-modal-panel {
    padding: 0.9rem;
  }

  .nsa-athlete-performance-table thead th {
    font-size: 0.68rem;
  }

  .nsa-livechat {
    right: 0.7rem;
    bottom: 0.7rem;
    width: min(95vw, 340px);
  }

  .nsa-livechat-messages {
    max-height: 14.5rem;
  }
}

@media (max-width: 991px) {
  [data-role-nav] {
    border-radius: 0.95rem;
  }

  .dashboard-section-menu-wrap {
    position: static;
  }

  .dashboard-menu {
    position: static;
    top: auto;
  }
}

.portal-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.portal-choice-card {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
}

.portal-choice-card-active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  border-color: rgba(240, 200, 8, 0.24);
}

.action-feedback {
  margin-bottom: 1.25rem;
  padding: 0.95rem 1.1rem;
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(215, 255, 233, 0.96), rgba(239, 255, 247, 0.96));
  border: 1px solid rgba(10, 159, 88, 0.18);
  color: #0d6a3f;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(10, 159, 88, 0.08);
}

.empty-state {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
}

.empty-state i {
  font-size: 2rem;
  color: var(--secondary);
}

.chart-shell {
  position: relative;
  min-height: 320px;
}

.hero-visual {
  position: relative;
  min-height: 32rem;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 22, 78, 0.02), rgba(10, 22, 78, 0.26)),
    linear-gradient(120deg, rgba(45, 52, 143, 0.22), transparent 55%);
}

.hero-visual-copy {
  position: relative;
  z-index: 1;
}

.hero-callout {
  max-width: none;
  margin-left: 0;
  padding: 1.7rem 1.8rem;
  border-radius: 1.35rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 255, 0.94)),
    linear-gradient(120deg, rgba(240, 200, 8, 0.07), transparent 35%);
  border: 1px solid rgba(45, 52, 143, 0.08);
  box-shadow: 0 18px 44px rgba(8, 20, 71, 0.14);
}

.hero-callout-floating {
  backdrop-filter: blur(14px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 248, 255, 0.82)),
    linear-gradient(120deg, rgba(240, 200, 8, 0.08), transparent 35%);
}

.hero-callout-title {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
  color: #1f2554;
}

.hero-callout .muted-copy {
  color: #5f6792;
}

.hero-split {
  display: grid;
  gap: 1rem;
}

.image-caption-card {
  padding: 1rem 1.2rem;
  border-radius: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.94));
  border: 1px solid rgba(45, 52, 143, 0.08);
  box-shadow: 0 14px 34px rgba(20, 38, 103, 0.1);
}

.image-caption-card .muted-copy {
  color: #5f6792;
}

.crest-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  margin-top: 1rem;
}

.crest-swatch {
  height: 0.55rem;
  border-radius: 999px;
}

.swatch-blue {
  background: linear-gradient(90deg, #2d348f, #5f8fcb);
}

.swatch-gold {
  background: linear-gradient(90deg, #d8ad00, #f0c808);
}

.swatch-red {
  background: linear-gradient(90deg, #c91d1d, #ef5350);
}

.swatch-green {
  background: linear-gradient(90deg, #0a8b4e, #1fcf7b);
}

.brand-stripe {
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--secondary) 0 35%, var(--accent-red) 35% 55%, var(--accent-green) 55% 75%, #7ab6ff 75% 100%);
}

.spotlight-card {
  position: relative;
  overflow: hidden;
}

.spotlight-card::after {
  content: "";
  position: absolute;
  inset: auto -15% -35% auto;
  width: 12rem;
  height: 12rem;
  border-radius: 999px;
  background: rgba(240, 200, 8, 0.08);
  filter: blur(10px);
}

@media (max-width: 991px) {
  .hero-card {
    padding: 2rem;
  }

  .hero-card-landing::after {
    background:
      linear-gradient(180deg, rgba(8, 20, 71, 0.88), rgba(8, 20, 71, 0.54) 48%, rgba(8, 20, 71, 0.88)),
      url("../img/academy.jpg") center / cover no-repeat;
    opacity: 0.48;
  }
}

@media (max-width: 767px) {
  .display-title {
    font-size: 2.5rem;
  }

  .portal-choice-grid {
    grid-template-columns: 1fr;
  }

  .hero-callout {
    max-width: none;
    margin-left: 0;
    padding: 1.2rem 1.1rem;
  }

  .hero-callout-title {
    font-size: 1.3rem;
  }
}

.nsa-portal-section {
  position: relative;
  z-index: 1;
}

.nsa-directory-stage {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.96)),
    linear-gradient(120deg, rgba(240, 200, 8, 0.08), transparent 32%);
  color: #1f2851;
  border: 1px solid rgba(45, 52, 143, 0.08);
  box-shadow: 0 20px 50px rgba(8, 20, 71, 0.12);
}

.nsa-portal-filter-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(12rem, 1fr) auto;
  gap: 1rem;
  align-items: end;
}

.nsa-portal-filter-field {
  display: grid;
  gap: 0.45rem;
}

.nsa-portal-filter-field span {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #4d588e;
}

.nsa-portal-filter-field .form-control,
.nsa-portal-filter-field .form-select {
  border-radius: 1rem;
  border: 1px solid rgba(45, 52, 143, 0.14);
  min-height: 3.1rem;
  box-shadow: none;
}

.nsa-inline-button {
  white-space: nowrap;
}

.nsa-directory-count {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(45, 52, 143, 0.08);
  color: #21306f;
  font-weight: 700;
}

.nsa-athlete-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
}

.nsa-athlete-card,
.nsa-empty-state-card,
.nsa-profile-attribute-card,
.nsa-profile-performance-card,
.nsa-profile-rank-chip,
.nsa-summary-card {
  border-radius: 1.3rem;
  border: 1px solid rgba(45, 52, 143, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.96));
  box-shadow: 0 14px 36px rgba(17, 31, 91, 0.08);
}

.nsa-athlete-card {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
}

.nsa-athlete-card-top,
.nsa-profile-hero,
.nsa-performance-top {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.nsa-athlete-avatar {
  width: 4.35rem;
  height: 4.35rem;
  flex: 0 0 4.35rem;
  border-radius: 1.25rem;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #183687, #4b7de5);
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.nsa-athlete-avatar.modal {
  width: 5.6rem;
  height: 5.6rem;
  flex-basis: 5.6rem;
  border-radius: 1.45rem;
}

.nsa-athlete-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nsa-athlete-card-copy h3,
.nsa-profile-section h3,
.nsa-profile-hero-copy h2,
.nsa-profile-attribute-top h4,
.nsa-profile-performance-card h4 {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: #182253;
}

.nsa-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  background: rgba(240, 200, 8, 0.16);
  color: #6a5300;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nsa-athlete-meta,
.nsa-profile-hero-copy p,
.nsa-profile-attribute-meta span {
  color: #5f6792;
}

.nsa-athlete-details,
.nsa-profile-info-list,
.nsa-profile-score-list,
.nsa-performance-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.nsa-athlete-details span,
.nsa-profile-info-list span,
.nsa-profile-score-list span,
.nsa-performance-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(45, 52, 143, 0.06);
  color: #344171;
  font-size: 0.9rem;
}

.nsa-athlete-stats,
.nsa-profile-rank-grid,
.nsa-profile-summary-grid,
.nsa-profile-attribute-grid {
  display: grid;
  gap: 1rem;
}

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

.nsa-athlete-stats div,
.nsa-profile-rank-chip,
.nsa-profile-attribute-card,
.nsa-summary-card {
  padding: 0.95rem 1rem;
}

.nsa-athlete-stats strong,
.nsa-profile-rank-chip strong,
.nsa-profile-attribute-top span,
.nsa-summary-card strong,
.nsa-performance-rating {
  display: block;
  color: #182253;
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
}

.nsa-athlete-stats span,
.nsa-profile-rank-chip span,
.nsa-profile-rank-chip small {
  color: #5f6792;
  font-size: 0.86rem;
}

.nsa-profile-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.nsa-profile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 13, 39, 0.58);
  backdrop-filter: blur(8px);
}

.nsa-profile-dialog {
  position: relative;
  width: min(1100px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  margin: 1rem auto;
  overflow: auto;
  border-radius: 1.8rem;
  background: linear-gradient(180deg, #ffffff, #f5f8ff);
  box-shadow: 0 30px 80px rgba(5, 12, 40, 0.36);
}

.nsa-profile-body {
  padding: 1.5rem;
  color: #1f2851;
}

.nsa-profile-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 34, 84, 0.1);
  color: #1b2d74;
}

.nsa-profile-rank-grid,
.nsa-profile-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.2rem;
}

.nsa-profile-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.nsa-profile-section {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.nsa-profile-attribute-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nsa-profile-attribute-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.7rem;
}

.nsa-empty-state-card {
  display: grid;
  place-items: center;
  gap: 0.6rem;
  padding: 1.5rem;
  text-align: center;
  color: #4f5b90;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 991px) {
  .nsa-portal-filter-row,
  .nsa-profile-info-grid,
  .nsa-profile-attribute-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .nsa-athlete-card-top,
  .nsa-profile-hero,
  .nsa-performance-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .nsa-athlete-stats,
  .nsa-profile-rank-grid,
  .nsa-profile-summary-grid,
  .nsa-profile-attribute-grid {
    grid-template-columns: 1fr;
  }

  .nsa-profile-dialog {
    width: calc(100vw - 1rem);
    margin: 0.5rem auto;
    max-height: calc(100vh - 1rem);
  }

  .nsa-profile-body {
    padding: 1rem;
  }
}

.nsa-public-athlete-shell {
  position: relative;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.96)),
    linear-gradient(120deg, rgba(240, 200, 8, 0.08), transparent 32%);
  color: #1f2851;
  border: 1px solid rgba(45, 52, 143, 0.08);
  box-shadow: 0 20px 50px rgba(8, 20, 71, 0.12);
}

.nsa-public-athlete-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.nsa-public-athlete-title {
  font-family: "Sora", sans-serif;
  color: #182253;
  font-size: clamp(2rem, 3vw, 3rem);
}

.nsa-public-athlete-status:empty {
  display: none;
}

.nsa-public-athlete-body {
  display: grid;
  gap: 1.25rem;
}

@media (max-width: 767px) {
  .nsa-public-athlete-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .nsa-public-athlete-back {
    width: 100%;
    justify-content: center;
  }
}
