/* ========================================
   DAY 1 — 속초·고성 (Memento Mori)
   ======================================== */

/* Page Container */
.day1-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 50%, #16213e 100%);
  position: relative;
  overflow-x: hidden;
}

.day1-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(120, 119, 198, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(255, 119, 115, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 206, 84, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.day1-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></svg>');
  background-size: 50px 50px;
  opacity: 0.5;
}

.day1-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  color: white;
}

/* Travel Concept */
.travel-concept {
  text-align: center;
  margin-bottom: 40px;
  padding: 32px 24px;
}

.concept-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: #a78bfa;
  margin-bottom: 20px;
}

.concept-quote {
  font-size: 1.3rem;
  line-height: 1.9;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}

.concept-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

.concept-desc em {
  font-style: normal;
  color: #a78bfa;
}

/* Day Navigation */
.day-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.day-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.day-nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.day-nav-item.active {
  background: rgba(255, 215, 0, 0.15);
  border-color: rgba(255, 215, 0, 0.4);
}

.day-nav-number {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}

.day-nav-item.active .day-nav-number {
  color: rgba(255, 215, 0, 0.8);
}

.day-nav-place {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.day-nav-item.active .day-nav-place {
  color: #ffd700;
}

/* Header */
.day1-header {
  text-align: center;
  margin-bottom: 48px;
}

.back-link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 24px;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

.day-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.day1-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, #ffd700 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Memento Mori Section */
.memento-mori {
  margin-bottom: 60px;
}

.memento-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.memento-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.memento-box:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateY(-4px);
}

.memento-box:hover::before {
  opacity: 1;
}

.memento-box .step-number {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 8px;
}

.memento-box .step-phase {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.memento-keyword {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: white;
}

.memento-question {
  font-size: 1rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 2px solid #60a5fa;
}

/* Timeline */
.day1-timeline {
  position: relative;
  padding-left: 40px;
}

.day1-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg,
    #3B82F6 0%,
    #10B981 50%,
    #EAB308 100%
  );
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -40px;
  top: 24px;
  width: 32px;
  height: 32px;
  background: white;
  border: 3px solid #3B82F6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.marker-number {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2563EB;
}

.timeline-item.highlight .timeline-marker {
  border-color: #10B981;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.timeline-item.highlight .marker-number {
  color: #059669;
}

.timeline-item.final .timeline-marker {
  border-color: #EAB308;
  box-shadow: 0 2px 8px rgba(234, 179, 8, 0.3);
}

.timeline-item.final .marker-number {
  color: #CA8A04;
}

/* Timeline Cards */
.timeline-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.timeline-card > *:not(.card-image) {
  padding-left: 28px;
  padding-right: 28px;
}

.timeline-card > .card-time {
  padding-top: 20px;
}

.timeline-card > .card-insight,
.timeline-card > .card-question {
  margin-left: 28px;
  margin-right: 28px;
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 24px;
}

/* Card Image */
.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.timeline-card:hover .card-image img {
  transform: scale(1.05);
}

.card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.9), transparent);
}

.dmz-image::after {
  background: linear-gradient(to top, rgba(254, 242, 242, 0.9), transparent);
}

.sunset-image::after {
  background: linear-gradient(to top, rgba(255, 247, 237, 0.9), transparent);
}

.timeline-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateY(-4px);
}

.timeline-card:hover::before {
  opacity: 1;
}

.card-time {
  font-size: 0.8rem;
  font-weight: 500;
  color: #60a5fa;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.card-header {
  margin-bottom: 16px;
}

.card-place {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}

.card-subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

.card-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.keyword {
  padding: 4px 12px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #60a5fa;
  letter-spacing: 0.5px;
}

.card-body {
  margin-bottom: 20px;
}

.card-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.card-menu li {
  color: #334155;
  margin-bottom: 8px;
  line-height: 1.6;
}

.card-menu .menu-note {
  font-size: 0.9rem;
  color: #64748B;
  padding-left: 8px;
  border-left: 2px solid #3B82F6;
}

.card-context {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #475569;
}

.card-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-features li {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.card-features li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: #a78bfa;
  font-weight: bold;
}

.card-activity {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
}

.activity-icon {
  font-size: 1.5rem;
}

.card-activity p {
  color: #93c5fd;
  margin: 0;
}

/* Insight Box */
.card-insight {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid #60a5fa;
  border-radius: 0 12px 12px 0;
}

.card-insight p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.card-insight em {
  font-style: normal;
  color: #7dd3fc;
}

.insight-note {
  margin-top: 12px !important;
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.4) !important;
}

/* DMZ Card Special */
.dmz-card {
  border-color: rgba(16, 185, 129, 0.2);
  background: rgba(16, 185, 129, 0.03);
}

.dmz-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
}

.dmz-card .card-time {
  color: #34d399;
}

.dmz-card .keyword {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.card-question {
  margin-top: 24px;
  padding: 24px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 16px;
  text-align: center;
}

.question-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(16, 185, 129, 0.8);
  margin-bottom: 16px;
}

.question-text {
  font-size: 1.15rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

.question-action {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #34d399;
}

/* Sunset Card */
.sunset-card {
  border-color: rgba(234, 179, 8, 0.2);
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.05) 0%, rgba(251, 191, 36, 0.03) 100%);
}

.sunset-card:hover {
  border-color: rgba(234, 179, 8, 0.4);
}

.sunset-card .card-time {
  color: #fbbf24;
}

.sunset-desc {
  font-size: 1.05rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

.final-insight {
  margin-top: 24px;
  border-left-color: rgba(234, 179, 8, 0.5);
  text-align: center;
}

.final-insight em {
  color: #fde047;
}

/* Day Summary */
.day1-summary {
  margin-top: 60px;
  margin-bottom: 40px;
}

.day1-summary .summary-box {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

.day1-summary h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffd700;
  margin-bottom: 20px;
}

.day1-summary p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

.day1-summary .summary-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
}

.day1-summary strong {
  color: #ffd700;
}

.day1-summary em {
  font-style: normal;
  color: #7dd3fc;
}

/* Obituary AI Section */
.obituary-ai {
  margin-bottom: 40px;
}

.obituary-box {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(248, 113, 113, 0.05) 100%);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
}

.obituary-box h4 {
  font-size: 1.1rem;
  font-weight: 500;
  color: white;
  margin-bottom: 12px;
}

.obituary-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.obituary-link {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  border-radius: 30px;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.obituary-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(139, 92, 246, 0.4);
}

.obituary-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Navigation */
.day-navigation {
  display: flex;
  justify-content: center;
}

.nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 48px;
  background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
  color: #1a1a2e;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(255, 215, 0, 0.3);
  text-decoration: none;
}

.nav-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 215, 0, 0.4);
}

.nav-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  opacity: 0.7;
  margin-bottom: 4px;
}

.nav-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.nav-subtitle {
  font-size: 0.85rem;
  opacity: 0.6;
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .day1-content {
    padding: 24px 16px 60px;
  }

  .day1-timeline {
    padding-left: 32px;
  }

  .day1-timeline::before {
    left: 11px;
  }

  .timeline-marker {
    left: -32px;
    width: 24px;
    height: 24px;
  }

  .marker-number {
    font-size: 0.75rem;
  }

  .timeline-card {
    padding: 20px;
  }

  .card-place {
    font-size: 1.3rem;
  }

  .memento-box {
    padding: 32px 20px;
  }

  .nav-btn {
    padding: 20px 32px;
  }
}

/* Day1 Page Hidden (for guide toggle) */
.day1-page.hidden {
  display: none;
}

/* Intro CTA Button (matches day2 style) */
.day1-content .intro-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 400px;
  margin: 40px auto;
  padding: 18px 36px;
  background: linear-gradient(135deg, #ffd700 0%, #f59e0b 100%);
  color: #1a1a2e;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(255, 215, 0, 0.3);
  font-family: 'Noto Sans KR', sans-serif;
}

.day1-content .intro-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 215, 0, 0.4);
}

.day1-content .intro-cta svg {
  flex-shrink: 0;
}

/* Cafe card closed days */
.cafe-closed {
  font-size: 0.85rem;
  color: #EF4444;
  margin-top: 4px;
}
