* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0b0b0f;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ---------- NAVIGATION ---------- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 700;
}

.logo .icon {
  width: 28px;
  margin-right: 10px;
}

.navbar nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.navbar nav a {
  margin: 0.4rem 1rem;
  text-decoration: none;
  color: #ccc;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar nav a:hover {
  color: #fff;
}

.version-btn {
  background: none;
  border: 1px solid #00a2ff;
  color: #00a2ff;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.version-btn:hover {
  background: #00a2ff;
  color: #000;
}

/* ---------- MAIN CONTENT ---------- */
main {
  text-align: center;
  margin-top: 6rem;
}

.welcome-card,
.info-card,
.connect-steps {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.8rem;
  width: 90%;
  max-width: 600px;
  margin: 1.5rem auto;
  backdrop-filter: blur(8px);
}

.welcome-card h2 {
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.info-card a {
  color: #00a2ff;
  text-decoration: none;
}

.info-card a:hover {
  text-decoration: underline;
}

.links {
  margin-top: 0.8rem;
}

.notice {
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 1rem;
}

.warning {
  font-size: 0.9rem;
  color: #ffc94d;
  margin-top: 0.5rem;
}

/* ---------- CONNECTION STEPS ---------- */
.connect-steps .step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  margin: 0.6rem 0;
  flex-wrap: wrap;
}

.step .number {
  background: #00a2ff;
  color: #000;
  font-weight: bold;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

button.connect,
button.connected {
  border: 1px solid #00a2ff;
  background: none;
  color: #00a2ff;
  border-radius: 6px;
  padding: 8px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

button.connect:hover {
  background: #00a2ff;
  color: #000;
}

button.connected {
  background: rgba(0, 255, 127, 0.1);
  border-color: #00ff7f;
  color: #00ff7f;
}

/* ---------- FOOTER ---------- */
footer {
  text-align: center;
  font-size: 0.85rem;
  color: #777;
  padding: 2rem 0;
}

/* ---------- STARRY BACKGROUND ---------- */
.stars {
  background: transparent url('https://www.transparenttextures.com/patterns/stardust.png') repeat;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.25;
  animation: twinkle 12s infinite linear;
  z-index: -1;
}

@keyframes twinkle {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-100px);
  }
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .navbar nav {
    width: 100%;
    justify-content: space-between;
    margin-top: 0.5rem;
  }

  .welcome-card,
  .info-card,
  .connect-steps {
    padding: 1.2rem;
    width: 92%;
  }

  .step {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
  }

  .step .number {
    margin-bottom: 0.4rem;
  }

  button.connect,
  button.connected {
    width: 100%;
    padding: 10px 0;
  }
}

@media (max-width: 480px) {
  .logo span {
    font-size: 1.2rem;
  }

  .version-btn {
    margin-top: 0.5rem;
    width: 100%;
  }

  main {
    margin-top: 4rem;
  }

  .welcome-card h2 {
    font-size: 1.1rem;
  }
}
