/* =========================================================
   THE NETWORK
   TRAINING ZONE
   ========================================================= */


.network-hub {
  min-height: calc(100vh - 82px);
  padding: 52px 24px 80px;

  background:
    radial-gradient(
      circle at 12% 6%,
      rgba(31, 125, 255, 0.16),
      transparent 30%
    ),
    radial-gradient(
      circle at 92% 35%,
      rgba(125, 55, 255, 0.14),
      transparent 34%
    ),
    radial-gradient(
      circle at 40% 100%,
      rgba(0, 211, 255, 0.07),
      transparent 35%
    ),
    linear-gradient(
      180deg,
      #071126 0%,
      #0c1230 47%,
      #130b35 100%
    );
}


/* =========================================================
   HERO
   ========================================================= */


.network-hub-hero {
  width: min(1240px, 100%);
  margin: 0 auto 34px;

  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
}


.network-hub-hero-copy {
  max-width: 760px;
}


.network-hub-label {
  display: inline-flex;
  align-items: center;

  min-height: 34px;
  padding: 0 15px;

  border-radius: 999px;

  background:
    rgba(71, 216, 255, 0.09);

  border:
    1px solid rgba(71, 216, 255, 0.26);

  color: #47d8ff;

  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
}


.network-hub-hero h1 {
  margin: 16px 0 14px;

  color: #ffffff;

  font-size:
    clamp(48px, 7vw, 76px);

  line-height: 1;

  letter-spacing: -0.04em;
}


.network-hub-hero p {
  max-width: 640px;

  margin: 0;

  color: #c7d4ed;

  font-size: 19px;
  line-height: 1.6;
}


.network-hub-status {
  min-width: 215px;

  padding: 18px 20px;

  border-radius: 18px;

  background:
    rgba(255, 255, 255, 0.045);

  border:
    1px solid rgba(93, 242, 173, 0.20);

  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.22);
}


.network-hub-status-label {
  margin-bottom: 7px;

  color: #8093b4;

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
}


.network-hub-status strong {
  display: block;

  margin-bottom: 4px;

  color: #5df2ad;

  font-size: 23px;
}


.network-hub-status span {
  color: #bac8df;

  font-size: 13px;
}


/* =========================================================
   LESSON ZONES
   ========================================================= */


.lesson-zone {
  width: min(1240px, 100%);

  margin: 0 auto 32px;

  padding: 28px;

  border-radius: 28px;

  background:
    linear-gradient(
      145deg,
      rgba(22, 42, 79, 0.89),
      rgba(10, 22, 46, 0.94)
    );

  border:
    1px solid rgba(77, 183, 255, 0.16);

  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.24);
}


.lesson-zone-two {
  border-color:
    rgba(146, 105, 255, 0.18);
}


.lesson-zone-header {
  margin-bottom: 24px;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 26px;
}


.lesson-zone-header > div:first-child {
  max-width: 760px;
}


.lesson-zone-number {
  margin-bottom: 8px;

  color: #47d8ff;

  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
}


.lesson-zone-number-two {
  color: #ab8bff;
}


.lesson-zone-header h2 {
  margin: 0 0 10px;

  color: #ffffff;

  font-size: 34px;
  line-height: 1.15;
}


.lesson-zone-header p {
  margin: 0;

  color: #aebed8;

  font-size: 15px;
  line-height: 1.55;
}


.lesson-zone-badge {
  flex: 0 0 auto;

  padding: 10px 14px;

  border-radius: 999px;

  background:
    rgba(71, 216, 255, 0.08);

  border:
    1px solid rgba(71, 216, 255, 0.22);

  color: #47d8ff;

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.11em;
}


.lesson-zone-badge-two {
  background:
    rgba(171, 139, 255, 0.08);

  border-color:
    rgba(171, 139, 255, 0.24);

  color: #b89cff;
}


/* =========================================================
   MISSION GRID
   ========================================================= */


.mission-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 16px;
}


/* =========================================================
   MISSION CARD
   ========================================================= */


.mission-card {
  position: relative;

  min-height: 285px;

  padding: 20px;

  box-sizing: border-box;

  border-radius: 21px;

  display: flex;
  flex-direction: column;

  overflow: hidden;

  text-decoration: none;

  color: #ffffff;

  background:
    rgba(255, 255, 255, 0.035);

  border:
    1px solid rgba(255, 255, 255, 0.08);

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}


.mission-card::before {
  content: "";

  position: absolute;

  width: 150px;
  height: 150px;

  right: -55px;
  top: -55px;

  border-radius: 50%;

  background:
    var(--mission-glow);

  opacity: 0.11;

  filter: blur(4px);

  pointer-events: none;
}


.mission-card-active {
  cursor: pointer;
}


.mission-card-active:hover {
  transform: translateY(-6px);

  border-color:
    var(--mission-accent);

  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.28),
    0 0 26px var(--mission-shadow);
}


.mission-card-locked {
  opacity: 0.68;
}


.mission-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 20px;
}


.mission-number {
  color: rgba(255, 255, 255, 0.42);

  font-size: 22px;
  font-weight: 900;
}


.mission-state {
  padding: 6px 9px;

  border-radius: 999px;

  background:
    rgba(93, 242, 173, 0.10);

  border:
    1px solid rgba(93, 242, 173, 0.19);

  color: #5df2ad;

  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.10em;
}


.mission-state-next {
  background:
    rgba(255, 180, 76, 0.08);

  border-color:
    rgba(255, 180, 76, 0.18);

  color: #ffc066;
}


.mission-state-soon {
  background:
    rgba(255, 255, 255, 0.05);

  border-color:
    rgba(255, 255, 255, 0.09);

  color: #8292ad;
}


.mission-card-icon {
  width: 52px;
  height: 52px;

  margin-bottom: 20px;

  border-radius: 15px;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    rgba(255, 255, 255, 0.06);

  border:
    1px solid rgba(255, 255, 255, 0.09);

  color:
    var(--mission-accent);

  font-size: 28px;
}


.mission-card h3 {
  margin: 0 0 10px;

  color: #ffffff;

  font-size: 21px;
  line-height: 1.25;
}


.mission-card p {
  margin: 0 0 22px;

  color: #aab9d3;

  font-size: 14px;
  line-height: 1.55;
}


.mission-card-button {
  margin-top: auto;

  color:
    var(--mission-accent);

  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}


.mission-card-button-muted {
  color: #75849d;
}


/* =========================================================
   MISSION COLOURS
   ========================================================= */


.mission-blue {
  --mission-accent: #47d8ff;
  --mission-shadow: rgba(71, 216, 255, 0.18);
  --mission-glow: #47d8ff;
}


.mission-purple {
  --mission-accent: #9b7cff;
  --mission-shadow: rgba(155, 124, 255, 0.18);
  --mission-glow: #9b7cff;
}


.mission-orange {
  --mission-accent: #ffad4d;
  --mission-shadow: rgba(255, 173, 77, 0.18);
  --mission-glow: #ffad4d;
}


.mission-red {
  --mission-accent: #ff7187;
  --mission-shadow: rgba(255, 113, 135, 0.18);
  --mission-glow: #ff7187;
}


.mission-cyan {
  --mission-accent: #42e4dd;
  --mission-shadow: rgba(66, 228, 221, 0.18);
  --mission-glow: #42e4dd;
}


.mission-yellow {
  --mission-accent: #ffd35a;
  --mission-shadow: rgba(255, 211, 90, 0.18);
  --mission-glow: #ffd35a;
}


.mission-green {
  --mission-accent: #5df2ad;
  --mission-shadow: rgba(93, 242, 173, 0.18);
  --mission-glow: #5df2ad;
}


.mission-pink {
  --mission-accent: #ff7dd7;
  --mission-shadow: rgba(255, 125, 215, 0.18);
  --mission-glow: #ff7dd7;
}


/* =========================================================
   LOGIN PAGE
   ========================================================= */


.network-login-page {
  min-height: calc(100vh - 82px);

  padding: 40px 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(71, 216, 255, 0.13),
      transparent 35%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(142, 78, 255, 0.12),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      #071126,
      #130b35
    );
}


.network-login-card {
  width: min(500px, 100%);

  padding: 46px 42px;

  border-radius: 28px;

  text-align: center;

  background:
    linear-gradient(
      145deg,
      rgba(23, 44, 84, 0.96),
      rgba(9, 21, 45, 0.98)
    );

  border:
    1px solid rgba(71, 216, 255, 0.20);

  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.35),
    0 0 42px rgba(71, 216, 255, 0.07);
}


.network-login-symbol {
  margin-bottom: 14px;

  color: #47d8ff;

  font-size: 60px;
}


.network-login-label {
  display: inline-flex;

  padding: 7px 13px;

  border-radius: 999px;

  background:
    rgba(71, 216, 255, 0.08);

  border:
    1px solid rgba(71, 216, 255, 0.20);

  color: #47d8ff;

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
}


.network-login-card h1 {
  margin: 18px 0 10px;

  color: #ffffff;

  font-size: 46px;
}


.network-login-card p {
  margin: 0 0 26px;

  color: #adbed8;

  font-size: 16px;
}


.network-login-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}


.network-login-form input {
  width: 100%;

  min-height: 54px;

  padding: 0 18px;

  border-radius: 15px;

  border:
    1px solid rgba(255, 255, 255, 0.12);

  outline: none;

  background:
    rgba(255, 255, 255, 0.055);

  color: #ffffff;

  font: inherit;
  font-size: 16px;

  text-align: center;

  letter-spacing: 0.10em;
}


.network-login-form input:focus {
  border-color: #47d8ff;

  box-shadow:
    0 0 0 4px rgba(71, 216, 255, 0.06);
}


.network-enter-button {
  min-height: 54px;

  border: 0;

  border-radius: 15px;

  background:
    linear-gradient(
      135deg,
      #47d8ff,
      #4277ff
    );

  color: #071225;

  font: inherit;
  font-weight: 900;

  cursor: pointer;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}


.network-enter-button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 14px 30px rgba(71, 216, 255, 0.18);
}


.network-login-error {
  margin-top: 16px;

  color: #ff8796;

  font-size: 14px;
  font-weight: 800;
}


/* =========================================================
   TABLET
   ========================================================= */


@media (max-width: 1050px) {

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


  .network-hub-hero {
    align-items: flex-start;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */


@media (max-width: 700px) {

  .network-hub {
    padding:
      34px 16px
      55px;
  }


  .network-hub-hero {
    flex-direction: column;
    align-items: stretch;
  }


  .network-hub-status {
    min-width: 0;
  }


  .lesson-zone {
    padding: 20px;

    border-radius: 22px;
  }


  .lesson-zone-header {
    flex-direction: column;
  }


  .lesson-zone-header h2 {
    font-size: 28px;
  }


  .lesson-zone-badge {
    align-self: flex-start;
  }


  .mission-grid {
    grid-template-columns: 1fr;
  }


  .mission-card {
    min-height: 250px;
  }


  .network-login-card {
    padding: 34px 22px;
  }


  .network-login-card h1 {
    font-size: 38px;
  }

}