* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: #202526;
  background: #eff6f6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  width: min(850px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  border-bottom: 1px solid #a4a8a9;
  padding: 30px 0 60px;
}

header h1 {
  margin: 0 0 clamp(45px, 8vw, 80px);
  font-size: 1.6rem;
}

.studio-label {
  margin: 0 0 18px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-text {
  max-width: 850px;
  margin: 0 0 clamp(45px, 8vw, 80px);
  padding: 0;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.3;
}

.games {
  padding: 50px 0;
  border-bottom: 1px solid #a4a8a9;
}

.games h2 {
  margin: 0 0 25px;
  padding: 0;
  font-size: 1.6rem;
}

.games-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.game-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #a4a8a9;
  border-radius: 15px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.icon img {
  width: 100%;
}

.placeholder-icon {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f5f8f8, #a4a8a9);
  color: white;
  font-size: 3rem;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.card-body h3 {
  margin: 18px 0 10px;
}

.card-body p {
  margin: 0 0 24px;
  line-height: 1.6;
}

.available,
.development {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: bold;
}

.available span,
.development span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.available span {
  background: #278620;
  box-shadow: 0 0 0 4px #e8f3e7;
}

.development span {
  background: #df8032;
  box-shadow: 0 0 0 4px #faeadc;
}

.buttons {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

a:focus-visible {
  outline: 3px solid #202526;
  outline-offset: 4px;
}

.google,
.web {
  padding: 10px 14px;
  border: 1px solid #286ae6;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.google {
  color: white;
  background: #286ae6;
  cursor: pointer;
}

.web {
  color: #286ae6;
  background: transparent;
  cursor: pointer;
}

.contact {
  border-bottom: 1px solid #a4a8a9;
}

.contact-inner {
  min-height: 20vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.contact h2 {
  margin: 0;
  padding: 0;
}

.footer-inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #202526;
  font-size: 0.9rem;
}

.footer-inner a {
  color: #286ae6;
}

.legal {
  display: flex;
  gap: 22px;
}

.email {
  color: #286ae6;
  font-size: 1.3rem;
  text-underline-offset: 5px;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

.legal a {
  color: #286ae6;
  text-underline-offset: 4px;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

.google:hover {
  background: #1f56bd;
}

.web:hover {
  color: white;
  background: #286ae6;
}

.updated { margin-bottom: 42px; font-size: .92rem; }
.back-link { padding-top: 100px; text-decoration: none; font-weight: 700; }

.site-name {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.site-name a {
  color: inherit;
  text-decoration: none;
}

.legal-page {
  padding: 50px 0 80px;
}

.legal-content {
  max-width: 850px;
}

.legal-content h1 {
  margin: 35px 0 16px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.legal-content h2 {
  margin: 42px 0 14px;
  font-size: 1.5rem;
}

.legal-content p,
.legal-content li {
  line-height: 1.75;
}

.legal-content a {
  color: #286ae6;
}

.legal-content li + li {
  margin-top: 8px;
}

.back-link {
  display: inline-block;
  padding-top: 0;
  color: #286ae6;
  font-weight: 700;
  text-decoration: none;
}

.updated {
  margin-bottom: 28px;
  font-size: 0.92rem;
}

@media (max-width: 700px) {
  .games-list {
    grid-template-columns: 1fr;
  }

  .contact-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 30px 0;
  }

  .legal {
    flex-wrap: wrap;
  }

  .email {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  .game-card {
    transition: none;
  }

  .game-card:hover {
    transform: none;
  }
}