.login-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.passcode-inputs {
  display: flex;
  gap: 12px;
}

.passcode-inputs input {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.35);
  text-align: center;
  font-size: 24px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.passcode-inputs input:focus {
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}
:root {
  color-scheme: dark;
  font-family: 'Barlow', 'Segoe UI', sans-serif;
  --text: #f6fbff;
  --muted: #99b5ff;
  --panel: rgba(5, 12, 31, 0.75);
  --outline: rgba(255, 255, 255, 0.2);
}

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background-color: #020611;
}

.is-hidden {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
}

.page-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -2;
}

.page-bg .bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.page-bg .page-2 {
  opacity: 0.25;
  mix-blend-mode: screen;
}


.page-bg .logo-center {
  width: 50vw;
  max-width: 540px;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
}



main {
  width: 100%;
  padding: 0 5vw 120px;
  box-sizing: border-box;
}

.topbar {
  width: min(1920px, 90%);
  margin: 0 auto;
  padding: 32px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo-nav {
  width: 70px;
  height: auto;
}

.primary-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
}

.primary-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  position: relative;
}

.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(120deg, #41b7ff, #1f4dc2);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-login-mobile {
  display: none;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  background: rgba(2, 6, 17, 0.45);
}

.user-info__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(65, 183, 255, 0.8), rgba(31, 77, 194, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
}

.user-info__details {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 6px;
}

.user-info__name {
  font-weight: 600;
  font-size: 14px;
}

.user-info__email {
  font-size: 12px;
  color: var(--muted);
}

.user-info__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.user-info__change {
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.user-info__change:hover,
.user-info__change:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.user-info__logout {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.user-info__logout:hover,
.user-info__logout:focus-visible {
  color: var(--text);
}

.menu-toggle {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 60%;
  margin: 0 auto;
  background: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.top-actions .nav-login-desktop {
  min-width: 150px;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 12px 30px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-weight: 600;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.45);
}

.btn.is-pressed {
  transform: translateY(1px) scale(0.98);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.3);
}

.btn.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.form-message {
  font-size: 13px;
  margin: 5px 0 0;
  min-height: 18px;
}

.form-message.is-error {
  color: #ff8f8f;
}

.form-message.is-success {
  color: #7fffcb;
}

.btn.ghost {
  background: linear-gradient(100.67deg, rgba(114, 129, 184, 0.35) -64.47%, rgba(28, 36, 76, 0.49) 27.41%, rgba(114, 129, 184, 0.35) 115.83%);
  border: 1px solid var(--outline);
  border-radius: 0px 20px 0px 20px;
  color: var(--text);
}

.btn.solid {
  background: linear-gradient(100.67deg, rgba(114, 129, 184, 0.35) -64.47%, rgba(28, 36, 76, 0.49) 27.41%, rgba(114, 129, 184, 0.35) 115.83%);
  border: 1px solid var(--outline);
  border-radius: 0px 20px 0px 20px;
  color: var(--text);
}

.btn.outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text);
}

.hero {
  text-align: center;
  padding: 30px 0 40px;
  position: relative;
}

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

.hero-copy .overline {
  font-family: 'Anton', sans-serif;
  letter-spacing: 8px;
  text-transform: uppercase;
  font-size: 70px;
  font-weight: 900;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(180deg, rgba(14, 42, 142, 1) 5.05%, rgba(28, 36, 76, 1) 95.4%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy .overline::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  -webkit-text-stroke: 5px rgb(62 76 95 / 10%);
  z-index: -1;
}

.hero-copy h1 {
  margin: 18px 0 30px;
  font-size: clamp(32px, 4vw, 48px);
  text-transform: uppercase;
}

.hero-graphic {
  width: min(520px, 90%);
  margin: 0 auto;
  position: relative;
  padding: 30px 0 0;
}

.hero-graphic .character {
  width: 100%;
  filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.7));
}

.union {
  position: absolute;
  pointer-events: none;
}

.union-total-line {
  width: 32%;
  top: 12%;
  left: 6%;
}

.union-online-line {
  width: 32%;
  top: 52%;
  left: 6%;
}

.stat {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
}

.stat .value {
  font-size: 32px;
  font-weight: 600;
  color: #e9efff;
  padding: 0px 20px;
  letter-spacing: 4px;
  position: relative;
  display: inline-block;
}

.stat .value::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow:
    0 6px 15px rgba(0, 0, 0, 0.55),
    0 -6px 18px rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.25) 30%, rgba(255, 255, 255, 0.65) 50%, rgba(255, 255, 255, 0) 100%);
  opacity: 0.6;
  filter: blur(10.8px);
  pointer-events: none;
}

.stat-total {
  left: 10px;
  top: -10px;
}

.stat-online {
  left: 4%;
  bottom: 175px;
}

.hero-graphic .cta {
  position: absolute;
  right: -25%;
  top: 0px;
  width: auto;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.hero-graphic .cta .btn {
  min-width: 180px;
}

.union-play {
  position: absolute;
  width: 37%;
  right: -7%;
  top: 13%;
  pointer-events: none;
}

.hero-graphic .socials {
  position: absolute;
  right: -55%;
  bottom: 5%;
  display: flex;
  gap: 16px;
}

.hero-graphic .socials a {
  width: 75px;
  height: 75px;
  /* border-radius: 18px; */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* background: rgba(255, 255, 255, 0.05); */
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
  /* padding: 12px; */
  cursor: pointer;
}

.hero-divider {
  width: 100%;
  height: 2px;
  margin-top: 30px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-radius: 999px;
}
.login-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.login-modal.active {
  display: flex;
}

.login-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.login-modal__panel {
  position: relative;
  width: min(900px, 90%);
  border-radius: 36px;
  background: linear-gradient(135deg, #25356c, #121d3f);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-modal__panel--register,
.login-modal__panel--forgot,
.login-modal__panel--passcode,
.login-modal__panel--reset {
  grid-template-columns: 1.2fr 0.8fr;
}

.login-modal__panel--register .login-modal__right,
.login-modal__panel--forgot .login-modal__right,
.login-modal__panel--passcode .login-modal__right,
.login-modal__panel--reset .login-modal__right {
  order: 1;
  padding: 40px 50px 40px 60px;
}

.login-modal__panel--register .login-modal__left,
.login-modal__panel--forgot .login-modal__left,
.login-modal__panel--passcode .login-modal__left,
.login-modal__panel--reset .login-modal__left {
  order: 2;
  padding-left: 0;
  padding-right: 40px;
}

.login-modal__left {
  position: relative;
  overflow: visible;
  padding-left: 50px;
}

.login-modal__left img {
  width: 160%;
  max-width: none;
  margin-left: -50%;
  /* margin-top: 0%; */
  height: 100%;
  object-fit: cover;
}

.login-modal__left--register img,
.login-modal__left--forgot img,
.login-modal__left--passcode img,
.login-modal__left--reset img {
  width: 150%;
  margin-left: 0%;
  margin-top: 15%;
  height: auto;
  transform: scaleX(-1);
}

.login-modal__left--register .login-modal__back--image,
.login-modal__left--forgot .login-modal__back--image,
.login-modal__left--passcode .login-modal__back--image,
.login-modal__left--reset .login-modal__back--image {
  left: auto;
  right: 24px;
}

.login-modal__right {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-modal__back {
  background: transparent;
  border: none;
  color: #cfd8ff;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
}

.login-modal__back--image {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 22px;
  font-weight: 1000;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.login-modal__back--mobile {
  display: none;
  align-self: flex-start;
}

.login-modal__right h2 {
  margin: 0;
  font-size: 32px;
  text-transform: uppercase;
  color: #fff;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.login-field span {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.login-input {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.35);
}

 .login-input img {
   width: 24px;
   height: 24px;
   opacity: 0.9;
 }

 .login-input input {
   border: none;
   background: transparent;
   color: #fff;
   font-size: 14px;
   flex: 1;
   width: 100%;
   outline: none;
 }

.toggle-password {
  width: 26px;
  height: 26px;
  border: none;
  background: transparent url('assets/eye.svg') center/20px 20px no-repeat;
  cursor: pointer;
}

.toggle-password.is-visible {
  background-image: url('assets/eye-off.svg');
}

.login-submit {
  align-self: flex-start;
}

.login-extra {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.login-extra a {
  color: #8cc2ff;
  text-decoration: none;
}

.login-modal__close,
.login-modal__back {
  font-family: inherit;
}

.guide-divider {
  width: 100%;
  height: 2px;
  margin-top: 50px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  border-radius: 999px;
}

.about-divider {
  width: 45%;
  height: 2px;
  margin: 5px auto 30px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border-radius: 999px;
}

.section-title {
  text-align: center;
  letter-spacing: 10px;
  text-transform: uppercase;
  color: #e5ebff;
  font-size: 26px;
  /* margin-bottom: 0px; */
  display: flex;
  justify-content: center;
}

.skew-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 50px;
}

.skew-title::before,
.skew-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.4));
}

.skew-title span {
  display: inline-block;
  padding: 18px 80px;
  border-radius: 0px 20px 0px 20px;
  font-size: clamp(26px, 4vw, 44px);
  letter-spacing: 12px;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(14, 42, 142, 0.8), rgba(28, 36, 76, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.55),
    0 0 25px rgba(48, 110, 255, 0.35);
  position: relative;
  overflow: hidden;
}

.skew-title span em {
  position: relative;
  font-style: normal;
  z-index: 1;
}

.skew-title span::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.25);
  opacity: 0.5;
}

.skew-title span::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -20%;
  width: 40%;
  height: 160%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.3), transparent 70%);
  transform: translateY(-50%) rotate(25deg);
}
.guide {
  /* margin-top: 100px; */
  padding: 80px 60px;
  border-radius: 50px;
  /* background: rgba(8, 18, 43, 0.9); */
  /* border: 1px solid rgba(255, 255, 255, 0.05); */
  /* box-shadow: 0 45px 90px rgba(3, 8, 23, 0.9); */
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.step {
  position: relative;
  border-radius: 32px 32px 32px 0;
  padding: 20% 15% 20% 15%;
  background: linear-gradient(180deg, rgba(10, 30, 76, 0.95), rgba(3, 13, 38, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 340px;
  overflow: hidden;
  transform: skewX(-8deg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
}

.step::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 55%);
  pointer-events: none;
}

.step-content {
  position: relative;
  transform: skewX(8deg);
  display: flex;
  flex-direction: column;
  height: 100%;
  z-index: 1;
}

.step .number {
  position: absolute;
  top: -10%;
  left: 50%;
  font-size: 110px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  transform: skewX(
160deg);
}

.step h3 {
  margin-top: 120px;
  font-size: 20px;
  letter-spacing: 1px;
}

.step p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.step .btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 28px;
}

.about {
  margin-top: 120px;
  /* padding: 90px 70px; */
  position: relative;
  overflow: hidden;
}

.about-content {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 60px;
  align-items: center;
  padding: 40px 0;
}

.about-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-logo-wrap img {
  width: 100%;
  max-width: 260px;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}

.about article {
  text-align: left;
}

.about article h3 {
  text-transform: uppercase;
  font-size: 26px;
  letter-spacing: 6px;
  margin-bottom: 16px;
  color: #9fb8ff;
}

.about article p {
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  /* max-width: 620px; */
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about article {
    text-align: center;
  }
}

footer {
  text-align: center;
  color: #a4b6ff;
  padding: 0px 20px 0px;
  font-size: 13px;
}

footer img {
  margin: 0 auto 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 10px;
}

footer a {
  color: inherit;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
}

@media (max-width: 960px) {
  .stat,
  .union-play {
    display: none;
  }

  .guide {
    padding: 40px 24px;
  }

  .step {
    transform: none;
    border-radius: 24px;
    padding: 28px 24px 32px;
    min-height: auto;
  }

  .step::before {
    display: none;
  }

  .step-content {
    transform: none;
  }

  .step .number {
    position: static;
    font-size: 48px;
    margin-bottom: 12px;
  }

  .step h3 {
    margin-top: 0;
  }

  .step .btn {
    align-self: stretch;
    text-align: center;
  }

  .primary-nav {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 17, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1000;
    font-size: 18px;
  }

  .primary-nav.open {
    transform: translateX(0);
  }

  .nav-login-mobile {
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 24px;
    border-radius: 999px;
  }

  .top-actions .nav-login-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero-graphic .union {
    display: none;
  }

  .hero-graphic .cta {
    position: static;
    align-items: center;
    margin: 25px auto 0;
  }

  .hero-graphic .cta .btn {
    width: 100%;
  }

  .hero-graphic .socials {
    position: static;
    justify-content: center;
    margin-top: 30px;
  }

  .step {
    transform: none;
  }

  .step-content {
    transform: none;
  }

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

  .login-modal__left {
    display: none;
  }

  .login-modal__back--image {
    display: none;
  }

  .login-modal__back--mobile {
    display: inline-flex;
  }

  .login-modal__right {
    padding: 32px;
  }

  .login-modal__panel--register .login-modal__right,
  .login-modal__panel--forgot .login-modal__right {
    padding: 32px;
  }
}