/* Google Fonts loaded via <link> in index.html */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ---- Landing ---- */

#landing {
  font-family: "Roboto", system-ui, -apple-system, sans-serif;
  background: #f0ece4;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1.5rem 2rem;
  gap: 3rem;
}

header {
  text-align: center;
}

.portal-wordmark {
  font-family: "Roboto Serif", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #1a1a1a;
}

.portal-subtitle {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.5rem;
}

/* ---- Game cards ---- */

.games {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 600px;
}

@media (min-width: 560px) {
  .games {
    flex-direction: row;
  }
}

.game-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  min-height: 180px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

@media (hover: hover) {
  .game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  }
}

.rungs-card  { background: #CDDAE8; }
.forage-card { background: #D4DDC3; }

.game-wordmark {
  font-family: "Roboto Serif", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #1a1a1a;
}

.game-tagline {
  font-size: 0.875rem;
  color: #1a1a1a;
  opacity: 0.65;
  text-align: center;
  line-height: 1.4;
}

/* ---- Game frame ---- */

#game-frame {
  position: fixed;
  inset: 0;
}

#game-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}
