@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Orbitron:wght@600;700;800&display=swap");

:root {
  --background: #070707;
  --card: rgba(18, 18, 21, 0.82);
  --red: #f41c08;
  --red-light: #ff4b3a;
  --white: #f5f5f5;
  --muted: #98989f;
  --border: rgba(255, 255, 255, 0.09);
  --border-red: rgba(244, 28, 8, 0.32);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--white);
  background:
    radial-gradient(
      circle at 50% -20%,
      rgba(244, 28, 8, 0.13),
      transparent 37%
    ),
    var(--background);
  font-family: "Inter", sans-serif;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

.grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    );
  background-size: 55px 55px;
  mask-image:
    linear-gradient(to bottom, black, transparent 85%);
}

.glow {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: var(--red);
  filter: blur(150px);
  opacity: 0.09;
}

.glow-one {
  top: 5%;
  right: -230px;
}

.glow-two {
  top: 50%;
  left: -300px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  height: 76px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 7, 7, 0.72);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-family: "Orbitron", sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 3px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  height: 35px;
  padding: 0 14px;
  border: 1px solid #ff4b3a;
  border-radius: 9px;
  color: white;
  background:
    linear-gradient(
      145deg,
      #b41c10,
      #731008
    );
  box-shadow:
    inset 0 0 15px rgba(255, 255, 255, 0.06),
    0 0 18px rgba(244, 28, 8, 0.18);
  letter-spacing: 3px;
  line-height: 1;
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 29px;
}

.navbar nav a {
  color: #b9b9be;
  font-size: 13px;
  font-weight: 600;
  transition: 0.2s ease;
}

.navbar nav a:hover {
  color: white;
}

.nav-button {
  padding: 10px 16px;
  border: 1px solid var(--border-red);
  border-radius: 8px;
  color: white !important;
  background: rgba(244, 28, 8, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 75px 0 90px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  color: #c4c4c9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 15px var(--red);
  animation: pulse 1.7s infinite;
}

.hero h1 {
  max-width: 760px;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(47px, 7vw, 88px);
  line-height: 1.04;
  letter-spacing: -3px;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--red);
  text-shadow:
    0 0 45px rgba(244, 28, 8, 0.17);
}

.hero-content > p {
  max-width: 590px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 36px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 23px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
  transition: 0.22s ease;
}

.primary-button {
  color: white;
  background: var(--red);
  box-shadow:
    0 13px 35px rgba(244, 28, 8, 0.22);
}

.primary-button:hover {
  transform: translateY(-3px);
  background: var(--red-light);
  box-shadow:
    0 17px 45px rgba(244, 28, 8, 0.3);
}

.secondary-button {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
}

.secondary-button:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.065);
}

.hero-details {
  display: flex;
  gap: 42px;
  margin-top: 52px;
}

.hero-details div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hero-details strong {
  font-size: 14px;
}

.hero-details span {
  color: #74747b;
  font-size: 12px;
}

.hero-visual {
  display: grid;
  place-items: center;
}

.emblem {
  position: relative;
  display: grid;
  width: min(390px, 35vw);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(244, 28, 8, 0.15),
      transparent 57%
    );
}

.emblem::before {
  position: absolute;
  width: 65%;
  height: 65%;
  border: 1px solid rgba(244, 28, 8, 0.26);
  border-radius: 50%;
  box-shadow:
    0 0 80px rgba(244, 28, 8, 0.12),
    inset 0 0 70px rgba(244, 28, 8, 0.06);
  content: "";
}

.emblem-ring {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 50%;
}

.ring-one {
  width: 90%;
  height: 90%;
  border-left-color: var(--red);
  animation: rotate 15s linear infinite;
}

.ring-two {
  width: 76%;
  height: 76%;
  border-right-color: rgba(244, 28, 8, 0.7);
  animation: rotateReverse 11s linear infinite;
}

.emblem-letter {
  position: relative;
  z-index: 2;
  color: transparent;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(90px, 12vw, 160px);
  font-weight: 800;
  -webkit-text-stroke: 2px var(--red);
  filter:
    drop-shadow(
      0 0 24px rgba(244, 28, 8, 0.32)
    );
}

.emblem-name {
  position: absolute;
  bottom: 21%;
  z-index: 3;
  padding: 7px 14px;
  border: 1px solid var(--border-red);
  border-radius: 5px;
  color: white;
  background: rgba(7, 7, 7, 0.88);
  font-family: "Orbitron", sans-serif;
  font-size: 10px;
  letter-spacing: 5px;
}

.section {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 115px 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 52px;
}

.section-heading > span {
  display: block;
  margin-bottom: 16px;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.4px;
}

.section-heading h2 {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(31px, 5vw, 51px);
  line-height: 1.15;
  letter-spacing: -1.4px;
}

.section-heading p {
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.035),
      transparent
    ),
    var(--card);
  transition: 0.25s ease;
}

.feature-card::after {
  position: absolute;
  right: -40px;
  bottom: -65px;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: var(--red);
  filter: blur(80px);
  opacity: 0;
  transition: 0.3s ease;
  content: "";
}

.feature-card:hover {
  transform: translateY(-7px);
  border-color: var(--border-red);
}

.feature-card:hover::after {
  opacity: 0.18;
}

.card-number {
  color: var(--red);
  font-family: "Orbitron", sans-serif;
  font-size: 12px;
}

.feature-card h3 {
  margin-top: 60px;
  font-size: 19px;
}

.feature-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.process-section {
  width: min(1180px, calc(100% - 40px));
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.process-item {
  display: flex;
  min-height: 180px;
  gap: 22px;
  padding: 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-item:nth-child(2n) {
  border-right: 0;
}

.process-item:nth-child(n + 3) {
  border-bottom: 0;
}

.process-item > span {
  display: grid;
  flex: 0 0 39px;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid var(--border-red);
  border-radius: 9px;
  color: var(--red);
  background: rgba(244, 28, 8, 0.06);
  font-family: "Orbitron", sans-serif;
  font-size: 13px;
}

.process-item h3 {
  margin-top: 6px;
  font-size: 17px;
}

.process-item p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.application-section {
  max-width: 880px;
}

.application-form {
  padding: clamp(23px, 5vw, 42px);
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(
      145deg,
      rgba(244, 28, 8, 0.035),
      transparent 28%
    ),
    rgba(14, 14, 17, 0.92);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.35);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 19px;
}

.field > span {
  color: #d5d5d8;
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 9px;
  outline: none;
  color: white;
  background: rgba(255, 255, 255, 0.035);
  transition: 0.2s ease;
}

.field input,
.field select {
  height: 51px;
  padding: 0 15px;
}

.field textarea {
  min-height: 125px;
  padding: 15px;
  resize: vertical;
  line-height: 1.6;
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(
      45deg,
      transparent 50%,
      #777 50%
    ),
    linear-gradient(
      135deg,
      #777 50%,
      transparent 50%
    );
  background-position:
    calc(100% - 19px) 22px,
    calc(100% - 14px) 22px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.field select option {
  color: white;
  background: #111114;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #66666d;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(244, 28, 8, 0.65);
  background: rgba(244, 28, 8, 0.035);
  box-shadow:
    0 0 0 4px rgba(244, 28, 8, 0.07);
}

.rules-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  color: white;
  background: rgba(255, 255, 255, 0.025);
  transition: 0.2s ease;
}

.rules-trigger:hover {
  border-color: var(--border-red);
  background: rgba(244, 28, 8, 0.035);
}

.rules-trigger.accepted {
  border-color: rgba(62, 207, 112, 0.35);
  background: rgba(62, 207, 112, 0.05);
}

.custom-checkbox {
  display: grid;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid #4c4c52;
  border-radius: 6px;
  color: transparent;
  background: #0b0b0d;
  transition: 0.2s ease;
}

.rules-trigger.accepted .custom-checkbox {
  border-color: #3ecf70;
  color: white;
  background: #20974b;
}

.rules-trigger-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
}

.rules-trigger-text strong {
  font-size: 13px;
}

.rules-trigger-text small {
  color: var(--muted);
  font-size: 11px;
}

.rules-arrow {
  color: #73737a;
  font-size: 26px;
}

.privacy-note {
  margin-top: 13px;
  color: #6e6e75;
  font-size: 11px;
  line-height: 1.6;
}

.submit-button {
  display: flex;
  width: 100%;
  height: 55px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 24px;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  color: white;
  background: var(--red);
  font-size: 13px;
  font-weight: 800;
  transition: 0.22s ease;
}

.submit-button:not(:disabled):hover {
  transform: translateY(-2px);
  background: var(--red-light);
  box-shadow:
    0 14px 35px rgba(244, 28, 8, 0.24);
}

.submit-button:disabled {
  cursor: not-allowed;
  color: #6c6c72;
  background: #1a1a1e;
}

footer {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  align-items: center;
  justify-content: space-between;
  margin: 50px auto 0;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  color: #73737a;
  font-size: 12px;
}

.footer-brand {
  color: white;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  visibility: hidden;
  padding: 20px;
  place-items: center;
  background: rgba(0, 0, 0, 0.78);
  opacity: 0;
  backdrop-filter: blur(10px);
  transition: 0.2s ease;
}

.modal-backdrop.open {
  visibility: visible;
  opacity: 1;
}

.rules-modal {
  width: min(620px, 100%);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: #101013;
  box-shadow:
    0 35px 100px rgba(0, 0, 0, 0.65);
  transform: translateY(15px) scale(0.98);
  transition: 0.22s ease;
}

.modal-backdrop.open .rules-modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}

.modal-header span {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.modal-header h2 {
  margin-top: 5px;
  font-family: "Orbitron", sans-serif;
  font-size: 21px;
}

.close-modal {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  cursor: pointer;
  color: #aaaab0;
  background: rgba(255, 255, 255, 0.035);
  font-size: 23px;
}

.rules-content {
  max-height: 390px;
  overflow-y: auto;
  padding: 9px 24px;
  overscroll-behavior: contain;
}

.rules-content::-webkit-scrollbar {
  width: 7px;
}

.rules-content::-webkit-scrollbar-track {
  background: #0b0b0d;
}

.rules-content::-webkit-scrollbar-thumb {
  border-radius: 20px;
  background: #34343a;
}

.rule {
  display: flex;
  gap: 16px;
  padding: 21px 0;
  border-bottom: 1px solid var(--border);
}

.rule > span {
  color: var(--red);
  font-family: "Orbitron", sans-serif;
  font-size: 11px;
}

.rule h3 {
  font-size: 14px;
}

.rule p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.final-rule {
  margin-bottom: 25px;
  border-bottom: 0;
}

.scroll-message {
  padding: 12px 24px 0;
  color: #77777e;
  font-size: 11px;
  text-align: center;
}

.scroll-message.ready {
  color: #3ecf70;
}

.accept-rules {
  display: block;
  width: calc(100% - 48px);
  height: 50px;
  margin: 14px 24px 24px;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  color: white;
  background: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.accept-rules:disabled {
  cursor: not-allowed;
  color: #696970;
  background: #222226;
}

.toast {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 150;
  display: flex;
  visibility: hidden;
  max-width: 410px;
  align-items: flex-start;
  gap: 13px;
  padding: 17px;
  border: 1px solid rgba(62, 207, 112, 0.26);
  border-radius: 12px;
  background: #121513;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.48);
  opacity: 0;
  transform: translateY(20px);
  transition: 0.25s ease;
}

.toast.visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.toast > span {
  display: grid;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #20974b;
}

.toast strong {
  font-size: 13px;
}

.toast p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateReverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes pulse {
  50% {
    opacity: 0.4;
    transform: scale(0.75);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 110px;
  }

  .hero-visual {
    margin-top: 80px;
  }

  .emblem {
    width: min(390px, 80vw);
  }

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

  .feature-card {
    min-height: 210px;
  }

  .feature-card h3 {
    margin-top: 40px;
  }
}

@media (max-width: 650px) {
  .navbar {
    width: min(100% - 28px, 1180px);
  }

  .navbar nav a:not(.nav-button) {
    display: none;
  }

  .hero,
  .section,
  .process-section,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding-top: 75px;
  }

  .hero h1 {
    font-size: clamp(39px, 14vw, 62px);
    letter-spacing: -2px;
  }

  .hero-content > p {
    font-size: 15px;
  }

  .hero-details {
    gap: 23px;
  }

  .hero-details strong {
    font-size: 12px;
  }

  .hero-details span {
    font-size: 10px;
  }

  .section {
    padding: 85px 0;
  }

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

  .process-item,
  .process-item:nth-child(2n),
  .process-item:nth-child(n + 3) {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .process-item:last-child {
    border-bottom: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .modal-backdrop {
    padding: 10px;
  }

  .rules-content {
    max-height: 52vh;
    padding-inline: 18px;
  }

  .modal-header {
    padding-inline: 18px;
  }

  .accept-rules {
    width: calc(100% - 36px);
    margin-inline: 18px;
  }

  footer {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }

  .toast {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .brand-mark {
    min-width: 100px;
    padding: 0 12px;
    font-size: 13px;
    letter-spacing: 2px;
  }
}