.register-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 100px 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(126, 34, 206, 0.35), transparent 60%),
    linear-gradient(180deg, #090011 0%, #13001d 50%, #07000f 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Inter", "Poppins", Arial, sans-serif;
}

.register-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  top: -200px;
  left: -100px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 70%);
  animation: orbFloat 10s ease-in-out infinite alternate;
  pointer-events: none;
}

.register-section::after {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  bottom: -200px;
  right: -100px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 70%);
  animation: orbFloat 12s ease-in-out infinite alternate-reverse;
  pointer-events: none;
}

.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.particles::before,
.particles::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.65) 1px, transparent 1px),
    radial-gradient(circle, rgba(168, 85, 247, 0.75) 1px, transparent 1px),
    radial-gradient(circle, rgba(59, 130, 246, 0.55) 1px, transparent 1px);
  background-size:
    180px 180px,
    240px 240px,
    320px 320px;
  animation: floatParticles 40s linear infinite;
}

.particles::after {
  opacity: 0.45;
  animation-duration: 60s;
  animation-direction: reverse;
}

.register-content {
  width: 100%;
  max-width: 800px;
  text-align: center;
  position: relative;
  z-index: 3;
}

.register-content h2 {
  font-size: 50px;
  font-weight: 600;
  line-height: 1.05;
  color: #ffffff;
  margin: 0 0 25px;
}

.register-content h2 span {
    display: block;
    background: linear-gradient(90deg, #d34dab, #225cff);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.register-subtitle {
  max-width: 580px;
  margin: 0 auto 50px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.8;
}

.register-card {
  width: 100%;
  max-width: 560px;
  height: 350px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  backdrop-filter: blur(18px);
  padding: 28px;
  box-sizing: border-box;
}

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

.input-group input {
  width: 100%;
  height: 46px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0 16px;
  color: #ffffff;
  font-size: 14px;
  box-sizing: border-box;
}

.input-group input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.input-group input:focus {
  outline: none;
  border-color: #8b5cf6;
}

.role-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.role-buttons button {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  padding: 8px 14px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.3s ease;
}

.role-buttons button:hover {
  border-color: #7c3aed;
  color: #ffffff;
}

.register-btn {
  width: 100%;
  margin-top: 30px;
  border: none;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(90deg, #6d28d9, #9333ea, #2563eb);
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.35);
}

.contact-text {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.contact-text a {
  color: #a855f7;
  text-decoration: none;
}

.secondary-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.secondary-actions a {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 40px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.secondary-actions a:hover {
  border-color: #7c3aed;
  color: #ffffff;
}

@keyframes floatParticles {
  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(-40px, -30px);
  }

  50% {
    transform: translate(-80px, -60px);
  }

  75% {
    transform: translate(-40px, -90px);
  }

  100% {
    transform: translate(0, -120px);
  }
}

@keyframes orbFloat {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(50px);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .register-section {
    padding: 90px 24px;
  }

  .register-content h2 {
    font-size: 62px;
  }

  .register-subtitle {
    font-size: 16px;
    max-width: 560px;
  }
}

@media (max-width: 768px) {
  .register-section {
    min-height: auto;
    padding: 80px 18px;
  }

  .register-content h2 {
    font-size: 46px;
    line-height: 1.1;
  }

  .register-subtitle {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 34px;
  }

  .register-card {
    max-width: 100%;
    padding: 22px;
    border-radius: 18px;
  }

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

  .role-buttons {
    justify-content: flex-start;
    gap: 8px;
  }

  .role-buttons button {
    font-size: 11px;
    padding: 8px 12px;
  }

  .register-btn {
    height: 50px;
    font-size: 14px;
  }

  .secondary-actions {
    flex-direction: column;
    gap: 12px;
  }

  .secondary-actions a {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .register-section {
    padding: 70px 14px;
  }

  .register-content h2 {
    font-size: 38px;
  }

  .register-subtitle {
    font-size: 14px;
  }

  .register-card {
    padding: 18px;
  }

  .role-buttons {
    justify-content: center;
  }

  .contact-text {
    font-size: 12px;
  }
}