.page-home {
  --home-glow-purple: rgba(177, 75, 255, 0.22);
  --home-glow-blue: rgba(0, 229, 255, 0.16);
  --home-glow-red: rgba(255, 59, 92, 0.28);
  background: var(--bg-deep);
  color: var(--text-bright);
  overflow-x: clip;
  line-height: 1.6;
}

.page-home .home-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  padding: 72px 0 48px;
  overflow: hidden;
}

.page-home .hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 85%, var(--home-glow-purple) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, var(--home-glow-blue) 0%, transparent 50%),
    linear-gradient(180deg, rgba(11, 11, 15, 0.52) 0%, rgba(11, 11, 15, 0.76) 58%, var(--bg-deep) 100%);
}

.page-home .hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.page-home .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border: 1px solid var(--purple);
  border-radius: var(--radius-pill);
  color: var(--purple);
  font-size: 12px;
  font-family: var(--font-head);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(177, 75, 255, 0.08);
  margin-bottom: 24px;
}

.page-home .hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  animation: home-pulse 1.6s ease-in-out infinite;
}

.page-home .home-hero h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.12;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
  max-width: 720px;
}

.page-home .hero-subtitle {
  font-family: var(--font-head);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.08em;
  margin: 0 0 18px;
}

.page-home .hero-lead {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 0 30px;
}

.page-home .hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.page-home .btn-primary {
  background: linear-gradient(135deg, var(--purple), #8a3ae0);
  border: 1px solid var(--purple);
  color: #ffffff;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.page-home .btn-primary:hover {
  box-shadow: 0 0 26px var(--home-glow-purple);
  transform: translateY(-1px);
}

.page-home .btn-ghost {
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text-bright);
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.page-home .btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 0 20px var(--home-glow-blue);
}

.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
  margin: 0;
}

.page-home .hero-stat {
  background: rgba(26, 26, 36, 0.72);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: 14px 18px;
  backdrop-filter: blur(8px);
  min-width: 0;
}

.page-home .hero-stat dt {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  white-space: nowrap;
}

.page-home .hero-stat dd {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-bright);
  white-space: nowrap;
}

.page-home .home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.page-home .home-main {
  min-width: 0;
}

.page-home .home-side {
  min-width: 0;
  display: grid;
  gap: 28px;
  align-content: start;
}

.page-home .section-head {
  margin-bottom: 30px;
  position: relative;
}

.page-home .section-kicker {
  color: var(--blue);
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.page-home .section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  margin: 0 0 12px;
}

.page-home .section-intro {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 620px;
  margin: 0;
  line-height: 1.7;
}

.page-home .seoul-neon {
  margin: 0 0 34px;
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-soft);
}

.page-home .seoul-neon .image-frame {
  width: 100%;
  margin: 0;
}

.page-home .seoul-neon img {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .seoul-neon figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: #ffffff;
  font-size: 13px;
  background: rgba(11, 11, 15, 0.62);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

.page-home .daily-timeline {
  position: relative;
  padding-left: 26px;
}

.page-home .daily-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--purple) 0%, var(--blue) 48%, var(--border-soft) 100%);
  opacity: 0.8;
}

.page-home .timeline-item {
  position: relative;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-soft);
  transition: background-color 0.2s ease;
}

.page-home .timeline-item:last-child {
  margin-bottom: 0;
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .timeline-marker {
  position: absolute;
  left: -26px;
  top: 2px;
  width: 15px;
  height: 15px;
}

.page-home .marker-dot {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 10px var(--purple);
}

.page-home .marker-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--purple);
  opacity: 0.5;
}

.page-home .is-live .marker-dot {
  background: var(--red);
  box-shadow: 0 0 12px var(--red);
}

.page-home .is-live .marker-ring {
  border-color: var(--red);
}

.page-home .timeline-body {
  padding-left: 6px;
}

.page-home .timeline-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
}

.page-home .timeline-time {
  color: var(--text-muted);
  font-size: 13px;
  font-family: var(--font-body);
}

.page-home .timeline-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.4;
}

.page-home .timeline-body h3 a {
  color: var(--text-bright);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-home .timeline-body h3 a:hover {
  color: var(--blue);
}

.page-home .timeline-body > p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0 0 10px;
  line-height: 1.65;
}

.page-home .timeline-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.page-home .timeline-stats .data-highlight {
  color: var(--blue);
  font-family: var(--font-head);
  font-weight: 600;
}

.page-home .tag {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  font-size: 12px;
  padding: 3px 10px;
  color: var(--text-muted);
  background: rgba(42, 42, 58, 0.35);
  letter-spacing: 0.02em;
}

.page-home .tag-live {
  border-color: var(--red);
  color: var(--red);
  background: rgba(255, 59, 92, 0.08);
}

.page-home .tag-hot {
  border-color: var(--purple);
  color: var(--purple);
  background: rgba(177, 75, 255, 0.08);
}

.page-home .tag-region {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(0, 229, 255, 0.06);
}

.page-home .btn-archive {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  padding: 12px 30px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--purple);
  background: linear-gradient(135deg, rgba(177, 75, 255, 0.2), rgba(0, 229, 255, 0.12));
  color: var(--text-bright);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-home .btn-archive:hover {
  border-color: var(--blue);
  box-shadow: 0 0 24px var(--home-glow-blue);
}

.page-home .archive-section {
  margin-top: 72px;
}

.page-home .archive-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.page-home .archive-card {
  border-radius: var(--radius-card);
  border: 1px solid var(--border-soft);
  background: var(--bg-panel);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.page-home .archive-card:hover {
  border-color: var(--purple);
  box-shadow: 0 8px 32px rgba(177, 75, 255, 0.15);
  transform: translateY(-3px);
}

.page-home .archive-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.page-home .archive-thumb .image-frame {
  width: 100%;
  height: 100%;
  margin: 0;
}

.page-home .archive-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 11, 15, 0.35);
  color: rgba(255, 255, 255, 0.92);
  font-size: 26px;
  opacity: 0;
  transition: opacity 0.2s ease, background-color 0.2s ease;
  pointer-events: none;
}

.page-home .archive-card:hover .play-overlay {
  opacity: 1;
  background-color: rgba(11, 11, 15, 0.5);
}

.page-home .archive-card-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.page-home .archive-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 12px;
  gap: 8px;
  flex-wrap: wrap;
}

.page-home .archive-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}

.page-home .archive-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: auto;
  padding-top: 6px;
}

.page-home .view-count {
  color: var(--blue);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
}

.page-home .trending-panel {
  border-radius: var(--radius-card);
  background: linear-gradient(160deg, var(--bg-panel) 0%, #14141d 70%);
  border: 1px solid var(--border-soft);
  padding: 28px 22px;
  position: relative;
  overflow: hidden;
}

.page-home .trending-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 59, 92, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-home .trending-head {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.page-home .trending-head .section-title {
  font-size: 24px;
  margin-bottom: 6px;
}

.page-home .trending-hint {
  color: var(--text-muted);
  font-size: 13px;
  margin: 6px 0 0;
  line-height: 1.6;
}

.page-home .live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--red);
  border: 1px solid var(--red);
  background: rgba(255, 59, 92, 0.08);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  letter-spacing: 0.05em;
}

.page-home .live-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: home-pulse 1.4s ease-in-out infinite;
}

.page-home .trending-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 22px;
  aspect-ratio: 1 / 1;
}

.page-home .trending-visual .image-frame {
  width: 100%;
  height: 100%;
  margin: 0;
}

.page-home .trending-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .trending-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 11, 15, 0.7) 100%);
}

.page-home .trending-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .trending-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 10px;
  border-bottom: 1px solid rgba(42, 42, 58, 0.6);
  border-radius: 12px;
  transition: background-color 0.2s ease;
}

.page-home .trending-list li:last-child {
  border-bottom: 0;
}

.page-home .trending-list li:hover {
  background: rgba(177, 75, 255, 0.06);
}

.page-home .trending-list li:nth-child(-n + 3) {
  background: rgba(177, 75, 255, 0.05);
}

.page-home .rank-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-muted);
  min-width: 28px;
  letter-spacing: 0.04em;
}

.page-home .rank-top {
  color: var(--red);
  text-shadow: 0 0 12px rgba(255, 59, 92, 0.5);
}

.page-home .rank-info {
  flex: 1;
  min-width: 0;
}

.page-home .rank-info h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 3px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .rank-region {
  font-size: 12px;
  color: var(--text-muted);
}

.page-home .rank-count {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--blue);
  white-space: nowrap;
}

.page-home .trending-list li:nth-child(-n + 3) .rank-count {
  color: var(--red);
  text-shadow: 0 0 10px rgba(255, 59, 92, 0.4);
}

.page-home .search-tip-panel {
  border-radius: var(--radius-card);
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  padding: 26px 22px;
}

.page-home .search-tip-panel .section-kicker {
  margin-bottom: 6px;
}

.page-home .search-tip-panel h2 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.4;
}

.page-home .search-tip-panel p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 12px;
  line-height: 1.7;
}

.page-home .search-example {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-deep);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 16px 0;
  border: 1px solid var(--border-soft);
}

.page-home .search-example code {
  color: var(--blue);
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: 0.03em;
}

.page-home .search-arrow {
  color: var(--purple);
  font-size: 20px;
  line-height: 1;
}

.page-home .guide-section {
  padding: 72px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(177, 75, 255, 0.05) 30%, rgba(0, 229, 255, 0.04) 70%, transparent 100%);
}

.page-home .guide-section .section-head {
  text-align: left;
}

.page-home .guide-grid {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.page-home .guide-card {
  position: relative;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-soft);
  padding: 28px 22px 22px;
  background: var(--bg-panel);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.page-home .guide-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 28px var(--home-glow-blue);
  transform: translateY(-3px);
}

.page-home .guide-num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px var(--purple);
  display: block;
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.page-home .guide-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
}

.page-home .guide-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 16px;
  line-height: 1.65;
}

.page-home .guide-card a {
  color: var(--blue);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .guide-card a:hover {
  color: var(--purple);
  border-color: var(--purple);
}

.page-home .story-entry {
  padding: 64px 0;
  border-top: 1px solid var(--border-soft);
  background: radial-gradient(ellipse at 70% 20%, var(--home-glow-purple) 0%, transparent 60%);
}

.page-home .story-entry-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.page-home .story-entry-text {
  max-width: 680px;
}

.page-home .story-entry-text h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 28px);
  margin: 0 0 12px;
  line-height: 1.3;
}

.page-home .story-entry-text p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.75;
}

.page-home .trust-strip {
  border-top: 1px solid var(--border-soft);
  padding: 28px 0 36px;
  text-align: center;
}

.page-home .trust-strip p {
  color: var(--text-muted);
  font-size: 13px;
  max-width: 760px;
  margin: 0 auto 16px;
  line-height: 1.7;
}

.page-home .trust-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.page-home .trust-links a {
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .trust-links a:hover {
  color: var(--blue);
  border-color: var(--blue);
}

@keyframes home-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (min-width: 768px) {
  .page-home .hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .story-entry-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero {
    min-height: 680px;
    padding-bottom: 64px;
  }

  .page-home .home-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 56px;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .page-home .home-side {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-self: start;
  }

  .page-home .guide-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .section-head {
    margin-bottom: 36px;
  }

  .page-home .archive-grid {
    gap: 24px;
  }
}
