body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background: #F5F5F5;
  color: #333;
}

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
}

#lang-switcher {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 10;
}

#lang-switcher button {
  margin-left: 5px;
  padding: 6px 12px;
  border-radius: 6px;
  border: none;
  background: #81D4FA;
  cursor: pointer;
}

.hero {
  font-size: 1.4rem;
  text-align: center;
  padding: 120px 20px;
  color: black;
  background: url('img/hero.jpg') center/cover no-repeat;
}

.back-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255,255,255,0.85);
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.back-btn:hover {
  background: rgba(255,255,255,1);
}

.subtitle {
  margin: 10px auto 20px;
  max-width: 600px;
}

#start-btn {
  padding: 12px 20px;
  border-radius: 22px;
  border: none;
  background: #2E7D32;
  color: white;
  cursor: pointer;
  font-size: 16px;
}
#start-btn:hover {
  background: #256628;
}

.imprint-main section {
  padding: 20px 20px;
}

section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

.levels-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
}

.level-card {
  background: white;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  text-align: center;
}

.level-card img {
  width: 100%;
  border-radius: 12px;
  height: 150px;
  object-fit: cover;
}

#rules ul {
  list-style: none;
  padding: 0;
  font-size: 18px;
}

#rules li {
  margin-bottom: 15px;
}

main { flex: 1; }

.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  padding: 10px;
  border-radius: 10px;
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  position: relative;
}

.modal-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}

footer {
  text-align: center;
  padding: 20px;
  background: #8D6E63;
  color: white;
}

.footer-links a {
  color: white;
  text-decoration: none;
}

.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-visible {
  opacity: 1;
  transform: translateY(0);
}