/* =========================================================
   클릭비(Click-B) — 모던 아이돌 브랜드 리디자인
   컨셉: 다크 에디토리얼 × 네온 크림슨 그라데이션
   ========================================================= */

:root {
  --bg: #f6f5f8;
  --text: #16121a;
  --subtext: #5c5566;
  --primary: #e11d5e;
  --primary-soft: #ff5d8f;
  --accent: #7c3aed;
  --ink: #0b0710;
  --card: #ffffff;
  --border: #e9e5ee;
  --focus: #0f62fe;
  --success: #0f8b44;
  --danger: #b42318;

  /* 촌스러운 포스터체(Black Han Sans) 대신, 굵기 대비가 뚜렷한
     모던 산세리프 스택으로 교체 */
  --display-font: 'Gothic A1', 'Pretendard', 'Noto Sans KR', sans-serif;
  --kicker-font: 'Space Grotesk', 'Gothic A1', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--primary);
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 12px 16px;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* ===== HERO ===== */
.site-header {
  position: relative;
  overflow: hidden;
  padding: 132px 0 88px;
  background: var(--ink);
  border-bottom: 1px solid #221a2a;
  color: #fff;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-video-bg iframe {
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.77vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 0;
  filter: saturate(1.05) contrast(1.02);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 4, 12, 0.55) 0%, rgba(8, 4, 12, 0.78) 55%, rgba(8, 4, 12, 0.96) 100%),
    linear-gradient(115deg, rgba(11, 7, 16, 0.9) 0%, rgba(11, 7, 16, 0.35) 45%, rgba(124, 58, 237, 0.18) 100%);
}

.hero-video-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 12%, rgba(225, 29, 94, 0.35), transparent 45%);
}

.site-header-content {
  position: relative;
  z-index: 1;
}

.site-header h1 {
  color: #fff;
}

.site-header .hero-subcopy {
  color: rgba(255, 255, 255, 0.72);
}

/* ===== FIXED NAV ===== */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(11, 7, 16, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
}

.nav-logo {
  display: none;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-family: var(--display-font);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.nav-hamburger {
  display: none;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s;
}

.nav-hamburger:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav-links {
  display: flex;
  gap: 4px;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.nav-links li a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid transparent;
  background: transparent;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.nav-links li a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.nav-links .nav-cta a {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  border-color: transparent;
  color: #fff;
}

.nav-links .nav-cta a:hover {
  filter: brightness(1.1);
}

/* ===== 배지 / 헤드라인 (기존 '포스터' 느낌 제거) ===== */
.header-badge {
  display: table;
  margin: 0 0 20px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.82rem;
  font-family: var(--kicker-font);
  letter-spacing: 0.08em;
  font-weight: 500;
}

.poster-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(225, 29, 94, 0.4);
  background: rgba(225, 29, 94, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.poster-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-soft);
  box-shadow: 0 0 0 4px rgba(255, 93, 143, 0.2);
  flex-shrink: 0;
}

.poster-badge::after {
  content: none;
}

.poster-badge span {
  display: inline-block;
  padding: 0;
}

h1,
h2,
h3 {
  font-family: var(--display-font);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  margin-bottom: 18px;
  font-weight: 900;
  line-height: 1.42;
}

.retro-headline {
  position: relative;
  display: block;
  padding-bottom: 0;
}

.retro-headline .headline-accent {
  display: inline-block;
  line-height: 1.28;
  padding: 0.12em 0 0.2em;
  background: linear-gradient(100deg, var(--primary-soft), var(--primary) 60%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.retro-headline::after {
  content: none;
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  margin-bottom: 10px;
}

h2 .section-kicker {
  display: block;
  font-family: var(--kicker-font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  margin-bottom: 10px;
  font-weight: 700;
}

.hero-subcopy {
  max-width: 860px;
  font-size: 1.12rem;
  color: var(--subtext);
  margin: 0 0 22px;
  font-weight: 400;
}

.hero-highlights {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 600;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 14px;
  border-radius: 999px;
}

.hero-highlights i {
  width: 16px;
  color: var(--primary-soft);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 14px 30px rgba(225, 29, 94, 0.32);
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ===== 최신 소식 리본 (신규) ===== */
.news-ribbon {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 16px;
  background: linear-gradient(100deg, rgba(225, 29, 94, 0.16), rgba(124, 58, 237, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.14);
  max-width: 720px;
}

.news-ribbon .ribbon-tag {
  flex-shrink: 0;
  font-family: var(--kicker-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--primary);
  padding: 5px 10px;
  border-radius: 999px;
}

.news-ribbon p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}

.news-ribbon strong {
  color: #fff;
}

/* ===== 섹션 공통 ===== */
.section {
  padding: 84px 0;
  border-bottom: 1px solid var(--border);
}

.grid-two {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.profile-figure {
  margin: 0;
  position: relative;
}

.profile-figure img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
  display: block;
}

.profile-figure figcaption {
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--subtext);
}

.card-grid,
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 12px 30px rgba(20, 10, 30, 0.05);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  width: 40px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.card ul {
  margin: 0;
  padding-left: 20px;
}

.card ul li + li {
  margin-top: 6px;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.timeline li {
  border-left: 3px solid var(--border);
  padding-left: 14px;
  position: relative;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.timeline .year {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 800;
  font-family: var(--kicker-font);
  letter-spacing: 0.02em;
  color: var(--primary);
}

.timeline .year.is-new {
  color: #fff;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  padding: 2px 9px;
  border-radius: 999px;
}

.timeline p {
  margin: 4px 0 0;
}

.link-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.link-group a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 600;
}

.section-intro {
  margin-top: 0;
  color: var(--subtext);
}

.media-block + .media-block {
  margin-top: 42px;
}

.sync-status {
  margin: 8px 0 0;
  font-size: 0.95rem;
  color: var(--subtext);
}

.sync-status.is-success {
  color: var(--success);
  font-weight: 600;
}

.sync-status.is-error {
  color: var(--danger);
  font-weight: 600;
}

.media-block h3 i,
#media-gallery-title i {
  color: var(--primary);
}

.media-block .block-desc {
  margin: -2px 0 0;
  color: var(--subtext);
  font-size: 0.95rem;
}

.thumb-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.thumb-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(20, 10, 30, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.thumb-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(20, 10, 30, 0.12);
}

.thumb-card .thumb-media {
  position: relative;
}

.thumb-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.thumb-card .play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.35), transparent 55%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.thumb-card:hover .play-icon {
  opacity: 1;
}

.thumb-card .live-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: #fff;
  font-family: var(--kicker-font);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 999px;
}

/* 공식 프로필 갤러리 전용: 세로형(인물) 비율 */
.gallery-grid.thumb-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid .thumb-card img {
  aspect-ratio: 3 / 4;
  object-position: top center;
}

/* 완전체 재결합 포토 갤러리(보도사진): 한 줄에 4개 x 2줄 */
.photo-grid.thumb-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.photo-grid .thumb-card img {
  aspect-ratio: 4 / 3;
  object-position: center;
}

.thumb-card p {
  margin: 0;
  padding: 12px 14px 14px;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--text);
}

.site-footer {
  padding: 56px 0 48px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h2 {
  color: #fff;
  font-size: 1.3rem;
}

.site-footer a {
  color: var(--primary-soft);
}

.site-footer address {
  font-style: normal;
}

.official-links ul {
  margin: 0;
  padding-left: 20px;
}

.copyright {
  margin-top: 26px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 900px) {
  .grid-two,
  .card-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-grid.thumb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-grid.thumb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header {
    padding-top: 108px;
  }

  .section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .thumb-grid,
  .gallery-grid.thumb-grid,
  .photo-grid.thumb-grid {
    grid-template-columns: 1fr;
  }

  .news-ribbon {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== 모바일 햄버거 메뉴 ===== */
@media (max-width: 768px) {
  .nav-logo {
    display: inline-flex;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
  }

  .nav-hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(9, 5, 13, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0 16px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li a {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: transparent;
    padding: 14px 22px;
    font-size: 1rem;
    width: 100%;
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .nav-links li a:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: transparent;
  }

  .nav-links .nav-cta a {
    margin: 10px 16px 0;
    width: calc(100% - 32px);
    border-radius: 12px;
    justify-content: center;
  }
}

@media (max-width: 540px) {
  .btn,
  .link-group a {
    width: 100%;
  }

  .card {
    padding: 20px;
  }
}

/* ===== 허브 복귀 링크 (nav + footer) ===== */
.nav-hub-back {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  border-radius: 999px !important;
  padding: 7px 14px !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  transition: background 0.2s, color 0.2s, transform 0.15s !important;
}

.nav-hub-back:hover {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}

.hub-return-link {
  text-align: center;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hub-return-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.hub-return-link a:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}
