
.register-section {
  position: relative;
  padding: 60px 0 86px;
  background:
    radial-gradient(
      circle at 8% 18%,
      rgba(54, 168, 255, 0.12),
      transparent 25%
    ),
    radial-gradient(
      circle at 92% 82%,
      rgba(20, 120, 230, 0.1),
      transparent 28%
    ),
    linear-gradient(145deg, #041127 0%, #071b35 52%, #031024 100%);
  overflow: hidden;
}

.register-section::before {
  content: "";
  position: absolute;
  top: -110px;
  right: -70px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 42% 58% 64% 36%;
  animation: registerShapeFloat 10s ease-in-out infinite;
}

.register-section::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -70px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(54, 168, 255, 0.08);
  filter: blur(5px);
  animation: registerGlowMove 8s ease-in-out infinite alternate;
}

.register-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(500px, 1.2fr);
  gap: 48px;
  align-items: center;
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

.register-intro {
  color: #ffffff;
  animation: registerIntroReveal 0.9s ease-out both;
}

.register-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: #63d4ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.register-label::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 20px;
  background: linear-gradient(90deg, #36a8ff, #63d4ff);
  animation: registerLinePulse 2.5s ease-in-out infinite;
}

.register-intro > h2 {
  max-width: 460px;
  margin-bottom: 16px;
  color: #ffffff;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1.1px;
}

.register-intro > p {
  max-width: 480px;
  margin-bottom: 31px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.75;
}


/* =========================================
   Register Points
========================================= */

.register-points {
  display: grid;
  gap: 13px;
}

.register-point {
  display: grid;
  grid-template-columns: 43px 1fr;
  gap: 14px;
  align-items: start;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(10px);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.register-point:nth-child(1) {
  animation: registerPointReveal 0.7s 0.2s ease-out both;
}

.register-point:nth-child(2) {
  animation: registerPointReveal 0.7s 0.32s ease-out both;
}

.register-point:nth-child(3) {
  animation: registerPointReveal 0.7s 0.44s ease-out both;
}

.register-point:hover {
  transform: translateX(7px);
  border-color: rgba(99, 212, 255, 0.35);
  background: rgba(54, 168, 255, 0.09);
}

.point-number {
  display: grid;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(99, 212, 255, 0.24);
  border-radius: 11px;
  place-items: center;
  color: #63d4ff;
  background: rgba(54, 168, 255, 0.1);
  font-size: 11px;
  font-weight: 800;
}

.register-point h3 {
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.register-point p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.6;
}


/* =========================================
   Form Container
========================================= */

.register-form-wrap {
  position: relative;
  padding: 31px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 20px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.98),
      rgba(246, 251, 255, 0.96)
    );
  box-shadow: 0 28px 70px rgba(0, 6, 18, 0.32);
  animation:
    registerFormReveal 0.9s 0.15s ease-out both,
    registerFormFloat 5s 1.2s ease-in-out infinite;
  overflow: hidden;
}

.register-form-wrap::before {
  content: "";
  position: absolute;
  top: -55px;
  right: -55px;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: rgba(54, 168, 255, 0.09);
  animation: registerCircleMove 7s ease-in-out infinite alternate;
}

.register-form-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(54, 168, 255, 0.06),
    transparent
  );
  transform: skewX(-18deg);
  animation: registerShimmer 6s ease-in-out infinite;
}

.form-top,
.registration-form {
  position: relative;
  z-index: 2;
}

.form-top {
  margin-bottom: 24px;
}

.form-top > span {
  display: block;
  margin-bottom: 7px;
  color: #1478e6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.form-top h3 {
  margin-bottom: 7px;
  color: #071426;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.3;
}

.form-top p {
  color: #687486;
  font-size: 12px;
  line-height: 1.65;
}


/* =========================================
   Form Grid
========================================= */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  color: #172033;
  font-size: 12px;
  font-weight: 700;
}

.form-group label em {
  color: #1478e6;
  font-style: normal;
}

.form-group input {
  width: 100%;
  height: 47px;
  padding: 0 14px;
  border: 1px solid #dce5ef;
  border-radius: 11px;
  outline: none;
  color: #101828;
  background: rgba(255, 255, 255, 0.92);
  font-family: inherit;
  font-size: 13px;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease;
}

.form-group input::placeholder {
  color: #a0a9b7;
}

.form-group input:hover {
  border-color: rgba(20, 120, 230, 0.35);
}

.form-group input:focus {
  transform: translateY(-2px);
  border-color: #1478e6;
  background: #ffffff;
  box-shadow:
    0 0 0 4px rgba(20, 120, 230, 0.09),
    0 10px 22px rgba(20, 120, 230, 0.08);
}


/* =========================================
   Form Footer
========================================= */

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 23px;
}

.form-footer > p {
  max-width: 280px;
  color: #7b8695;
  font-size: 10px;
  line-height: 1.55;
}

.submit-button {
  position: relative;
  display: inline-flex;
  min-width: 190px;
  height: 47px;
  padding: 0 18px;
  border: 0;
  border-radius: 11px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  background:
    linear-gradient(
      100deg,
      #1478e6,
      #36a8ff,
      #1478e6
    );
  background-size: 220% 100%;
  box-shadow: 0 13px 25px rgba(20, 120, 230, 0.25);
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  animation: submitGradientMove 4s linear infinite;
}

.submit-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -110%;
  width: 65%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-18deg);
  transition: left 0.6s ease;
}

.submit-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(20, 120, 230, 0.35);
}

.submit-button:hover::before {
  left: 145%;
}

.submit-button:active {
  transform: translateY(-1px);
}

.submit-button span,
.submit-button svg {
  position: relative;
  z-index: 2;
}

.submit-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.submit-button:hover svg {
  transform: translateX(5px);
}


/* =========================================
   Animations
========================================= */

@keyframes registerIntroReveal {
  from {
    opacity: 0;
    transform: translateX(-34px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes registerFormReveal {
  from {
    opacity: 0;
    transform: translateX(35px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes registerPointReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes registerLinePulse {
  0%,
  100% {
    transform: scaleX(0.75);
    opacity: 0.65;
  }

  50% {
    transform: scaleX(1.25);
    opacity: 1;
  }
}

@keyframes registerShapeFloat {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
    border-radius: 42% 58% 64% 36%;
  }

  50% {
    transform: translate(-30px, 25px) rotate(20deg);
    border-radius: 60% 40% 42% 58%;
  }
}

@keyframes registerGlowMove {
  from {
    transform: translate(0, 0) scale(0.95);
  }

  to {
    transform: translate(45px, -32px) scale(1.14);
  }
}

@keyframes registerFormFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes registerCircleMove {
  from {
    transform: translate(0, 0) scale(0.95);
  }

  to {
    transform: translate(-25px, 20px) scale(1.12);
  }
}

@keyframes registerShimmer {
  0% {
    left: -120%;
  }

  45%,
  100% {
    left: 145%;
  }
}

@keyframes submitGradientMove {
  from {
    background-position: 0% center;
  }

  to {
    background-position: 220% center;
  }
}


/* =========================================
   Responsive Design
========================================= */

@media (max-width: 960px) {
  .register-container {
    grid-template-columns: 1fr;
    gap: 38px;
    width: min(760px, calc(100% - 36px));
  }

  .register-intro {
    max-width: 650px;
  }

  .register-intro > h2,
  .register-intro > p {
    max-width: 100%;
  }

  .register-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .register-point {
    grid-template-columns: 1fr;
  }

  .register-form-wrap {
    animation: registerFormReveal 0.9s ease-out both;
  }
}

@media (max-width: 700px) {
  .register-section {
    padding: 62px 0;
  }

  .register-points {
    grid-template-columns: 1fr;
  }

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

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .form-footer > p {
    max-width: 100%;
  }

  .submit-button {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .register-container {
    width: min(100% - 26px, 1040px);
  }

  .register-section {
    padding: 52px 0;
  }

  .register-intro > h2 {
    font-size: 27px;
  }

  .register-form-wrap {
    padding: 23px 19px;
    border-radius: 16px;
  }

  .form-top h3 {
    font-size: 21px;
  }

  .form-group input {
    height: 45px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .register-section *,
  .register-section *::before,
  .register-section *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}