body {
  font-family: 'Nunito', 'Comic Sans MS', 'Apple SD Gothic Neo', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  margin: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
  font-synthesis: none;
  /* background-color defined in theme CSS */
}

h1 {
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 10px;
  font-size: 1.8rem;
  text-align: center;
  /* color defined in theme CSS */
}

.subtitle {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 20px;
}

.button-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 800px;
  padding: 20px;
}

.menu-button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 20px;
  background: white;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  /* color defined in theme CSS */
}

.menu-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.page-header {
  position: relative;
  width: 100%;
  max-width: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.back-button {
  position: absolute;
  left: 0;
  font-size: 2.5rem;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  align-self: anchor-center;
  transition: background 0.2s ease, transform 0.2s ease;
  /* color defined in theme CSS */
}

.back-button:hover {
  transform: scale(1.5);
}

@media (max-width: 768px) {
  body {
    font-size: 13px;
    padding: 12px;
  }
  h1 {
    font-size: 1.5rem;
  }
  .button-grid {
    gap: 16px;
  }
}