/* ============================================================
   home.css — 대문(메뉴) 페이지: 배경 그림 한 장 + 프로그램 버튼
   ============================================================ */
@font-face {
  font-family: 'Pretendard Variable';
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url('../team_maker/app/fonts/PretendardVariable.woff2') format('woff2-variations');
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  position: relative; min-height: 100vh; min-height: 100dvh; overflow: hidden;
  background: #8fc1e8; color: #1f2633;
  font-family: 'Pretendard Variable', Pretendard, -apple-system, 'Segoe UI', Roboto, 'Noto Sans KR', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ---------- 배경 ---------- */
.bg, .bg img { position: fixed; inset: 0; width: 100%; height: 100%; }
.bg img { object-fit: cover; object-position: center 60%; display: block; }

/* ---------- 워드마크 (왼쪽 위): r oo i .gg — oo 는 스코프 두 개 ---------- */
.wordmark {
  position: fixed; top: 22px; left: 26px; z-index: 2;
  display: inline-flex; align-items: center; gap: 2px;
  font-size: 30px; font-weight: 900; letter-spacing: -.5px; line-height: 1;
  color: #fff; text-shadow: 0 2px 10px rgba(0, 20, 50, .45);
}
.wordmark .oo { display: inline-flex; gap: 3px; margin: 0 2px; filter: drop-shadow(0 2px 6px rgba(0, 20, 50, .45)); }
.wordmark .oo i {
  width: 22px; height: 22px; border-radius: 50%;
  border: 4px solid #fff; position: relative;
}
.wordmark .oo i::before { /* 십자선 */
  content: ''; position: absolute; inset: 0; margin: auto;
  width: 3px; height: 3px; border-radius: 50%; background: #fff;
  box-shadow: 0 -6px 0 -1px #fff, 0 6px 0 -1px #fff, -6px 0 0 -1px #fff, 6px 0 0 -1px #fff;
}
.wordmark .tld { font-size: 18px; font-weight: 700; margin-left: 2px; opacity: .9; }

/* ---------- 프로그램 버튼 (화면 정중앙) ----------
   색은 home.js 의 APPS[].color 가 --btn-a / --btn-b 로 넣는다 (로고 그라디언트: 마젠타→노랑, 하늘색→블루) */
.apps {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  display: flex; gap: 18px; flex-wrap: wrap; justify-content: center;
  width: min(92vw, 420px);
}
.app {
  --btn-a: #0a93d8; --btn-b: #0566c8;
  flex: 0 0 auto; width: 176px; height: 62px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 14px; border-radius: 16px;
  background: linear-gradient(135deg, var(--btn-a), var(--btn-b)); color: #fff;
  box-shadow: 0 10px 26px rgba(0, 25, 60, .28), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .18s, box-shadow .18s, filter .18s;
}
.app:hover { transform: translateY(-3px) scale(1.03); filter: brightness(1.08); box-shadow: 0 16px 36px rgba(0, 25, 60, .36), inset 0 1px 0 rgba(255, 255, 255, .35); }
.app:active { transform: translateY(0) scale(.99); }
.app-name { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.1; display: flex; align-items: center; gap: 6px; white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }

.badge {
  font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .9); color: #333;
}
.app.is-soon { opacity: .75; cursor: default; }
.app.is-soon:hover { transform: none; filter: none; box-shadow: 0 10px 26px rgba(0, 25, 60, .28), inset 0 1px 0 rgba(255, 255, 255, .35); }

@media (max-width: 640px) {
  .wordmark { top: 16px; left: 16px; font-size: 26px; }
  .apps { gap: 14px; }
}
