*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #0a0a0a;
  --red: #c41e2a;
  --red-glow: #e8242f;
  --white: #f5f5f5;
  --grey: #8a8a8a;
  --grey-dark: #2a2a2a;
  --nav-height: 4.5rem;
}

html,
body {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  overflow-y: auto;
  font-family: "Rajdhani", system-ui, sans-serif;
  background: var(--black);
  color: var(--white);
}

body.nav-open {
  overflow: hidden;
}

/* Navigation */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
}

.nav-logo {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}

.nav-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--grey);
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link--active {
  color: var(--white);
}

.nav-link--active::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 0.2rem;
  background: var(--red);
  box-shadow: 0 0 8px rgba(196, 30, 42, 0.6);
  border-radius: 1px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.5rem 1.5rem;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-menu--open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .nav-link--active::after {
    display: none;
  }

  .nav-link--active {
    color: var(--red-glow);
  }
}

/* Hero */

.hero {
  position: relative;
  z-index: 1;
  width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.video-background .bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-height: 100dvh;
  min-width: 177.78vh;
  min-width: 177.78dvh;
  transform: translate(-50%, -50%);
  object-fit: cover;
  border: none;
  pointer-events: none;
}

.bg-video::-webkit-media-controls {
  display: none !important;
}

.bg-video::-webkit-media-controls-enclosure {
  display: none !important;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(10, 10, 10, 0.7) 0%,
      rgba(10, 10, 10, 0.45) 35%,
      rgba(10, 10, 10, 0.55) 100%
    );
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: calc(var(--nav-height) + 1rem) 1.5rem 1.5rem;
  max-width: 90vw;
}

.logo {
  width: clamp(140px, 28vw, 320px);
  height: auto;
  margin-bottom: clamp(1rem, 3vh, 2rem);
  filter: drop-shadow(0 0 24px rgba(232, 36, 47, 0.35));
}

.welcome {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  line-height: 1.1;
}

.welcome-line {
  font-size: clamp(1.25rem, 3.5vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}

.welcome-brand {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow:
    0 0 20px rgba(196, 30, 42, 0.5),
    0 0 60px rgba(196, 30, 42, 0.25);
}

.hero-intro {
  margin-top: clamp(1.25rem, 3vh, 2rem);
  max-width: 38rem;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--white);
}

.cta-button {
  position: relative;
  display: inline-block;
  margin-top: clamp(1.5rem, 3vh, 2.25rem);
  padding: 0.9rem 2.25rem;
  font-family: inherit;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: var(--red);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  box-shadow:
    0 0 20px rgba(196, 30, 42, 0.5),
    0 0 40px rgba(196, 30, 42, 0.25);
  animation: cta-glow 2.5s ease-in-out infinite;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 0;
}

.cta-button::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 6px;
  background: transparent;
  box-shadow: 0 0 24px 4px rgba(232, 36, 47, 0.45);
  opacity: 0.6;
  animation: cta-ring 2.5s ease-in-out infinite;
  z-index: -1;
}

.cta-button:hover {
  background: var(--red-glow);
  transform: translateY(-2px);
}

.cta-button:active {
  transform: translateY(0);
}

@keyframes cta-glow {
  0%, 100% {
    box-shadow:
      0 0 20px rgba(196, 30, 42, 0.5),
      0 0 40px rgba(196, 30, 42, 0.25);
  }
  50% {
    box-shadow:
      0 0 28px rgba(232, 36, 47, 0.75),
      0 0 56px rgba(232, 36, 47, 0.4),
      0 0 80px rgba(232, 36, 47, 0.2);
  }
}

@keyframes cta-ring {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.03);
  }
}

@media (max-width: 480px) {
  .welcome-line {
    letter-spacing: 0.12em;
  }

  .welcome-brand {
    letter-spacing: 0.04em;
  }

  .nav-title {
    font-size: 1rem;
  }

  .hero-intro {
    letter-spacing: 0.02em;
  }

  .cta-button {
    width: 100%;
    max-width: 20rem;
    padding: 0.85rem 1.5rem;
  }
}

/* Team hierarchy */

.team-section {
  position: relative;
  z-index: 10;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 5rem 1.5rem 4.5rem;
}

.team-section__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.team-section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.team-section__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 0 24px rgba(196, 30, 42, 0.35);
}

.team-section__subtitle {
  margin-top: 0.75rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--grey);
  line-height: 1.6;
}

.team-section__empty {
  text-align: center;
  color: var(--grey);
  font-size: 1.1rem;
}

.team-hierarchy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.team-tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.team-tier__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
}

.team-tier__connector {
  width: 2px;
  height: 2.5rem;
  margin: 1rem 0;
  background: linear-gradient(to bottom, var(--red), rgba(196, 30, 42, 0.2));
  box-shadow: 0 0 10px rgba(196, 30, 42, 0.45);
}

.team-tier__connector--branch {
  position: relative;
  width: min(100%, 42rem);
  height: 2.5rem;
  margin: 1rem 0 0.5rem;
  background: none;
  box-shadow: none;
}

.team-tier__connector--branch::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 1.25rem;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, var(--red), rgba(196, 30, 42, 0.35));
  box-shadow: 0 0 10px rgba(196, 30, 42, 0.45);
}

.team-tier__connector--branch::after {
  content: "";
  position: absolute;
  top: 1.25rem;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(
    to right,
    rgba(196, 30, 42, 0.2),
    var(--red) 20%,
    var(--red) 80%,
    rgba(196, 30, 42, 0.2)
  );
  box-shadow: 0 0 10px rgba(196, 30, 42, 0.35);
}

.team-branches {
  width: 100%;
  max-width: 100%;
  margin-top: 0.5rem;
}

.team-branches__titles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.75rem;
}

.team-branches__title {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--white);
  text-shadow: 0 0 20px rgba(196, 30, 42, 0.3);
}

.team-branches__title--admin {
  color: var(--white);
}

.team-branches__title--support {
  color: var(--white);
}

.team-branches__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.team-branch {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-branch::before {
  content: "";
  position: absolute;
  top: -1.75rem;
  left: 50%;
  width: 2px;
  height: 1.25rem;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(196, 30, 42, 0.35), var(--red));
  box-shadow: 0 0 8px rgba(196, 30, 42, 0.35);
}

.team-branch__members {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.team-branch__row {
  display: grid;
  gap: 0.85rem;
  width: 100%;
  padding: 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.team-branch__row--count-1 {
  grid-template-columns: minmax(0, 11.5rem);
  justify-content: center;
}

.team-branch__row--count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-branch__row--count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-branch__members .team-card {
  width: 100%;
  max-width: none;
  padding: 1.2rem 0.75rem 1rem;
}

.team-branch__members .team-card__avatar-wrap {
  width: 4.75rem;
  height: 4.75rem;
}

.team-branch__members .team-card__name {
  margin-top: 0.85rem;
  font-size: 1.05rem;
}

.team-branch__members .team-card__rank {
  font-size: 0.78rem;
}

.team-branch__members .team-card__team {
  font-size: 0.72rem;
  padding: 0.25rem 0.5rem;
}

.team-branch__members .team-card:hover {
  transform: translateY(-4px) scale(1.01);
}

.team-branch__empty {
  margin: 0;
  padding: 1.5rem 1rem;
  width: 100%;
  text-align: center;
  font-size: 0.95rem;
  color: var(--grey);
  letter-spacing: 0.06em;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 768px) {
  .team-branches__titles,
  .team-branches__columns {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .team-branch__row--count-2,
  .team-branch__row--count-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-tier__connector--branch {
    width: 2px;
    height: 2.5rem;
  }

  .team-tier__connector--branch::after {
    display: none;
  }

  .team-branch::before {
    display: none;
  }
}

.team-card {
  --card-accent: var(--red);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(100%, 15rem);
  padding: 1.75rem 1.35rem 1.5rem;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--card-accent) 14%, transparent) 0%, rgba(18, 18, 18, 0.95) 45%, rgba(12, 12, 12, 0.98) 100%);
  border: 1px solid color-mix(in srgb, var(--card-accent) 35%, rgba(255, 255, 255, 0.1));
  border-top: 3px solid var(--card-accent);
  border-radius: 10px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.45),
    0 0 28px color-mix(in srgb, var(--card-accent) 22%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--card-accent) 20%, transparent);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--card-accent) 28%, transparent), transparent 62%);
  pointer-events: none;
}

.team-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: color-mix(in srgb, var(--card-accent) 65%, rgba(255, 255, 255, 0.15));
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.5),
    0 0 36px color-mix(in srgb, var(--card-accent) 38%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--card-accent) 30%, transparent);
}

.team-card__avatar-wrap {
  position: relative;
  z-index: 1;
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--card-accent);
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--card-accent) 18%, transparent),
    0 0 24px color-mix(in srgb, var(--card-accent) 45%, transparent);
}

.team-card__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card__name {
  position: relative;
  z-index: 1;
  margin-top: 1.15rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--white);
  text-shadow: 0 0 18px color-mix(in srgb, var(--card-accent) 35%, transparent);
}

.team-card__rank {
  position: relative;
  z-index: 1;
  margin-top: 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--card-accent);
  text-shadow: 0 0 14px color-mix(in srgb, var(--card-accent) 40%, transparent);
}

.team-card__team {
  position: relative;
  z-index: 1;
  margin-top: 0.35rem;
  padding: 0.3rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--grey);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

/* Partners */

.partners-section {
  position: relative;
  z-index: 10;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 5rem 1.5rem 4.5rem;
}

.partners-section__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.partners-section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.partners-section__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 0 24px rgba(196, 30, 42, 0.35);
}

.partners-section__subtitle {
  margin-top: 0.75rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--grey);
  line-height: 1.6;
}

.partners-section__empty {
  text-align: center;
  color: var(--grey);
  font-size: 1.1rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: 1.5rem;
}

.partner-card {
  --card-accent: var(--red);
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--card-accent) 12%, transparent) 0%, rgba(14, 14, 14, 0.96) 100%);
  border: 1px solid color-mix(in srgb, var(--card-accent) 35%, rgba(255, 255, 255, 0.1));
  border-top: 3px solid var(--card-accent);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.45),
    0 0 24px color-mix(in srgb, var(--card-accent) 18%, transparent);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.partner-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--card-accent) 65%, rgba(255, 255, 255, 0.15));
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.5),
    0 0 36px color-mix(in srgb, var(--card-accent) 32%, transparent);
}

.partner-card__banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.partner-card__banner--placeholder {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--card-accent) 35%, #141414),
    rgba(20, 20, 20, 0.95)
  );
}

.partner-card__banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.partner-card:hover .partner-card__banner-image {
  transform: scale(1.04);
}

.partner-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
  padding: 1.35rem 1.25rem 1.25rem;
}

.partner-card__name {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  text-shadow: 0 0 16px color-mix(in srgb, var(--card-accent) 30%, transparent);
}

.partner-card__description {
  margin: 0;
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--grey);
}

.partner-card__cta {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--card-accent);
}

/* Footer */

.site-footer {
  position: relative;
  z-index: 10;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.site-footer__logo {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.site-footer__name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

.site-footer__nav a {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--grey);
  transition: color 0.2s ease;
}

.site-footer__nav a:hover {
  color: var(--white);
}

.site-footer__admin-link {
  color: var(--grey) !important;
  opacity: 0.75;
}

.site-footer__admin-link:hover {
  color: var(--white) !important;
  opacity: 1;
}

.site-footer__copy {
  font-size: 0.85rem;
  color: var(--grey);
  letter-spacing: 0.04em;
}

@media (min-width: 768px) {
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .site-footer__nav {
    order: 2;
  }

  .site-footer__copy {
    order: 3;
    width: 100%;
    text-align: center;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
  }
}
