/* 메인 화면 시안 공용 스타일 (game/ourgames.html 과 같은 톤) */
:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #6f6f6f;
  --line: #e6e6e6;
  --panel: #f6f6f6;
  --paper: #ffffff;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Pretendard, "Noto Sans KR", "Noto Sans JP", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}

button, a { font: inherit; }
a { color: inherit; }
img { max-width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: block;
  flex: 0 0 auto;
  width: 100px;
  height: 50px;
  overflow: hidden;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 131px;
  max-width: none;
  height: auto;
  transform: translate(-15px, -12px);
}

.language-switcher {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fafafa;
}

.language-button {
  min-width: 42px;
  min-height: 36px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
}

.language-button[aria-pressed="true"] { color: #fff; background: #1d1d1d; }

/* Common text */
.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.muted { color: var(--muted); }

.pre-line { white-space: pre-line; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14); }

.button--ghost { color: var(--ink); background: transparent; border-color: var(--line); }

.text-link {
  font-weight: 750;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* Store badges (same as ourgames.html) */
.store-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.store-link {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  width: 140px;
  height: 44px;
  overflow: hidden;
  border: 1px solid #a6a6a6;
  border-radius: 8px;
  background: #000;
  line-height: 0;
  transition: transform 160ms ease, filter 160ms ease;
}

.store-link:hover { transform: translateY(-2px); filter: brightness(1.06); }

.store-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  max-width: none;
  transform: translate(-50%, -50%);
}

.store-link--apple .store-badge { height: 48px; }
.store-link--google .store-badge { height: 65.5px; }

.status {
  padding: 30px;
  border: 1px dashed #cfcfcf;
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
}

/* Footer */
.site-footer {
  padding: 36px 20px;
  border-top: 1px solid var(--line);
  color: #8b8b8b;
  font-size: 0.82rem;
  line-height: 1.7;
  text-align: center;
}

.site-footer p { margin: 0; }

@media (max-width: 700px) {
  .site-header { min-height: 64px; padding: 0 18px; }
  .brand { width: 90px; height: 45px; }
  .brand-logo { width: 118px; transform: translate(-14px, -11px); }
}

@media (max-width: 450px) {
  .language-button { min-width: 36px; padding: 0 8px; }
}
