/* ---------- PressKit Page Styles ---------- */

/* Apply box-sizing globally for easier sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Body */
body {
  font-family: 'MyGameFont', sans-serif;
  background: #f5f5f5;
  text-align: center;
  margin: 0;
  padding: 20px;
  padding-bottom: 50px;
}

/* Central container for logo + title + intro */
.presskit-main-container {
  max-width: 700px;      /* readable width on desktop */
  margin: 0 auto;        /* center horizontally */
  text-align: center;    /* center text */
  padding: 0 1rem;       /* horizontal padding */
}

/* Logo Container */
.presskit-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 500px;      /* cap container width */
  margin-left: auto;
  margin-right: auto;
  text-align: center; /* ensures everything inside is centered */
}

/* Logo Image */
.presskit-logo {
  width: 100%;           /* fill container width */
  height: auto;          /* maintain aspect ratio */
  object-fit: contain;
}

.presskit-site-link {
  display: block;
  margin-top: 0.5rem;
  color: #003366;         /* dark blue */
  text-decoration: underline;
  font-weight: 500;
  font-size: 1rem;
}

.presskit-site-link:hover {
  color: #001a33;          /* slightly darker on hover */
}

/* Intro / About paragraph */
.presskit-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

/* Brand presskit buttons */
.presskit-actions {
  display: flex;
  justify-content: center; /* center buttons horizontally */
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  flex-direction: row; /* optional, default row */
  text-align: center;  /* ensure inline elements inside are centered */
}

.presskit-actions a {
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
  text-align: center;
}

.presskit-actions button {
  display: inline-block;
}

/* Download / Contact button styles */
.presskit-download {
  background-color: #0070f3;
  color: #fff;
}

.presskit-download:hover {
  background-color: #005bb5;
}

.presskit-contact {
  background-color: #f3f3f3;
  color: #333;
  border: 1px solid #ccc;
}

.presskit-contact:hover {
  background-color: #e0e0e0;
}

/* Game presskits list */
.game-presskits {
  max-width: 700px;
  margin: 0 auto 3rem auto;
  text-align: center;
}

.game-presskits h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.game-presskits ul {
  list-style: none;
  padding: 0;
}

.game-presskits li {
  margin: 0.5rem 0;
}

.game-presskits a {
  text-decoration: none;
  color: #0070f3;
  font-weight: bold;
  transition: color 0.3s;
}

.game-presskits a:hover {
  color: #005bb5;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  /* Make main container fill the screen */
  .presskit-main-container {
    max-width: 100%;
    padding: 0 0.5rem;
  }

  /* Shrink logo container */
  .presskit-logo-container {
    max-width: 250px;
    margin-bottom: 0.75rem;
  }

  .presskit-logo {
    width: 100%;
    max-width: 250px;
  }

  /* Buttons fill width */
  .presskit-actions {
    flex-direction: column;
  }

  .presskit-actions a {
    width: 100%;
    text-align: center;
  }

  /* Reduce game presskits list width */
  .game-presskits {
    max-width: 95%;
  }
}
