:root {
  --bg-900: #040913;
  --bg-800: #07142b;
  --bg-700: #0c1f43;
  --brand-500: #2e7fff;
  --brand-400: #5ab4ff;
  --gold-500: #f1bd5d;
  --text-100: #f3f8ff;
  --text-300: #b7cae7;
  --line: rgba(112, 161, 224, 0.28);
  --glass: rgba(6, 18, 41, 0.66);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text-100);
  background:
    radial-gradient(circle at 10% -5%, #114594 0%, transparent 28%),
    radial-gradient(circle at 90% 0%, #17386a 0%, transparent 32%),
    linear-gradient(145deg, var(--bg-900), var(--bg-800) 45%, #040d1d 100%);
  overflow-x: hidden;
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.12;
  background-image: radial-gradient(rgba(255, 255, 255, 0.45) 0.6px, transparent 0);
  background-size: 4px 4px;
}

.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(4, 10, 21, 0.92), rgba(4, 10, 21, 0.55));
  border-bottom: 1px solid rgba(96, 147, 216, 0.2);
}

.nav-wrap {
  min-height: 4.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-100);
  text-decoration: none;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-logo {
  width: 2.45rem;
  height: 2.45rem;
  object-fit: contain;
}

.main-nav {
  margin-left: auto;
  display: flex;
  gap: 1.1rem;
}

.main-nav a {
  color: var(--text-300);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
}

.main-nav a:hover {
  color: var(--brand-400);
}

.menu-toggle {
  display: none;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  min-height: 2.85rem;
  padding: 0.62rem 1.15rem;
  font-weight: 700;
  font-family: "Sora", sans-serif;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #0b1427;
  background: linear-gradient(135deg, var(--gold-500), #daa13a);
  box-shadow: 0 12px 30px rgba(236, 182, 83, 0.34);
}

.btn-ghost {
  color: var(--text-100);
  border-color: var(--line);
  background: rgba(20, 46, 91, 0.42);
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-socials a {
  width: 1.9rem;
  height: 1.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 0.6rem;
  color: var(--brand-400);
  border: 1px solid rgba(122, 174, 244, 0.35);
  background: rgba(16, 43, 85, 0.5);
  font-size: 0.84rem;
}

.nav-socials a:hover {
  color: var(--gold-500);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(88vh, 780px);
  display: grid;
  align-items: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-carousel {
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(3, 8, 20, 0.87) 8%, rgba(3, 16, 39, 0.48) 48%, rgba(3, 8, 20, 0.86) 100%);
}

.hero-slide.is-active {
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 22% 18%, rgba(73, 147, 255, 0.22), transparent 28%),
    linear-gradient(180deg, transparent 52%, rgba(4, 9, 18, 0.84) 100%);
}

.hero-grid {
  width: min(1180px, 92vw);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
}

.hero-copy {
  justify-self: center;
  text-align: center;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.03;
  font-size: clamp(2rem, 5vw, 4.35rem);
  max-width: 14ch;
  margin-inline: auto;
}

.hero-copy p {
  color: var(--text-300);
  max-width: 58ch;
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-family: "Sora", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.73rem;
  color: var(--gold-500);
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
}

.section {
  padding: clamp(3.4rem, 7vw, 5.4rem) 0;
}

.section-head h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.45rem, 3.3vw, 2.45rem);
}

.bento {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.tile,
.feature {
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: linear-gradient(160deg, rgba(14, 34, 68, 0.82), rgba(9, 23, 46, 0.88));
  padding: 1rem;
}

.tile-wide {
  grid-column: span 2;
}

.tile h3,
.feature h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
}

.tile p,
.feature p {
  margin: 0.55rem 0 0;
  color: var(--text-300);
}

.feature-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-members {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-toggle {
  margin-top: 1rem;
  border: 0;
  background: transparent;
  color: var(--brand-400);
  min-height: 2.2rem;
  padding: 0.35rem 0.9rem;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.team-toggle:hover {
  color: var(--gold-500);
}

.shimmer-toggle::before,
.shimmer-toggle::after {
  content: "";
  height: 1px;
  flex: 1 1 auto;
  background: linear-gradient(90deg, transparent, rgba(122, 174, 244, 0.75), transparent);
}

.shimmer-toggle {
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(
    115deg,
    rgba(90, 180, 255, 0.22) 18%,
    rgba(255, 255, 255, 0.85) 50%,
    rgba(90, 180, 255, 0.22) 82%
  );
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmerText 3.2s linear infinite;
}

@keyframes shimmerText {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.team-members-extra {
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  overflow: hidden;
  pointer-events: none;
  transition:
    max-height 0.5s ease,
    opacity 0.35s ease,
    transform 0.35s ease,
    margin-top 0.35s ease;
}

.team-members-extra.is-open {
  margin-top: 0.9rem;
  max-height: 2600px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.member-card {
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.9rem;
  background: linear-gradient(160deg, rgba(13, 33, 66, 0.86), rgba(8, 21, 43, 0.9));
  display: grid;
  gap: 0.7rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.member-card:hover {
  transform: translateY(-3px);
  border-color: rgba(122, 174, 244, 0.65);
  box-shadow: 0 16px 30px rgba(5, 15, 34, 0.38);
}

.member-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.member-avatar {
  width: 2.8rem;
  height: 2.8rem;
  object-fit: contain;
  border-radius: 0.7rem;
  border: 1px solid rgba(112, 161, 224, 0.35);
  background: rgba(5, 17, 38, 0.78);
}

.member-name {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.member-role {
  margin: 0.05rem 0 0;
  color: var(--gold-500);
  font-size: 0.86rem;
  font-weight: 700;
}

.member-meta {
  margin: 0;
  color: var(--text-300);
  font-size: 0.9rem;
}

.team-wrap {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background:
    radial-gradient(circle at 80% 10%, rgba(53, 128, 255, 0.24), transparent 30%),
    linear-gradient(160deg, rgba(15, 36, 72, 0.9), rgba(8, 21, 43, 0.9));
  padding: clamp(1rem, 3.2vw, 2rem);
}

.pill-list {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.pill-list span {
  border: 1px solid rgba(136, 183, 243, 0.38);
  background: rgba(32, 71, 132, 0.38);
  color: var(--text-100);
  padding: 0.55rem 0.82rem;
  border-radius: 999px;
  font-weight: 600;
}

.join-box {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  overflow: hidden;
  display: grid;
  gap: 1rem;
  align-items: center;
  grid-template-columns: 1.5fr auto;
  padding: clamp(1rem, 3vw, 2rem);
  background:
    linear-gradient(120deg, rgba(11, 31, 64, 0.9), rgba(7, 22, 47, 0.9)),
    url("../images/ets2_20260304_145918_00.png") center/cover no-repeat;
  background-blend-mode: overlay;
}

.join-box h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

.join-box p {
  color: var(--text-300);
  max-width: 60ch;
}

.btn-big {
  min-width: 14rem;
}

.partners-wrap {
  margin-top: 1.4rem;
}

.events-wrap {
  margin-top: 1.35rem;
}

.events-title {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
}

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

.event-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(13, 33, 66, 0.86), rgba(8, 21, 43, 0.9));
  display: grid;
}

.event-banner {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.event-body {
  padding: 0.9rem;
  display: grid;
  gap: 0.4rem;
}

.event-name {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.event-meta {
  margin: 0;
  color: var(--gold-500);
  font-size: 0.84rem;
  font-weight: 700;
}

.event-info {
  margin: 0;
  color: var(--text-300);
  font-size: 0.89rem;
}

.event-actions {
  margin-top: 0.35rem;
}

.event-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 0.7rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: #0b1427;
  background: linear-gradient(135deg, var(--gold-500), #daa13a);
}

.partners-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.partner-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.9rem;
  background: linear-gradient(160deg, rgba(13, 33, 66, 0.86), rgba(8, 21, 43, 0.9));
  display: grid;
  gap: 0.75rem;
}

.partner-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.partner-logo {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  border-radius: 0.7rem;
  background: rgba(7, 20, 42, 0.78);
  border: 1px solid rgba(112, 161, 224, 0.35);
}

.partner-logo-placeholder {
  background:
    linear-gradient(135deg, rgba(21, 56, 111, 0.7), rgba(10, 24, 49, 0.9));
}

.partner-name {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.partner-subname {
  margin: 0.2rem 0 0;
  color: var(--text-300);
  font-size: 0.88rem;
}

.partner-links {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.partner-link {
  text-decoration: none;
  color: var(--brand-400);
  border: 1px solid rgba(122, 174, 244, 0.35);
  background: rgba(16, 43, 85, 0.5);
  border-radius: 0.7rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.partner-link:hover {
  color: var(--gold-500);
}

.partner-link-main {
  color: #0b1427;
  background: linear-gradient(135deg, var(--gold-500), #daa13a);
  border-color: transparent;
}

.footer {
  border-top: 1px solid rgba(116, 168, 233, 0.18);
  padding: 2.4rem 0 3rem;
}

.footer-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.footer-brand {
  display: inline-flex;
  align-items: flex-start;
  color: var(--text-100);
  text-decoration: none;
}

.footer-title-row {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.footer-heading-block .eyebrow {
  margin: 0 0 0.2rem;
}

.footer-title-row h2 {
  margin: 0;
}

.footer-legal-links {
  margin: 0.35rem 0 0;
  color: var(--text-300);
  font-size: 0.9rem;
}

.footer-legal-links a {
  color: var(--brand-400);
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: var(--gold-500);
}

.footer-logo {
  width: 6.2rem;
  height: 6.2rem;
  object-fit: contain;
}

.muted {
  color: var(--text-300);
}

.footer-links {
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--brand-400);
}

.footer-links a:hover {
  color: var(--gold-500);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.legal-wrap {
  max-width: 860px;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
  background: linear-gradient(160deg, rgba(13, 33, 66, 0.86), rgba(8, 21, 43, 0.9));
}

.legal-wrap h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.legal-wrap h2 {
  margin: 1.2rem 0 0.45rem;
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
}

.legal-wrap p,
.legal-wrap li {
  color: var(--text-300);
}

@media (max-width: 960px) {
  .menu-toggle {
    margin-left: auto;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 0.75rem;
    border: 1px solid var(--line);
    background: rgba(8, 22, 47, 0.6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.32rem;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 1.2rem;
    height: 2px;
    background: var(--text-100);
  }

  .main-nav {
    position: absolute;
    left: 4vw;
    right: 4vw;
    top: calc(100% + 0.45rem);
    background: rgba(6, 17, 37, 0.96);
    border: 1px solid var(--line);
    border-radius: 0.95rem;
    padding: 0.8rem;
    display: grid;
    gap: 0.35rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: 0.2s ease;
  }

  .main-nav a {
    padding: 0.55rem 0.45rem;
  }

  .nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-wrap > .btn {
    display: none;
  }

  .nav-socials {
    margin-left: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .tile-wide {
    grid-column: auto;
  }

  .feature-grid,
  .team-members,
  .events-grid,
  .partners-grid,
  .join-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-logo {
    width: 5rem;
    height: 5rem;
  }
}
