body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #000;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

/* === Ladebildschirm === */
#loading-screen {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at center, #0f0c29, #302b63, #24243e);
  z-index: 10;
  transition: opacity 1s ease;
}

.loading-text {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.loading-bar {
  width: 60%;
  height: 12px;
  background: rgba(255,255,255,0.2);
  border-radius: 8px;
  overflow: hidden;
}

.loading-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #4bffa5, #0ff);
  animation: progress 2.5s linear forwards;
}

@keyframes progress {
  to { width: 100%; }
}

/* === Labor === */
.hidden {
  display: none;
}

#lab-bg {
  background: url("assets/bg_dino_lab.webp") no-repeat center center/cover;
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  animation: fadeIn 1.2s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

header {
  background: rgba(0,0,0,0.5);
  padding: 10px;
  font-size: 1.3rem;
}

/* === Menü unten === */
.bottom-menu {
  display: flex;
  justify-content: space-around;
  background: rgba(0,0,0,0.7);
  border-top: 2px solid rgba(255,255,255,0.2);
  padding: 8px 0;
}

.menu-btn {
  background: none;
  border: none;
  color: #ccc;
  font-size: 1.1rem;
  transition: 0.2s;
}

.menu-btn.active,
.menu-btn:hover {
  color: #4bffa5;
  transform: scale(1.1);
}

/* === Wallet-Button === */
.wallet-section {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

#status {
  margin-top: 20px;
  font-size: 1rem;
  transition: color 0.3s ease;
}
/* === Seiten-Transition === */
.fade-in {
  animation: fadeIn 0.4s ease-in forwards;
}
.fade-out {
  animation: fadeOut 0.3s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes fadeOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.98); }
}
.bottom-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  justify-content: space-around;
  border-top: 2px solid limegreen;
  padding: 6px 0;
  z-index: 9999;
  backdrop-filter: blur(6px);
}

.menu-btn {
  flex: 1;
  color: #ccc;
  background: none;
  border: none;
  font-size: 1.4em;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.menu-btn span {
  font-size: 0.7em;
  margin-top: 2px;
}

.menu-btn.active {
  color: #00ff88;
  transform: scale(1.1);
  text-shadow: 0 0 10px #00ff88;
}

.menu-btn:active {
  transform: scale(1.15);
}

/* Transitions */
.fade-in {
  animation: fadeIn 0.4s ease-in forwards;
}
.fade-out {
  animation: fadeOut 0.3s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes fadeOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.98); }
}