:root{
    --off_black: #102533;
    --dark_blue: #42678e;
    --light_blue: #6f9edf;
    --off_white: #cecece;
}

html {
    font-size: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body{
  font-family: Georgia, 'Times New Roman', Times, 'MS Serif', serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--off_black);
  background-color: var(--light_blue);

  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

header,
main > section,
footer {
    width: 100%;
    max-width: 900px;
    padding: 2rem clamp(2rem, 8vw, 4rem);
}

/* main is ALSO a flex column, nested inside body's column.
    This is the "flexbox all the way down" pattern — it keeps
    each section's internal layout independent of the page shell. */
main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1; /* pushes footer to bottom on short pages */
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.hero{
width: 100%;
max-height: 100vh;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
padding-inline: 1rem; /* space on either side */
box-sizing: border-box; /* keeps padding from expanding total width */ 
}

.hero-img{
width: 100%;
max-height: 50vh;
object-fit: contain;
object-position: center;  
}

.social-links {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.social-links a svg {
  width: 24px;
  height: 24px;
  fill: var(--off_black);
  transition: fill 0.2s ease;
}


section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

section h2 {
  font-size: 1.5rem;
}


.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  margin: 0 0 1em 0;
  padding-inline-start: 1.25em;
}

li + li {
  margin-top: 0.25em;
}

/* Press assets / screenshots — items wrap within the column
    without breaking out of the single-column architecture */
.screenshot-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
}

.screenshot-row img {
  flex: 1 1 250px;
}


footer {
  text-align: center;
  font-size: 0.875rem;
  color: var(--off_white)
}

.pitch {
  text-align: center;
  font-style: italic;
  font-weight: bold;
}

a {
  color: var(--dark_blue);
}

.pixel-art {
  image-rendering: pixelated;
  /* or image-rendering: crisp-edges; as a fallback for Firefox */
}

.steam-widget-wrapper {
  width: 100%;
  max-width: 646px;
  overflow: hidden;
  justify-content: center;
  align-self: center;
}

.steam-widget-wrapper iframe {
  width: 100%;
  border: 0;
}