body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

/* --- Header Simplified --- */
header {
  background-color: #333;
  color: white;
  padding: 40px 20px 30px;
  text-align: center;
  position: relative;
}

.logo {
  width: 110px;
  margin-bottom: 10px;
}

/* Hamburger Button in Top Right Corner */
#menu-toggle {
  position: fixed;
  top: 10px;
  right: 10px;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 999;
}

#close-menu {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  background: none;
  border: none;
  color: #003366;
  cursor: pointer;
  z-index: 999;
}


/* Subheadline text */
.subhead {
  font-size: 1.3em;
  color: #eee;
}

/* ▼ Full-Screen Mobile Menu ▼ */
#mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: white;
  z-index: 998;
  transform: translateY(-100%);
  transition: transform 0.4s ease-in-out;
  padding-top: 80px;
  text-align: center;
}

#mobile-menu.show {
  transform: translateY(0);
}

#mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#mobile-menu li {
  border-bottom: 1px solid #ddd;
  padding: 1rem;
}

#mobile-menu a {
  font-size: 1.2rem;
  color: #003366;
  text-decoration: none;
}

#mobile-menu a:hover {
  background: #f0f0f0;
}

#menu-lang {
  margin-top: 10px;
  font-size: 1rem;
  padding: 6px 10px;
}


/* ---- Grid Layout ---- */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px;
  max-width: 500px;
  margin: auto;
}

.card {
  background: #fff;
  padding: 25px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.card h2 {
  margin-top: 0;
  font-size: 1.4em;
  color: #333;
}

.card p {
  margin-bottom: 1em;
}

/* General button style */
.launch-button,
.level-button {
  display: inline-block;
  background-color: #eee;
  color: #333;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-weight: bold;
  margin-top: 8px;
  text-align: left;
}

.launch-button:hover,
.level-button:hover {
  background-color: #e67e00;
  color: white;
  border-color: #e67e00;
}

.level-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  justify-items: start;
  margin-top: 10px;
}

/* ---- Cookie popup ---- */
#cookies {
  visibility: hidden;
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 400px;
  background: white;
  border: 1px solid #ccc;
  padding: 20px;
  border-radius: 10px;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  opacity: 0;
  transition: opacity 0.4s ease;
}

#cookies.show {
  visibility: visible;
  opacity: 1;
}

.cookie-buttons {
  margin-top: 15px;
}

.cookie-buttons button {
  margin-right: 10px;
  padding: 8px 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

#cookie-accept {
  background-color: #2ecc71;
  color: white;
}

#cookie-decline {
  background-color: #e74c3c;
  color: white;
}

#cookie-info {
  background-color: #888;
  color: white;
}

/* ----- Responsive Layout for Smartphones ----- */
@media (max-width: 600px) {
  header {
    padding: 20px 10px 20px;
  }

  .logo {
    width: 90px;
  }

  h1 {
    font-size: 1.3rem;
  }

  .subhead {
    font-size: 0.95rem;
  }

  .grid-container {
    padding: 20px;
  }
}

