@charset "utf-8";

/* css/pages/preopen.css - 모바일 메인 가오픈 안내 */

.p-preopen {
  padding-bottom: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 107, 107, .10), transparent 30%),
    linear-gradient(180deg, #fff7f4 0%, #ffffff 320px);
}

.p-preopen-hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 26px var(--space-3) 24px;
  color: #111827;
}

.p-preopen-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.p-preopen-hero__bg span {
  position: absolute;
  display: block;
  border-radius: 999px;
  filter: blur(.2px);
  opacity: .9;
}

.p-preopen-hero__bg span:nth-child(1) {
  width: 210px;
  height: 210px;
  right: -78px;
  top: -46px;
  background: linear-gradient(135deg, rgba(255,107,107,.24), rgba(255,195,113,.28));
}

.p-preopen-hero__bg span:nth-child(2) {
  width: 132px;
  height: 132px;
  left: -48px;
  bottom: 36px;
  background: rgba(255, 229, 214, .75);
}

.p-preopen-hero__bg span:nth-child(3) {
  width: 74px;
  height: 74px;
  right: 34px;
  bottom: 62px;
  background: rgba(17, 24, 39, .06);
}

.p-preopen-hero__body {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.p-preopen-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  height: 28px;
  margin: 0 0 14px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 107, 107, .20);
  color: #e95757;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.p-preopen-hero__title {
  margin: 0;
  font-size: clamp(31px, 9vw, 46px);
  line-height: 1.08;
  letter-spacing: -.065em;
  font-weight: 900;
}

.p-preopen-hero__desc {
  margin: 16px 0 0;
  max-width: 29em;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: -.03em;
  word-break: keep-all;
}

.p-preopen-hero__desc b {
  color: #111827;
  font-weight: 800;
}

.p-preopen-hero__actions {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}

.p-preopen-hero__btn {
  min-width: 0;
  min-height: 46px;
  padding-inline: 18px;
  border-radius: 14px;
  font-weight: 800;
}

.p-preopen-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 var(--space-3) 14px;
  margin-top: -18px;
  position: relative;
  z-index: 2;
}

.p-preopen-status__card {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 86px;
  padding: 14px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(17,24,39,.07);
  box-shadow: 0 12px 24px rgba(17,24,39,.06);
}

.p-preopen-status__card .material-symbols-outlined {
  flex: 0 0 auto;
  font-size: 23px;
  margin-top: 1px;
}

.p-preopen-status__card.is-open .material-symbols-outlined { color: #0f9f6e; }
.p-preopen-status__card.is-ready .material-symbols-outlined { color: #e88a00; }

.p-preopen-status__card b {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.03em;
}

.p-preopen-status__card p {
  margin: 0;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.45;
  word-break: keep-all;
}

.p-preopen-section {
  margin: 10px var(--space-3) 0;
  padding: 18px 14px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(17,24,39,.07);
  box-shadow: 0 10px 28px rgba(17,24,39,.045);
}

.p-preopen-section__head {
  margin-bottom: 13px;
}

.p-preopen-section__head h2,
.p-preopen-note h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -.045em;
}

.p-preopen-section__head p,
.p-preopen-note p {
  margin: 5px 0 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.6;
  word-break: keep-all;
}

.p-preopen-links {
  display: grid;
  gap: 9px;
}

.p-preopen-link {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 78px;
  padding: 13px 12px;
  border-radius: 18px;
  background: #fafafa;
  border: 1px solid #f1f1f1;
}

.p-preopen-link:active {
  transform: translateY(1px);
  background: #f6f6f6;
}

.p-preopen-link__icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #fff1ed;
  color: #f05f5f;
  font-size: 23px;
}

.p-preopen-link__body {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
}

.p-preopen-link__top {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.p-preopen-link__top strong {
  display: block;
  min-width: 0;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.p-preopen-link__top em {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 21px;
  padding: 0 8px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.p-preopen-link__desc {
  display: block;
  margin-top: 4px;
  color: #6b7280;
  font-size: 12.5px;
  line-height: 1.45;
  word-break: keep-all;
}

.p-preopen-link__arrow {
  flex: 0 0 auto;
  color: #9ca3af;
  font-size: 22px;
}

.p-preopen-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fffaf0;
  border-color: #f5dfb9;
}

.p-preopen-note__icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #fff;
  color: #d97706;
  font-size: 24px;
}

.p-preopen-cs {
  margin: 10px var(--space-3) 0;
  padding: 16px 14px;
  border-radius: 22px;
  background: #111827;
  color: #fff;
}

.p-preopen-cs__body strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.p-preopen-cs__body p {
  margin: 5px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 12.5px;
  line-height: 1.55;
  word-break: keep-all;
}

.p-preopen-cs__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 13px;
}

.p-preopen-cs__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 13px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

@media (min-width: 560px) {
  .p-preopen-hero { padding-inline: 26px; }
  .p-preopen-status,
  .p-preopen-section,
  .p-preopen-cs { margin-inline: 26px; }
  .p-preopen-status { padding-inline: 0; }
  .p-preopen-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-preopen-cs { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
  .p-preopen-cs__actions { min-width: 220px; margin-top: 0; }
}

/* 2026.06.05 50주년 행사 QR 진입용 안내 카드
   - 순서지 QR이 메인(m.jh1004.com)으로 들어오는 상황을 고려해 메인 상단에 노출합니다. */
.p-preopen-anniv {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: -30px var(--space-3) 50px;
  padding: 15px 14px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0%, rgba(217,181,118,.34), transparent 34%),
    linear-gradient(135deg, #062140, #0b315b 58%, #061d37);
  box-shadow: 0 16px 38px rgba(6, 33, 64, .22);
}

.p-preopen-anniv__mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 20px;
  color: #1f2937;
  background: linear-gradient(135deg, #f7df9a, #cfa15a);
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -.05em;
  box-shadow: 0 10px 24px rgba(207, 161, 90, .24);
}

.p-preopen-anniv__body { min-width: 0; }

.p-preopen-anniv__body p {
  margin: 0 0 3px;
  color: #f0d79b;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .02em;
}

.p-preopen-anniv__body h2 {
  margin: 0;
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: -.05em;
}

.p-preopen-anniv__body span {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.75);
  font-size: 12px;
  line-height: 1.42;
  word-break: keep-all;
}

.p-preopen-anniv__link {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 15px;
  color: #111827;
  background: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

@media (min-width: 560px) {
  .p-preopen-anniv {
    grid-template-columns: 62px minmax(0, 1fr) auto;
    margin-inline: 26px;
  }
  .p-preopen-anniv__mark { width: 62px; height: 62px; }
  .p-preopen-anniv__link {
    grid-column: auto;
    min-width: 116px;
    padding-inline: 16px;
  }
}
