* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --blue-900: #0b2a5b;
  --blue-700: #1452d6;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  --bg:       #f4f8ff;
  --white:    #ffffff;
  --text:     #0f172a;
  --muted:    #64748b;
  --line:     #e5edfa;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
               "Malgun Gothic", "Noto Sans KR", "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

/* =========== Layout =========== */
.page {
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  min-height: 100vh;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(20, 82, 214, 0.08);
}

@media (min-width: 768px) {
  body { padding: 32px 0; background: linear-gradient(135deg, #e8f0ff 0%, #f4f8ff 100%); }
  .page { border-radius: 20px; min-height: auto; box-shadow: 0 20px 60px rgba(20, 82, 214, 0.12); }
}

/* =========== Header =========== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand { display: flex; align-items: center; gap: 8px; }
.logo-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}
.brand-name { font-weight: 800; font-size: 16px; color: var(--blue-900); letter-spacing: -0.2px; }
.badge-free {
  font-size: 11px; font-weight: 800; color: var(--white);
  background: var(--blue-600);
  padding: 4px 10px; border-radius: 999px;
  letter-spacing: 0.4px;
}

/* =========== Hero =========== */
.hero {
  background: linear-gradient(160deg, #e6f0ff 0%, #ffffff 70%);
  padding: 28px 20px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15), transparent 70%);
  border-radius: 50%;
}
.hero-inner { position: relative; }
.avatar-wrap {
  position: relative;
  width: 110px; height: 110px;
  margin: 0 auto 16px;
}
.avatar {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 24px rgba(20, 82, 214, 0.25);
}
.verify {
  position: absolute;
  right: 2px; bottom: 6px;
  width: 28px; height: 28px;
  background: var(--blue-600);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid #fff;
}
.hero-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-900);
  line-height: 1.4;
  margin-bottom: 8px;
  letter-spacing: -0.4px;
}
.hero-title b { color: var(--blue-600); font-weight: 800; }
.hero-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}
.hero-tags { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: 12px;
  background: var(--blue-50);
  color: var(--blue-700);
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid var(--blue-100);
}

/* =========== STATUS CARD (CORE) =========== */
.status-card {
  margin: 20px;
  background: linear-gradient(150deg, #ffffff 0%, #f4f8ff 100%);
  border: 2px solid var(--blue-100);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(20, 82, 214, 0.10);
  position: relative;
}
.status-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, var(--blue-500), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.status-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--blue-600);
  color: #fff;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
.status-label { font-size: 13px; font-weight: 700; letter-spacing: 0.3px; }

.status-body { padding: 20px 18px; }

.status-now {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--blue-50);
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 18px;
}
.status-icon {
  font-size: 22px;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  color: var(--blue-600);
  border-radius: 50%;
  border: 1px solid var(--blue-100);
  flex-shrink: 0;
}
.status-text { flex: 1; }
.status-title {
  font-size: 16px; font-weight: 800;
  color: var(--blue-900);
  margin-bottom: 2px;
}
.status-desc { font-size: 12px; color: var(--muted); }

.divider {
  height: 1px;
  background: repeating-linear-gradient(to right, var(--line) 0, var(--line) 6px, transparent 6px, transparent 12px);
  margin: 8px 0 18px;
}

.open-time-block { text-align: center; }
.open-time-label {
  font-size: 12px; font-weight: 700;
  color: var(--blue-600);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.open-time-value {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}
.open-time-value .date {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-900);
}
.open-time-value .time {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}
.open-time-value .time b {
  font-size: 48px;
  font-weight: 900;
  color: var(--blue-600);
  margin-left: 6px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.open-time-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.status-footer {
  display: flex;
  border-top: 1px solid var(--line);
  background: #fafcff;
}
.stat {
  flex: 1;
  text-align: center;
  padding: 14px 0;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-size: 17px;
  font-weight: 800;
  color: var(--blue-600);
  line-height: 1.2;
}
.stat-label {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* =========== Section title =========== */
.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  margin-bottom: 12px;
}
.section-title .bar {
  width: 4px; height: 16px;
  background: var(--blue-600);
  border-radius: 2px;
}
.section-title h2 {
  font-size: 16px;
  font-weight: 800;
  color: var(--blue-900);
  letter-spacing: -0.3px;
}

/* =========== Event =========== */
.event-section { padding: 8px 0 4px; }
.event-card {
  margin: 0 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(20, 82, 214, 0.06);
}
.event-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.event-body { padding: 14px 16px 16px; }
.event-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #fff;
  background: var(--blue-600);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.event-body h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--blue-900);
  margin-bottom: 6px;
}
.event-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* =========== Benefits =========== */
.benefits { padding: 24px 0 4px; }
.benefit-list {
  list-style: none;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.benefit-list li {
  background: var(--blue-50);
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid var(--blue-100);
}
.benefit-list .b-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--blue-600);
  color: #fff;
  font-size: 16px;
  margin-bottom: 8px;
}
.benefit-list b {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--blue-900);
  margin-bottom: 2px;
}
.benefit-list p {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* =========== Schedule =========== */
.schedule { padding: 24px 0 4px; }
.sch-row {
  margin: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 8px;
  background: #fff;
}
.sch-time {
  font-weight: 800;
  color: var(--blue-600);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.sch-desc {
  font-size: 13px;
  color: var(--text);
}
.sch-note {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}

/* =========== Notice =========== */
.notice {
  margin: 24px 20px;
  padding: 16px;
  background: var(--blue-50);
  border-left: 4px solid var(--blue-600);
  border-radius: 8px;
}
.notice-title {
  font-weight: 800;
  color: var(--blue-900);
  font-size: 14px;
  margin-bottom: 6px;
}
.notice-title i { color: var(--blue-600); margin-right: 4px; }
.open-time-hint i { color: var(--blue-600); margin-right: 2px; }
.notice p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

/* =========== Footer =========== */
.footer {
  text-align: center;
  padding: 20px;
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
