/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: #fafaf7;
  color: #1a1a1a;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0 0 0.8em; }
ul { margin: 0.4em 0; padding-left: 1.2em; }
li { margin-bottom: 0.3em; }
a { color: inherit; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, #0f1c3f 0%, #1e3a8a 50%, #3b5fc7 100%);
  color: #fff;
  padding: 80px 24px 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(255,255,255,0.08) 0, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(255,200,100,0.12) 0, transparent 40%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.kicker {
  font-size: 12px;
  letter-spacing: 0.25em;
  font-weight: 600;
  opacity: 0.7;
  margin: 0 0 16px;
  text-transform: uppercase;
}
.kicker.dark { color: #1e3a8a; opacity: 0.9; }
.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  margin-bottom: 16px;
}
.accent { color: #f5b94c; }
.sub {
  font-size: 18px;
  opacity: 0.85;
  max-width: 600px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: #f5b94c;
  color: #0f1c3f;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  font-size: 15px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(245,185,76,0.4); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); box-shadow: none; }

/* ---- Summary ---- */
.summary-section { margin-top: -50px; margin-bottom: 50px; position: relative; }
.summary-card {
  background: #fff;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(15,28,63,0.15);
}
.summary-card h2 { font-size: 22px; margin-bottom: 24px; }
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}
.summary-item {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: #fafaf7;
  border-radius: 12px;
  border-left: 3px solid #1e3a8a;
}
.summary-item .num {
  font-size: 28px;
  font-weight: 700;
  color: #0f1c3f;
}
.summary-item .lbl {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}
.note { font-size: 13px; color: #777; margin-top: 16px; font-style: italic; }

/* ---- Pass card ---- */
.pass-card {
  background: #fff;
  border-radius: 18px;
  padding: 40px;
  margin-bottom: 60px;
  border: 1px solid #e8e8e0;
  box-shadow: 0 4px 20px rgba(15,28,63,0.05);
}
.pass-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
  margin-bottom: 24px;
}
.pass-head h2 { font-size: 32px; }
.pass-prices {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.pass-prices > div {
  text-align: center;
  padding: 12px 18px;
  background: #fafaf7;
  border-radius: 10px;
  min-width: 80px;
}
.pass-prices strong {
  display: block;
  font-size: 22px;
  color: #0f1c3f;
}
.pass-prices span {
  font-size: 12px;
  color: #666;
}
.pass-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 24px;
}
.pass-body h3 { font-size: 18px; margin-bottom: 12px; }
.pass-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid #eee;
}
.pass-links a {
  color: #1e3a8a;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}
.pass-links a:hover { text-decoration: underline; }

/* ---- Section ---- */
.section-title {
  font-size: 32px;
  margin-bottom: 8px;
}
.section-sub {
  color: #666;
  margin-bottom: 32px;
  font-size: 15px;
}

/* ---- Museum cards ---- */
.museum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}
.museum-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid #e8e8e0;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.15s, box-shadow 0.15s;
}
.museum-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(15,28,63,0.08);
}
.museum-card.done {
  background: #f0fdf4;
  border-color: #86efac;
}
.museum-card.done .museum-name { text-decoration: line-through; opacity: 0.7; }

.museum-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.museum-icon {
  font-size: 32px;
  line-height: 1;
}
.museum-name {
  font-size: 19px;
  font-weight: 700;
  color: #0f1c3f;
  margin-bottom: 4px;
}
.museum-area {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin: 2px 4px 2px 0;
}
.badge-pass { background: #dbeafe; color: #1e3a8a; }
.badge-no-pass { background: #fee2e2; color: #991b1b; }
.badge-free { background: #dcfce7; color: #166534; }
.badge-reserve { background: #fef3c7; color: #92400e; }

.museum-info {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  font-size: 14px;
  margin: 12px 0;
}
.museum-info dt { color: #888; font-weight: 500; }
.museum-info dd { margin: 0; color: #1a1a1a; }

.museum-tip {
  font-size: 13px;
  background: #fafaf7;
  padding: 12px;
  border-radius: 8px;
  border-left: 3px solid #f5b94c;
  margin: 12px 0;
  color: #444;
}

.museum-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #eee;
  gap: 12px;
}
.museum-footer a {
  font-size: 13px;
  color: #1e3a8a;
  font-weight: 600;
  text-decoration: none;
}
.museum-footer a:hover { text-decoration: underline; }

.check-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}
.check-label input { width: 16px; height: 16px; cursor: pointer; }

/* ---- Night card ---- */
.night-card {
  background: linear-gradient(135deg, #1a1f3a 0%, #2c2470 100%);
  color: #fff;
  border-radius: 18px;
  padding: 40px;
  margin-bottom: 60px;
}
.night-card h2 { font-size: 28px; margin-bottom: 8px; }
.night-card .kicker { color: #f5b94c; opacity: 1; }
.night-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.night-item {
  background: rgba(255,255,255,0.06);
  padding: 18px;
  border-radius: 12px;
  border-left: 3px solid #f5b94c;
}
.night-item h4 { font-size: 16px; margin-bottom: 6px; }
.night-item p { font-size: 14px; opacity: 0.9; margin: 0; }
.night-card .note { color: rgba(255,255,255,0.7); }

/* ---- Badges extra ---- */
.badge-night { background: #1a1f3a; color: #f5b94c; }
.badge-closed { background: #fee2e2; color: #991b1b; }

/* ---- Calendar ---- */
.calendar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 20px 0 32px;
}
.cal-day {
  text-align: center;
  padding: 10px 6px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
}
.cal-on { background: #dbeafe; color: #1e3a8a; }
.cal-off { background: #fee2e2; color: #991b1b; }

/* ---- Warn box ---- */
.warn-box {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 14px;
  margin-top: 24px;
}

/* ---- Alt card ---- */
.alt-card {
  background: #fff;
  border-radius: 18px;
  padding: 40px;
  margin-bottom: 60px;
  border: 1px solid #e8e8e0;
}
.alt-card h2 { font-size: 28px; margin-bottom: 24px; }
.alt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.alt-item {
  padding: 20px;
  background: #fafaf7;
  border-radius: 12px;
  border-left: 3px solid #1e3a8a;
}
.alt-item h4 { font-size: 16px; margin-bottom: 8px; color: #1e3a8a; }
.alt-item p { font-size: 14px; margin: 0; color: #444; }

/* ---- Plan ---- */
.plan-card {
  background: #fff;
  border-radius: 18px;
  padding: 40px;
  margin-bottom: 60px;
  border: 1px solid #e8e8e0;
}
.plan-card h2 { font-size: 28px; margin-bottom: 8px; }
.day {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}
.day:last-of-type { border-bottom: none; }
.day h3 {
  font-size: 17px;
  color: #1e3a8a;
  margin-bottom: 8px;
}

/* ---- Map ---- */
#map {
  height: 520px;
  width: 100%;
  border-radius: 14px;
  margin-bottom: 60px;
  border: 1px solid #e8e8e0;
  box-shadow: 0 4px 20px rgba(15,28,63,0.08);
  z-index: 1;
}
.custom-marker { background: transparent !important; border: none !important; }
.marker-pin {
  width: 36px;
  height: 36px;
  border-radius: 50% 50% 50% 0;
  background: #1e3a8a;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.marker-pin > * { transform: rotate(45deg); font-size: 16px; }

/* ---- TODO ---- */
.todo-card {
  background: #fff;
  border-radius: 18px;
  padding: 40px;
  margin-bottom: 60px;
  border: 1px solid #e8e8e0;
  box-shadow: 0 4px 20px rgba(15,28,63,0.05);
}
.todo-card h2 { font-size: 28px; margin-bottom: 8px; }
.todo-progress-wrap {
  background: #fafaf7;
  padding: 16px 20px;
  border-radius: 12px;
  margin: 20px 0 32px;
}
.todo-progress-label {
  font-size: 14px;
  color: #444;
  margin-bottom: 10px;
}
.todo-progress-label strong { color: #1e3a8a; font-size: 16px; }
.todo-progress-track {
  height: 8px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}
.todo-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #1e3a8a 0%, #f5b94c 100%);
  border-radius: 999px;
  transition: width 0.3s ease;
  width: 0%;
}
.todo-cat {
  margin-bottom: 28px;
}
.todo-cat h3 {
  font-size: 16px;
  color: #1e3a8a;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}
.todo-cat ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.todo-item {
  padding: 14px 0;
  border-bottom: 1px solid #f3f3ef;
}
.todo-item:last-child { border-bottom: none; }
.todo-item label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.todo-item input[type=checkbox] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #1e3a8a;
  flex-shrink: 0;
}
.todo-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.todo-content strong {
  font-size: 15px;
  color: #1a1a1a;
}
.todo-detail {
  font-size: 13px;
  color: #666;
}
.todo-link {
  font-size: 13px;
  color: #1e3a8a;
  font-weight: 600;
  text-decoration: none;
  margin-top: 4px;
  align-self: flex-start;
}
.todo-link:hover { text-decoration: underline; }
.todo-item.done strong { text-decoration: line-through; opacity: 0.5; }
.todo-item.done .todo-detail { opacity: 0.5; }

/* ---- Footer ---- */
footer {
  text-align: center;
  padding: 40px 24px;
  color: #888;
  font-size: 13px;
  border-top: 1px solid #eee;
  background: #fff;
}

/* ---- Responsive ---- */
@media (max-width: 700px) {
  .pass-card { padding: 24px; }
  .pass-body { grid-template-columns: 1fr; gap: 20px; }
  .hero { padding: 60px 24px 80px; }
  .summary-section { margin-top: -40px; }
  .summary-card { padding: 24px; }
  .summary-item .num { font-size: 22px; }
  .plan-card { padding: 24px; }
}
