@charset "utf-8";

/* 스플래시: 뷰포트 전체 (모바일 주소창 대응 100dvh + -webkit-fill-available) */
:root {
  --app-splash-purple: #5c4fd8;
  --app-splash-purple-light: #7a6cf0;
  --app-splash-max-width: 480px;
  /* 보라 → 실버톤 (가로 그라데이션 우측) */
  --app-splash-silver: #b4b4c4;
  /* 하단 영역 공통: 한 덩어리처럼 보이도록 동일 그라데이션 */
  --app-splash-grad: linear-gradient(
    90deg,
    var(--app-splash-purple) 0%,
    var(--app-splash-silver) 100%
  );
  --app-splash-purple-grad: linear-gradient(
    90deg,
    var(--app-splash-purple-light) 0%,
    var(--app-splash-purple) 100%
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html.app-splash-html,
body.app-splash-body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  height: 100%;
}

html.app-splash-html {
  height: 100%;
}

body.app-splash-body {
  min-height: 100vh;
  min-height: 100dvh;
  min-height: -webkit-fill-available;
  display: flex;
  justify-content: center;
  background: #f5f5f5;
}

.app-splash {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--app-splash-max-width);
  min-height: 100vh;
  min-height: 100dvh;
  min-height: -webkit-fill-available;
  background: #fff;
  color: #1a1a1a;
  font-family: "Noto Sans KR", "Noto Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  box-shadow: 0 1px 8px rgba(20, 20, 40, 0.05);
  overflow: hidden;
}

.app-splash__main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 32px;
  text-align: center;
}

.app-splash__logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin-bottom: 20px;
}

.app-splash__title {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 4.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111;
}

.app-splash__copy {
  margin: 0;
  font-size: clamp(0.9rem, 3.2vw, 1rem);
  line-height: 1.55;
  color: #555;
  max-width: 280px;
}

/* 하단: 좌/우 좁은 단색 블록 + 중앙 넓은 정보 영역 + 우상단 라운드 탭 */
.app-splash__bottom-stack {
  flex-shrink: 0;
  width: 100%;
  max-width: var(--app-splash-max-width);
}

.app-splash__upper-bar {
  display: flex;
  align-items: stretch;
  height: 48px;
  width: 100%;
  overflow: hidden;
}

.app-splash__upper-bar-left {
  flex: 0 0 48px;
  width: 48px;
  background-color: var(--app-splash-purple-light);
  background-image: var(--app-splash-purple-light);
}

.app-splash__upper-bar-center {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0 18px;
  background-color: var(--app-splash-purple);
  background-image: var(--app-splash-purple-grad);
  color: #fff;
}

.app-splash__bar-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
}

.app-splash__bar-copy {
  display: block;
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}

.app-splash__upper-bar-right {
  flex: 0 0 48px;
  width: 48px;
  position: relative;
  background: #fff;
  isolation: isolate;
}

.app-splash__corner-tab {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 48px;
  background: var(--app-splash-purple);
  border-top-right-radius: 48px;
}

.app-splash__lower-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  width: 100%;
  background: var(--app-splash-purple);
  padding: 0 16px;
  text-align: center;
}

.app-splash__copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.app-splash__skip {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.06);
  color: #333;
  font-size: 0.8125rem;
  cursor: pointer;
  font-family: inherit;
}

.app-splash__skip:hover {
  background: rgba(0, 0, 0, 0.1);
}

@media (max-width: 380px) {
  .app-splash__upper-bar {
    height: 60px;
  }

  .app-splash__upper-bar-center {
    padding: 0 14px;
  }

  .app-splash__bar-copy {
    font-size: 0.68rem;
  }
}
