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

body {
  background: #0f0f12;
  color: white;
  margin: 0;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

.stargirl-universe {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars-transition {
  width: 100%;
  height: 150px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.stars span {
  position: absolute;
  color: white;
  font-size: 18px;
  text-shadow:
    0 0 10px white,
    0 0 20px #ff4fb3;
  animation: sparkle 3s infinite alternate;
}

@keyframes sparkle {

  from {
    opacity: 0.3;
    transform: translateY(0px);
  }

  to {
    opacity: 1;
    transform: translateY(-8px);
  }
}

.stars span:nth-child(1) {
  top: 20%;
  left: 10%;
}

.stars span:nth-child(2) {
  top: 50%;
  left: 25%;
}

.stars span:nth-child(3) {
  top: 30%;
  left: 45%;
}

.stars span:nth-child(4) {
  top: 70%;
  left: 65%;
}

.stars span:nth-child(5) {
  top: 40%;
  left: 80%;
}

.stars span:nth-child(6) {
  top: 15%;
  left: 55%;
}

.navbar {
  width: 100%;
  position: relative;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  backdrop-filter: blur(12px);
  background: rgba(15, 15, 18, 0.65);
  border-bottom:
    1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 0 20px rgba(255, 79, 179, 0.08);
}

.navbar nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.navbar nav a {
  position: relative;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  letter-spacing: 1px;
  border-radius: 999px;
  transition: 0.3s;
  overflow: hidden;
  background:
    rgba(255,255,255,0.04);
}

.navbar nav a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(
      120deg,
      transparent,
      rgba(255, 79, 179, 0.35),
      transparent
    );

  transition: 0.5s;
}

.navbar nav a:hover::before {
  left: 100%;
}

.navbar nav a:hover {
  transform: translateY(-2px);

  box-shadow:
    0 0 15px rgba(255, 79, 179, 0.2);

  background:
    rgba(255,255,255,0.08);
}

footer {
  width: 90%;
  max-width: 800px;
  margin: 0;
  padding: 15px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 12px;
  background: #df8ae51c;
  color: white;
  font-family: 'Quicksand', sans-serif;
  box-shadow:
    0 0 5px rgba(185, 79, 227, 0.4),
    0 0 15px rgba(185, 79, 227, 0.3),
    0 0 30px rgba(255, 255, 255, 0.2);
}

.rider-profile {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 200px;
  padding: 60px 20px;
  flex-wrap: wrap;
}

.rider-image {
  order: 2;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 2;
}

.background-name {
  position: absolute;
  font-size: clamp(70px, 15vw, 180px);
  font-weight: bold;
  font-family: 'Quicksand', sans-serif;
  color: rgba(255,255,255,0.07);
  letter-spacing: 10px;
  text-transform: uppercase;
  z-index: 0;
}

.rider-image img {
  position: relative;
  z-index: 1;
  width: 320px;
  max-width: 100%;
  filter:
    drop-shadow(0 0 20px rgba(255, 79, 179, 0.35));
}

.rider-info {
  max-width: 450px;
  width: 100%;
  text-align: left;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(10px);
  box-shadow:
  0 0 20px rgba(255, 79, 179, 0.08);
  order: 1;
  margin-left: 20px;
  flex: 1;
  margin-right: 40px;
  flex-shrink: 0;
  margin: 10px;
}

.rider-tag,
.rider-info h2,
table th {
  font-family: 'Orbitron', sans-serif;
}

.rider-tag {
  color: #ff4fb3;
  letter-spacing: 3px;
  margin-bottom: 10px;
  font-size: 30px;
  font-weight: 600;
  text-transform: uppercase;
}

.rider-info h2 {
  font-size: 45px;
  margin-bottom: 25px;
}

.rider-info h2 {
  font-size: 45px;
  margin-bottom: 25px;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: 'Quicksand', sans-serif;
}

table tr {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

table th {
  width: 40%;
  text-align: left;
  padding: 18px 10px;
  color: #ff9ed3;
}

table td {
  text-align: right;
}

.nation {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.nation img {
  width: 20px;
  margin-left: 6px;
  vertical-align: middle;
  border-radius: 2px;
}

.join-universe {
  padding: 100px 20px 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  font-family: 'Quicksand', sans-serif;
}

.universe-form {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  position: relative;
  z-index: 2;
}

.universe-form label {
  text-align: left;
  color: #ff9ed3;
  font-size: 14px;
  letter-spacing: 1px;
  font-family: 'Orbitron', sans-serif;
  margin-top: 10px;
}

.universe-form input {
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  color: white;
  outline: none;
  transition: 0.3s;
  font-family: 'Quicksand', sans-serif;
  margin-top: 10px;
}

.universe-form input:focus {
  box-shadow: 0 0 15px rgba(255, 79, 179, 0.4);
}

.universe-form button {
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 14px;
  border: none;
  border-radius: 999px;
  background: #821faa;
  color: white;
  cursor: pointer;
  transition: 0.3s;
  font-family: 'Orbitron', sans-serif;
}

.universe-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(255, 79, 179, 0.3);
  background: #a42ed8;
}

@media (max-width: 768px) {

  .rider-profile {
    flex-direction: column;
    text-align: center;
  }

  .rider-info {
    text-align: center;
  }

  table th,
  table td {
    font-size: 14px;
  }

  .rider-info h2 {
    font-size: 35px;
  }
}

@media (max-width: 768px) {

  .navbar nav {
    gap: 10px;
  }

  .navbar nav a {
    padding: 8px 16px;

    font-size: 14px;
  }
}