/*
 * css/jadu.css
 * 자두 전용 테마 — 팝·컬러풀·에너지 컨셉
 * 대표 키워드: 톡톡 튀는 개성, 특유의 음색, 발랄한 에너지
 * 메인 컬러: 선라이즈 오렌지(#FF6B35) + 딥 레드(#D0392B) → 그라디언트
 * 서브: 밝은 황금색 포인트(#FFD166), 배경 크림화이트(#FFF9F5)
 */

:root {
  --bg: #fff9f5;
  --text: #2a1a14;
  --subtext: #6a4035;
  --primary: #d0392b;
  --primary-soft: #e85a3a;
  --primary-bright: #ff6b35;
  --accent: #ffd166;
  --card: #ffffff;
  --border: #f5ddd5;
  --focus: #2e55ff;
  --success: #0f8b44;
  --danger: #990000;
}

* {
  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:
    radial-gradient(ellipse at 10% 5%, #fff5f0 0%, #fff9f5 50%, #fffbf8 100%);
}

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(1100px, 92%);
  margin-inline: auto;
}

/* ===== HERO HEADER ===== */
.site-header {
  position: relative;
  overflow: hidden;
  padding: 100px 0 72px;
  background: #1a0a05;
  border-bottom: 1px solid rgba(255, 107, 53, 0.3);
  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;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, rgba(26, 10, 5, 0.88) 0%, rgba(180, 50, 20, 0.52) 60%, rgba(255, 107, 53, 0.12) 100%),
    radial-gradient(circle at 75% 25%, rgba(255, 209, 102, 0.22), transparent 48%);
}

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

.site-header h1 {
  color: #fff;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.35);
}

.site-header .hero-subcopy {
  color: #ffe8df;
}

/* ===== FIXED NAV ===== */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: linear-gradient(to right, rgba(30, 10, 5, 0.94), rgba(160, 45, 20, 0.90));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 140, 80, 0.28);
}

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

.nav-logo {
  display: none;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
}

.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, 107, 53, 0.22);
}

.nav-links {
  display: flex;
  gap: 6px;
  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, 240, 230, 0.95);
  border: 1px solid rgba(255, 160, 100, 0.38);
  background: rgba(255, 255, 255, 0.10);
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.nav-links li a:hover {
  background: rgba(255, 107, 53, 0.28);
  border-color: rgba(255, 180, 130, 0.9);
  color: #fff;
  transform: translateY(-1px);
}

.nav-links .nav-cta a {
  background: linear-gradient(135deg, #ff6b35 0%, #d0392b 100%);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
}

.nav-links .nav-cta a:hover {
  background: linear-gradient(135deg, #ff8256 0%, #e04030 100%);
}

/* ===== HEADER BADGE — 자두 팝 스타일 ===== */
.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 2px solid rgba(255, 209, 102, 0.65);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.42), rgba(208, 57, 43, 0.36));
  color: #ffd166;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.22);
}

.header-badge::before {
  content: '✦';
  font-size: 0.75rem;
  color: #ffd166;
  animation: sparkle 2.2s ease-in-out infinite;
}

.header-badge::after {
  content: '✦';
  font-size: 0.75rem;
  color: #ffd166;
  animation: sparkle 2.2s ease-in-out 1.1s infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-family: 'Noto Sans KR', sans-serif;
  line-height: 1.32;
  letter-spacing: -0.015em;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--primary);
}

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

.hero-subcopy {
  max-width: 840px;
  font-size: 1.1rem;
  color: var(--subtext);
  margin: 0 0 18px;
}

.hero-highlights {
  margin: 0 0 28px;
  padding-left: 20px;
}

.hero-highlights li {
  margin-bottom: 6px;
  font-weight: 600;
}

.hero-highlights i {
  width: 20px;
  color: #ffd166;
}

/* ===== CTA ===== */
.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: 800;
  text-decoration: none;
  border: 0;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: 0.01em;
}

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

.btn-primary {
  background: linear-gradient(135deg, #ff6b35 0%, #d0392b 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(208, 57, 43, 0.38);
}

.btn-primary:hover {
  box-shadow: 0 14px 32px rgba(208, 57, 43, 0.52);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary);
  border: 2px solid rgba(255, 107, 53, 0.4);
}

/* ===== SECTIONS ===== */
.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.9), rgba(255, 244, 235, 0.7));
}

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

/* ===== PROFILE FIGURE ===== */
.profile-figure {
  margin: 0;
  position: relative;
}

.profile-figure::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 26px;
  background: linear-gradient(135deg, #ff6b35, #ffd166, #d0392b);
  z-index: 0;
  opacity: 0.55;
  filter: blur(12px);
}

.profile-figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 20px;
  border: 3px solid rgba(255, 107, 53, 0.4);
  background: #fff;
  box-shadow: 0 14px 32px rgba(208, 57, 43, 0.18);
  display: block;
}

.profile-figure figcaption {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  font-size: 0.96rem;
  color: var(--subtext);
  text-align: center;
}

/* ===== CARDS ===== */
.card-grid,
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.card {
  position: relative;
  background: linear-gradient(160deg, #ffffff 0%, #fff8f4 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 28px rgba(208, 57, 43, 0.08);
  overflow: hidden;
}

/* 카드 좌측 사이드 컬러 바 */
.card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  border-radius: 20px 0 0 20px;
  background: linear-gradient(180deg, #ff6b35 0%, #d0392b 50%, #ffd166 100%);
}

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

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

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

.timeline li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.timeline .year {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ff6b35, #d0392b);
  color: #fff;
  white-space: nowrap;
  min-width: 56px;
  text-align: center;
  margin-top: 4px;
}

.timeline p {
  margin: 0;
  line-height: 1.55;
}

/* ===== MEDIA SECTION ===== */
.media-block + .media-block {
  margin-top: 28px;
}

.sync-status {
  margin: 10px 0 4px;
  font-size: 0.95rem;
  color: var(--subtext);
  display: flex;
  align-items: center;
  gap: 6px;
}

.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-bright);
}

/* ===== THUMB GRID ===== */
.thumb-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 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 6px 20px rgba(208, 57, 43, 0.10);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
}

.thumb-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 32px rgba(208, 57, 43, 0.20);
}

/* 썸네일 상단 컬러 라인 */
.thumb-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, #ffd166, #d0392b);
  z-index: 1;
}

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

.thumb-card:hover img {
  transform: scale(1.04);
}

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

/* ===== LINK GROUP ===== */
.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 16px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid rgba(255, 107, 53, 0.4);
  text-decoration: none;
  font-weight: 700;
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(208, 57, 43, 0.10);
  transition: background 0.2s, transform 0.2s;
}

.link-group a:hover {
  background: rgba(255, 107, 53, 0.06);
  transform: translateY(-1px);
}

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

/* ===== FOOTER ===== */
.site-footer {
  padding: 52px 0 46px;
  background: linear-gradient(140deg, #1e0a05 0%, #2c1008 100%);
  color: #ffeee5;
  border-top: 3px solid rgba(255, 107, 53, 0.4);
}

.site-footer a {
  color: #ffc09e;
}

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

.site-footer h2 {
  color: #ffb87a;
}

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

.copyright {
  margin-top: 26px;
  font-size: 0.95rem;
  color: #f5a985;
}

/* ===== 2026 신보 강조 배너 ===== */
.new-album-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 24px 0 28px;
  padding: 22px 28px;
  border-radius: 20px;
  background: linear-gradient(130deg, #1a0a05 0%, #3a1208 60%, #1a0a05 100%);
  border: 2px solid rgba(255, 107, 53, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 209, 102, 0.18),
    0 12px 40px rgba(208, 57, 43, 0.28);
  position: relative;
  overflow: hidden;
}

/* 배너 배경 빛 효과 */
.new-album-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.new-album-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff6b35 0%, #d0392b 100%);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(208, 57, 43, 0.4);
}

.new-album-info {
  flex: 1;
}

.new-album-title {
  margin: 0 0 4px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #ffd166;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.new-album-sub {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 230, 200, 0.8);
}

.new-album-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.18);
  border: 1.5px solid rgba(255, 107, 53, 0.6);
  color: #ffb07a;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.new-album-cta:hover {
  background: rgba(255, 107, 53, 0.35);
  border-color: rgba(255, 140, 80, 0.9);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 680px) {
  .new-album-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
  }
  .new-album-cta {
    width: 100%;
    justify-content: center;
  }
}

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

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

  .section {
    padding: 56px 0;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ===== 모바일 햄버거 메뉴 ===== */
@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: 58px;
    left: 0;
    right: 0;
    background: rgba(24, 8, 4, 0.97);
    border-top: 1px solid rgba(255, 120, 60, 0.25);
    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.08);
    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, 107, 53, 0.14);
    border-color: transparent;
  }

  .nav-links .nav-cta a {
    margin: 10px 16px 0;
    width: calc(100% - 32px);
    border-radius: 999px;
    justify-content: center;
    background: linear-gradient(135deg, #ff6b35 0%, #d0392b 100%);
    border: none;
  }
}

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

  .card {
    padding: 18px 18px 18px 22px;
  }
}

/* ===== 허브 복귀 링크 (nav + footer) ===== */
.nav-hub-back {
  background: rgba(208, 57, 43, 0.18) !important;
  border: 1px solid rgba(255, 107, 53, 0.45) !important;
  color: #ffb07a !important;
  border-radius: 999px !important;
  padding: 6px 14px !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  transition: background 0.2s, color 0.2s, transform 0.15s !important;
}

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

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

.hub-return-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(208, 57, 43, 0.18);
  border: 1.5px solid rgba(255, 107, 53, 0.5);
  color: #ffb07a;
  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, 107, 53, 0.35);
  color: #fff;
  transform: translateY(-2px);
}
