:root {
  --bg: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;

  --coral: #ff4b4b;
  --coral-dark: #e83b3b;

  --card-bg: #f3f3f3;

  --radius: 0;
}

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

html {
  height: 100%;
}

body {
  min-height: 100%;
  font-family: Rubik, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ------------------------------------------------
   Showcase (main section)
   ------------------------------------------------ */
.showcase {
  flex: 1;
  padding: 56px max(28px, calc((100vw - 1200px) / 2));
}

.intro {
  background: var(--card-bg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.brand {
  display: inline-block;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 180px;
  height: auto;
}

.tagline {
  margin-top: 24px;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--coral);
}

/* ------------------------------------------------
   Games track – grid
   ------------------------------------------------ */
.games-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ------------------------------------------------
   Game card
   ------------------------------------------------ */
.game-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card-bg);
  display: flex;
  flex-direction: column;
}

/* Card image area */
.card-media {
  display: block;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.card-media--placeholder {
  background: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-text {
  font-size: 56px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.06em;
  user-select: none;
}

/* Card body */
.card-body {
  padding: 24px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 30px;
  font-weight: 300;
  color: var(--coral);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.card-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 18px;
}

.card-links {
  margin-top: auto;
  font-size: 14px;
  color: var(--muted);
}

.card-links a {
  color: var(--coral);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.card-links a:hover {
  color: var(--coral-dark);
}

/* ------------------------------------------------
   Footer
   ------------------------------------------------ */
.site-footer {
  background: var(--coral);
  padding: 42px 0 48px;
}

.footer-inner {
  padding-left: max(28px, calc((100vw - 1200px) / 2));
  padding-right: max(28px, calc((100vw - 1200px) / 2));
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  width: 140px;
  height: auto;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

/* ------------------------------------------------
   Responsive
   ------------------------------------------------ */
@media (max-width: 900px) {
  .showcase {
    padding: 40px 28px;
  }

  .games-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

}

@media (max-width: 560px) {
  .showcase {
    padding: 32px 20px;
  }

  .games-track {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .brand-mark {
    width: 150px;
  }

  .card-media {
    height: 170px;
  }

  .footer-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}
