@import url('https://fonts.googleapis.com/css2?family=DotGothic16&family=Space+Grotesk:wght@400;700&display=swap');

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

body {
  font-family: 'Space Grotesk', sans-serif;
  background: linear-gradient(to bottom, #0b001a, #1c0033);
  color: #f0f0f0;
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Loading screen */
#loading-screen {
  position: fixed;
  inset: 0;
  background: black;
  color: #ff8dd0;
  font-size: 1.2rem;
  font-family: 'DotGothic16', sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeOut 1.2s ease forwards;
  animation-delay: 1.8s;
}

.spaceship {
  width: 48px;
  height: 48px;
  background: url('spaceship-pixel.png') no-repeat center center;
  background-size: contain;
  animation: fly 1.5s linear infinite;
  margin-bottom: 1rem;
}

@keyframes fly {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes fadeOut {
  to { opacity: 0; visibility: hidden; }
}

/* Sidebar */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 220px;
  background: #0a001a;
  border-right: 2px solid #ff8dd0;
  padding: 1rem;
  z-index: 100;
  font-family: 'DotGothic16', sans-serif;
}

.sidebar h1 {
  color: #8deaff;
  font-size: 0.8rem;
  margin-bottom: 2rem;
  text-shadow: 0 0 5px #8deaff;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  margin: 1.2rem 0;
}

.sidebar a {
  color: #ff8dd0;
  text-decoration: none;
  font-size: 0.6rem;
  display: inline-block;
  transition: color 0.3s, transform 0.3s;
}

.sidebar a:hover {
  color: #8deaff;
  transform: translateX(4px);
}

/* Main content */
main {
  margin-left: 240px;
  padding: 2rem;
  width: calc(100% - 240px);
}

section {
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px dashed #333;
}

h2 {
  font-family: 'DotGothic16', sans-serif;
  font-size: 1rem;
  color: #8deaff;
  margin-bottom: 1rem;
}

.media-placeholder {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed #ff8dd0;
  padding: 1rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    border-right: none;
    border-bottom: 2px solid #ff8dd0;
    text-align: center;
  }

  .sidebar ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .sidebar li {
    margin: 0.5rem 1rem;
  }

  main {
    margin-left: 0;
    padding: 1rem;
    width: 100vw;
  }

  body, h2, .sidebar a {
    font-size: 0.7rem;
  }
}
