body {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  color: #fff;
  overflow-x: hidden;
  background: black;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 15, 30, 0.8);
  padding: 15px 25px;
  position: relative;
  z-index: 10;
  box-shadow: 0 0 15px #4fc3f7;
}

#logout-btn {
  margin-left: 10px;
  background: #4fc3f7;
  color: #000;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

header .logo {
  font-size: 1.5em;
  color: #4fc3f7;
  font-weight: bold;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  transition: 0.2s;
}

nav a:hover {
  color: #4fc3f7;
}

.hero {
  text-align: center;
  margin-top: 100px;
  z-index: 5;
  position: relative;
}

.hero h1 {
  font-size: 3em;
  color: #fff;
}

.hero span {
  color: #4fc3f7;
}

.subtitle {
  font-size: 1.2em;
  color: #b0c4de;
  margin: 15px auto 30px;
  max-width: 700px;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn {
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn.primary {
  background: #4fc3f7;
  color: #000;
}

.btn.primary:hover {
  background: #82e9ff;
}

.btn.secondary {
  background: transparent;
  border: 2px solid #4fc3f7;
  color: #4fc3f7;
}

.btn.secondary:hover {
  background: #4fc3f7;
  color: #000;
}

.features {
  margin: 80px auto;
  text-align: center;
  max-width: 900px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.feature {
  background: rgba(20, 30, 50, 0.8);
  padding: 20px;
  border-radius: 12px;
  width: 250px;
  box-shadow: 0 0 10px #4fc3f7;
}

footer {
  text-align: center;
  padding: 20px;
  background: rgba(10, 15, 30, 0.8);
  position: relative;
  z-index: 10;
}

/* --- Animated Star Background --- */
.stars, .twinkling {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  z-index: 0;
}

.stars {
  background: black url('https://www.transparenttextures.com/patterns/stardust.png') repeat;
}

.twinkling {
  background: transparent url('https://www.transparenttextures.com/patterns/tiny-cross-hatch.png') repeat;
  animation: moveTwink 200s linear infinite;
  opacity: 0.6;
}

@keyframes moveTwink {
  from { background-position: 0 0; }
  to { background-position: -10000px 5000px; }
}
