/* ===================== BASE ===================== */
body {
  margin: 0;
  font-family: Segoe UI, Arial, sans-serif;
  background: linear-gradient(135deg,#0f0c29,#302b63,#24243e);
  color: #eee;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 30px 20px;
}

h1,h2 {
  text-align: center;
  margin-bottom: 10px;
}

p {
  line-height: 1.7;
  font-size: 16px;
  color: #ddd;
  text-align: center;
}

/* ===================== NAVIGATION ===================== */
.nav-bar {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: center;
  background: #1a1a2e;
  padding: 12px 0;
  gap: 12px;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,.5);
}

.nav-button {
  background: #333;
  border: none;
  padding: 8px 18px;
  color: #ccc;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.nav-button:hover {
  background: #555;
  color: #fff;
}

.game-button {
  background: #00bfff;
  color: #fff;
}

/* ===================== UNITY ===================== */
#unity-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #111;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 0 35px rgba(0,0,0,.8);
  margin-top: 15px;
}

#unity-canvas {
  background: #000;
  border-radius: 10px;
  max-width: 100%;
}

#unity-loading-bar {
  width: 80%;
  height: 18px;
  background: #333;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 15px;
}

#unity-progress-bar-full {
  width: 0%;
  height: 100%;
  background: linear-gradient(to right,#00bfff,#00ffdd);
  transition: width 0.2s;
}

#unity-footer {
  margin-top: 12px;
  color: #aaa;
  text-align: center;
}

/* ===================== SCREENSHOTS ===================== */
.screenshots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.screenshots img {
  width: 180px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,.6);
  transition: transform 0.2s;
}

.screenshots img:hover {
  transform: scale(1.05);
}

/* ===================== LOGO ===================== */
#site-logo {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 80px;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(0,0,0,.6);
  z-index: 2000;
}

/* ===================== SECTIONS ===================== */
.section {
  background: #1a1a2e;
  padding: 28px;
  margin: 30px 0;
  border-radius: 14px;
  box-shadow: 0 0 25px rgba(0,0,0,.55);
}

/* ===================== FOOTER ===================== */
footer {
  margin-top: 60px;
  padding: 35px 0;
  background: #141422;
  text-align: center;
}

footer p {
  margin: 4px 0;
  color: #aaa;
  text-align: center;
}

/* ===================== MOBILE ===================== */
@media(max-width:768px){
  .container { padding: 20px 10px; }
  .section { padding: 20px; }
  .screenshots img { width: 120px; }
}
