:root {
  --ink: #10203a;
  --muted: #5a6b80;
  --line: #cfe0ef;
  --paper: #ffffff;
  --soft: #eef7ff;
  --beer: #f8b133;
  --beer-dark: #8a4d16;
  --green: #0f7b58;
  --shadow: 0 18px 45px rgba(16, 32, 58, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(248, 177, 51, 0.16), transparent 34rem),
    linear-gradient(135deg, #f4fbff 0%, #fffaf3 100%);
  line-height: 1.75;
}

a {
  color: inherit;
}

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

.site-header,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: clamp(210px, 23vw, 330px);
  max-height: 82px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 14px rgba(16, 32, 58, 0.15));
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 700;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--ink);
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  align-items: center;
  gap: clamp(22px, 5vw, 56px);
  min-height: calc(100svh - 92px);
  padding: 32px 0 60px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #0b6dae;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11em;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 6vw, 4.9rem);
  line-height: 1.04;
  letter-spacing: 0.02em;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.12;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.2;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 40rem;
  color: var(--muted);
  font-weight: 700;
}

.hero-actions,
.game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 900;
  text-decoration: none;
}

.primary-button {
  border: 2px solid #1a2b44;
  background: linear-gradient(180deg, #ffdd72, #f4a22d);
  color: #1a2b44;
  box-shadow: 4px 4px 0 #1a2b44;
}

.secondary-button {
  border: 1px solid #9fbad2;
  background: rgba(255, 255, 255, 0.82);
  color: #1a2b44;
}

.hero-art {
  margin: 0;
  align-self: end;
}

.hero-art img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  object-position: center bottom;
  box-shadow: var(--shadow);
}

.section {
  padding: 72px 0;
}

.section-heading {
  margin-bottom: 24px;
}

.featured-game {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(18px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.game-logo-panel {
  display: grid;
  min-height: 270px;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.58)),
    url("./assets/posharu-background.webp") center / cover;
  overflow: hidden;
}

.game-logo-panel img {
  width: min(520px, 92%);
  filter: drop-shadow(0 12px 22px rgba(16, 32, 58, 0.24));
}

.status {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 4px 12px;
  background: #e8fff5;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

.status.muted {
  background: #eef4f8;
  color: var(--muted);
}

.game-detail > p {
  color: var(--muted);
  font-weight: 700;
}

.game-meta {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-weight: 800;
}

.game-meta li {
  border-left: 5px solid var(--beer);
  padding-left: 10px;
}

.coming-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.coming-card,
.about-section {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  padding: 24px;
}

.coming-card p:last-child,
.about-copy p:last-child {
  margin-bottom: 0;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.about-copy {
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-weight: 700;
}

.policy-page {
  max-width: 840px;
  padding: 38px 0 72px;
}

.policy-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  padding: clamp(22px, 5vw, 42px);
  box-shadow: var(--shadow);
}

.policy-card h1 {
  max-width: none;
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.policy-card h2 {
  margin-top: 34px;
  font-size: 1.35rem;
}

.policy-card ul {
  padding-left: 1.2em;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 14px;
    font-size: 0.88rem;
  }

  .hero,
  .featured-game,
  .about-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 26px;
  }

  h1 {
    max-width: 9em;
  }

  .hero-art img {
    max-height: 520px;
    object-fit: contain;
    background: #fff;
  }

  .coming-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 22px, 1120px);
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: center;
  }

  .site-nav,
  .site-footer nav {
    justify-content: center;
  }

  .brand-logo {
    width: min(78vw, 280px);
    max-height: 74px;
    object-position: center;
  }

  .hero-actions,
  .game-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .game-logo-panel {
    min-height: 210px;
  }
}
