/* ===== 기본 구조/공통 ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body, html {
  margin: 0; padding: 0;
  min-height: 100vh; width: 100%;
  min-width: 0;
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  background: #181818; color: #fff; 
  box-sizing: border-box;
}
a { color: inherit; text-decoration: none; }
h1, h2 { margin-bottom: 0.5em; }

html { scroll-behavior: smooth; }

/* ===== 헤더/네비게이션 ===== */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; max-width: 100vw; z-index: 150;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.8em 2em; background: rgba(24,24,24,0.92);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07); box-sizing: border-box;
}
.logo { font-size: 1.5em; font-weight: bold; letter-spacing: 0.03em; transition: font-size 0.18s;}
.main-nav {
  display: flex; gap: 1.15em; align-items: center; flex-wrap: wrap;
  justify-content: flex-end; width: 100%; box-sizing: border-box;
}
.main-nav a { transition: color 0.16s, background 0.16s; font-size: 1.03em; padding: 0.39em 0.9em;}
.main-nav .nav-cta {
  background: linear-gradient(90deg, #F7B267, #9AE7FF);
  color: #181818; border-radius: 1.2em; padding: 0.43em 1.15em; font-weight: bold; margin-left: 0.4em;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav .nav-cta:hover { color: #F7B267; background: #252525; }


/* ===== Hero Section ===== */
.hero-section {
  position: relative; width: 100%; height: 100vh;
  text-align: center; color: white; overflow: hidden;
}
.background-video {
  position: absolute; top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto; transform: translate(-50%, -50%);
  z-index: 0; object-fit: cover; filter: brightness(0.58);
}
.hero-content {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 1; padding: 20px; max-width: 800px; width: 90%; box-sizing: border-box;
}
.hero-title-mo { display: none; }
.hero-title-pc { display: block; }
.hero-content h1 {
  font-size: 2.7rem; font-weight: 700; margin-bottom: 0.5em;
  background: linear-gradient(90deg, #fff, #9AE7FF, #F7B267, #fff);
  background-clip: text; -webkit-background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: fadeInUp 1.1s;
}
.hero-content p { font-size: 1.25rem; color: #e0e0e0; margin-bottom: 2.2em; animation: fadeInUp 1.7s;}
.cta-btn {
  padding: 0.8em 2.1em; font-size: 1.08rem;
  background: linear-gradient(90deg, #F7B267, #9AE7FF); color: #181818;
  border: none; border-radius: 2em; font-weight: 700; cursor: pointer;
  transition: background 0.3s, transform 0.18s;
  animation: fadeInUp 2.0s;
}
.cta-btn:hover { background: linear-gradient(90deg, #9AE7FF, #F7B267); transform: translateY(-2px) scale(1.03); }

/* ===== Section ===== */
section { padding: 6em 0 3em 0; }
.portfolio-section {
  max-width: 1280px; margin: -40px auto 0 auto;
  background: rgba(24,24,24,0.97); border-radius: 2.5em 2.5em 0 0;
  box-shadow: 0 -10px 40px 0 rgba(0,0,0,0.15); margin-top: -1.5em; padding-top: 4.5em;
}
section h2 { font-size: 1.7em; font-weight: 600; text-align: center; margin-bottom: 1.8em; }

.gallery-cards {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 36px;
}
.gallery-card {
  width: 350px; max-width: 94vw; background: #fff;
  border-radius: 2rem; overflow-x: hidden;
  box-shadow: 0 4px 28px 0 rgba(130, 90, 40, 0.09);
  transition: transform 0.28s cubic-bezier(.5,1.5,.5,1), box-shadow 0.22s;
  display: flex; flex-direction: column; align-items: stretch; cursor: pointer;
}
.gallery-card:hover {
  transform: scale(1.04) translateY(-8px); box-shadow: 0 8px 32px 0 rgba(120,140,200,0.15);
  border: none; background: #fff; z-index: 2;
}
.gallery-card img {
  width: 100%; height: 192px; object-fit: cover; border-bottom: 1px solid #f1f1f1; transition: filter 0.4s;
}
.gallery-card:hover img { filter: brightness(1.09) saturate(1.12); }
.gallery-info { padding: 26px 22px 22px 22px; display: flex; flex-direction: column; gap: 0.6rem; }
.gallery-type { font-size: 1.1rem; font-weight: 800; color: #ffab5b; margin-bottom: 6px; letter-spacing: 0.06em; }
.gallery-type span { display: inline-block; font-size: 0.85em; font-weight: 400; color: #969696; margin-left: 8px; }
.card-photo .gallery-type { color: #ffae60; }
.card-video .gallery-type { color: #6787ff; }
.card-music .gallery-type { color: #cc67ff; }
.gallery-main { font-size: 1.23rem; font-weight: 700; color: #252525; margin-bottom: 2px; }
.gallery-sub { font-size: 1rem; color: #626262; opacity: 0.93; }


/* ===== Process/About/문의 ===== */
.process-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 3vw;
  padding-top: 5em;
}

.process-steps {
  display: flex;
  justify-content: center;
  gap: 1em;
  flex-wrap: wrap;
}

.process-step {
  background: #24242a;
  border-radius: 1em;
  padding: 2em 1.7em;
  width: 200px;
  max-width: 240px;
  min-width: 180px;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.10);
  text-align: center;
}

.step-num {
  font-size: 2em;
  font-weight: bold;
  color: #F7B267;
  margin-bottom: 0.4em;
}

.step-title {
  font-size: 1.1em;
  font-weight: 600;
  margin-bottom: 0.6em;
}

.step-desc {
  color: #e0e0e0;
  font-size: 0.99em;
  line-height: 1.5;
}
.about-section { display: flex; flex-direction: column; align-items: center; }
.about-content { display: flex; align-items: center; gap: 2em; }
.about-photo { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; border: 2.5px solid #F7B267;}
.about-name { font-weight: 700; font-size: 1.15em; margin-bottom: 0.5em;}
.about-desc { font-size: 1em; color: #f0f0f0; margin-top: 0.5em;}
.about-btns { display: flex; gap: 1.1em; margin-top: 1.15em; flex-wrap: nowrap; }
.about-btn {
  display: inline-block; padding: 0.53em 1.25em; font-size: 1.08em; font-weight: 700; color: #181818;
  background: linear-gradient(90deg,#F7B267,#9AE7FF); border-radius: 1.7em;
  box-shadow: 0 2px 10px rgba(154,231,255,0.07); text-decoration: none; white-space: nowrap; min-width: 80px;
  transition: background 0.18s, color 0.16s, transform 0.16s;
}
.about-btn:hover {
  background: linear-gradient(90deg,#9AE7FF,#F7B267); color: #232336; transform: translateY(-2px) scale(1.04);
}

/* ===== 문의 폼 ===== */
.apply-hero { min-height: 32vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.apply-title { font-size: 2.1em; font-weight: 700; margin-bottom: 0.5em;
  background: linear-gradient(90deg,#fff,#9AE7FF,#F7B267,#fff); background-clip: text; -webkit-background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent; text-align: center; }
.apply-desc { color: #e0e0e0; font-size: 1.09em; text-align: center; max-width: 380px; line-height: 1.55; }
.apply-section { max-width: 420px; margin: 1em auto 4em auto; background: rgba(28,28,28,0.88); border-radius: 1.2em; padding: 2.5em 2em 2em 2em; box-shadow: 0 2px 18px rgba(0,0,0,0.15); }
.apply-form { display: flex; flex-direction: column; gap: 1.2em; }
.apply-form input, .apply-form select, .apply-form textarea {
  border-radius: 0.9em; border: 1px solid #aaa; padding: 0.78em 1em; font-size: 1em; background: #222; color: #fff; outline: none; resize: none; margin-bottom: 0.05em;
}
.apply-form input:focus, .apply-form select:focus, .apply-form textarea:focus { border: 1.6px solid #F7B267; }
.apply-form button { background: linear-gradient(90deg, #F7B267, #9AE7FF); color: #181818; border-radius: 2em; padding: 0.85em 2em; font-size: 1.07em; font-weight: bold; cursor: pointer; border: none; transition: background 0.3s; }
.apply-form button:hover { background: linear-gradient(90deg, #9AE7FF, #F7B267); }



/* ===== 기타 ===== */
.site-footer { text-align: center; font-size: 0.95em; padding: 2em 0 1em; color: #aaa; background: #141418; }
.footer-links { margin-bottom: 1em; }
.form-group { display: none; flex-direction: column; gap: 0.9em; margin-bottom: 1em;}
.form-group.active { display: flex; }
.apply-label { font-weight: 600; font-size: 1.08em; margin-right: 1.2em; color: #F7B267; letter-spacing: 0.02em; vertical-align: middle; }
.apply-toggle-row { display: flex; flex-direction: row; align-items: center; flex-wrap: nowrap; gap: 1.2em; margin-bottom: 1.1em; }
.toggle-label { font-size: 1.18em; font-weight: 700; color: #F7B267; min-width: 2.9em; }
.apply-toggle { display: flex; gap: 1.2em; }
.apply-toggle label { display: flex; align-items: center; font-size: 1.15em; font-weight: 600; color: #bbb; cursor: pointer; padding: 0.1em 0.8em 0.1em 0.3em; border-radius: 1.5em; transition: background 0.18s;}
.apply-toggle input[type="radio"] { display: none; }
.apply-toggle input[type="radio"]:checked + span {
  color: #181818; background: linear-gradient(90deg,#F7B267,#9AE7FF);
  font-weight: 900; box-shadow: 0 2px 14px rgba(180,240,255,0.14);
  padding: 0.06em 0.8em; border-radius: 1em;
}
.apply-form select {
  color: #fff; background: #19191a url('data:image/svg+xml;utf8,<svg fill="gray" viewBox="0 0 20 20" ...>') no-repeat right 1.1em center/1.1em auto;
}
.apply-form select option[value=""] { color: #b3b3b3; }
.apply-form select:invalid { color: #b3b3b3; }
.form-subtitle {
  display: block;
  font-size: 1.05em;
  font-weight: 600;
  color: #F7B267;
  margin: 0.6em 0 0.3em;
  text-align: left;
  width: 100%; 
}

.scroll-top-btn {
  position: fixed;
  right: 2vw;
  bottom: 4vh;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #222;
  box-shadow: 0 4px 24px 0 rgba(30,40,70,0.17);
  border: none;
  outline: none;
  cursor: pointer;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: opacity 0.18s, transform 0.16s;
  opacity: 0;
  pointer-events: none;
}
.scroll-top-btn.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top-btn .arrow {
  display: block;
  font-size: 1.7em;
  font-weight: 700;
}
.fab-nav {
  position: fixed;
  right: 3vw;
  bottom: 4vh;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.15em;
  z-index: 1200;
}
.fab-btn {
  width: 54px; height: 54px;
  margin-bottom: 0.1em;
  border-radius: 50%;
  background: linear-gradient(90deg, #F7B267, #9AE7FF);
  color: #222; border: none; box-shadow: 0 4px 18px 0 rgba(40,60,90,0.16);
  font-size: 1.5rem; cursor: pointer; outline: none;
  display: flex; align-items: center; justify-content: center;
  transition: box-shadow 0.19s, transform 0.14s;
}
.fab-btn:hover { box-shadow: 0 6px 30px 0 rgba(80,140,255,0.16); transform: scale(1.07); }
.fab-dropdown { position: relative; width: 100%; }
.fab-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  right: 0;
  bottom: 110%;
  background: #232336;
  border-radius: 1.2em;
  box-shadow: 0 4px 18px 0 rgba(40,60,90,0.17);
  padding: 0.4em 0.7em;
  z-index: 1201;
  min-width: 100px;
  max-width: 200px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.19s, transform 0.17s;
}
.fab-menu.active { 
  display: flex;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  }
.fab-menu button {
  display: flex;
  align-items: center;
  gap: 0.5em;
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.13em;
  font-weight: 700;
  padding: 0.53em 1.07em 0.53em 0.6em;
  margin-bottom: 0.13em;
  border-radius: 0.92em;
  text-align: left;
  transition: background 0.13s, color 0.14s;
  white-space: nowrap;
  flex-direction: row;
  justify-content: flex-start;
  cursor: pointer;
}
.fab-menu button:last-child {
  margin-bottom: 0;
}
.fab-menu button:hover { background: #29293b; color: #F7B267; }



.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger .bar {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* 햄버거 상태에서 ✕로 전환 */
.hamburger.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open .bar:nth-child(2) {
  opacity: 0;
}
.hamburger.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}



/* ===== alert 모달 ===== */
#alertModal.modal-bg {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.41);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
#alertModal.active { display: flex; }

#alertModal .modal-content {
  background: #25262c;
  border-radius: 2.2em;
  box-shadow: 0 6px 36px #2228;
  padding: 2.3em 2.5em 1.7em 2.5em;
  text-align: center;
  min-width: 260px;
  max-width: 90vw;
}

#alertModal .modal-message {
  font-size: 1.19em;
  color: #fff;
  line-height: 1.7;
  font-weight: 500;
  margin-bottom: 1.8em;
  word-break: keep-all;
}
#alertModal .modal-message b {
  color: #F7B267;
  font-weight: 800;
}

#alertModal .modal-btn {
  padding: 0.8em 2.5em;
  border: none;
  border-radius: 1.2em;
  font-size: 1.08em;
  font-weight: 700;
  background: linear-gradient(90deg,#F7B267,#9AE7FF);
  color: #181818;
  cursor: pointer;
  box-shadow: 0 2px 12px #19191928;
  transition: background 0.19s, color 0.13s, transform 0.13s;
}
#alertModal .modal-btn:hover, #alertModal .modal-btn:focus {
  background: linear-gradient(90deg,#9AE7FF,#F7B267);
  color: #232336;
  outline: none;
  transform: scale(1.04);
}


/* ===== 스크롤바 ===== */
::-webkit-scrollbar { width: 8px; height: 8px}
::-webkit-scrollbar-track { background: #181818; }
::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #F7B267, #9AE7FF); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(90deg, #9AE7FF, #F7B267); }


/* ===== 모달 스타일 ===== */
.modal-bg {
  display: none;
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.36);
  z-index: 1100;
  align-items: center; justify-content: center;
}
.modal-bg.active {
  display: flex !important;
}

.modal-content {
  background: #20232a;
  color: #f4f4f4;
  border-radius: 1.2em;
  min-width: 300px; max-width: 95vw; width: 490px;
  max-height: 88vh; overflow-y: auto;
  box-shadow: 0 10px 54px #2227;
  padding: 1.2em 2em 1.2em 2em;
  position: relative;
  animation: fadeInUp 0.22s;
}

.modal-content::-webkit-scrollbar-track {
  background: transparent;
  border-top: 18px solid transparent;  
  border-bottom: 18px solid transparent;
  border-radius: 1em;
}

.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1.1em; margin-bottom: 1.3em;
}
.modal-close {
  background: none; border: none; color: #f7b267; font-size: 1.5em; cursor: pointer;
  transition: color 0.17s, transform 0.14s; z-index: 1000;
}
.modal-close:hover { color: #9AE7FF; transform: scale(1.13);}
.modal-desc { margin-top: 2em; color: #e9e9e9; font-size: 1.02em; line-height: 1.7;}

.modal-btn {
  padding: 0.85em 2.2em;
  border: none;
  border-radius: 1.3em;
  font-size: 1.09em;
  font-weight: 700;
  background: linear-gradient(90deg,#F7B267,#9AE7FF);
  color: #181818;
  cursor: pointer;
  transition: background 0.19s, color 0.16s, transform 0.12s;
  margin-top: 1.5em;
}
.modal-btn:hover, .modal-btn:focus {
  background: linear-gradient(90deg,#9AE7FF,#F7B267);
  color: #232336;
  outline: none;
  transform: scale(1.04);
}

.swiper-slide {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-left: 0 !important;
}
.swiper-slide img {
  display: block;
  margin: 0 auto;
  border-radius: 1.1em;
}

.album-detail-cover {
  width: 90%; max-width: 320px; display: block; margin: 1.3em auto 1em auto;
  border-radius: 1em;
}
.album-detail-info { margin: 1.3em 0 1em 0; color: #aad7ff; font-size: 0.97em; }
.album-tracks ul { padding-left: 1.2em; margin-bottom: 1.5em; }
.album-tracks li { margin-bottom: 0.6em; color: #F7B267; }
.track-type { color: #9AE7FF; font-size: 0.93em; margin-right: 0.4em;}
.track-link { color: #9AE7FF; margin-left: 0.3em; font-size: 0.97em; }
.track-link:hover { text-decoration: underline; }




/* ===== works tab 버튼 ===== */
.works-tab-btns {
  display: flex;
  gap: 1.5em;
  justify-content: center;
  align-items: center;
  top: 70px; 
  z-index: 100;
  background: rgba(24,24,24,0.97); 
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-bottom: 1.5px solid #292929;
  padding: 0.7em 0;
  margin-top: 0;
  backdrop-filter: blur(10px);
}

.works-tab-btn {
  font-size: 1.12em;
  font-weight: 700;
  min-width: 80px;
  padding: 0.45em 1.1em;
  border-radius: 2em;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  white-space: nowrap;
  transition: background 0.19s, color 0.16s, transform 0.16s;
  letter-spacing: 0.02em;
  position: relative;
  outline: none;
}

.works-tab-btn.active, .works-tab-btn:focus {
  background: linear-gradient(90deg,#F7B267,#9AE7FF);
  color: #181818;
  outline: 2px solid #9ae7ff;
  box-shadow: 0 2px 16px rgba(154,231,255,0.08);
  transform: scale(1.03);
}

.works-tab-btn:hover:not(.active) {
  background: #232336;
  color: #F7B267;
  transform: translateY(-1px) scale(1.05);
}

.about-works-section { display: flex; flex-direction: column; align-items: center; padding: 2.2em 0 1.2em 0; margin: 0; }
.about-works-content { display: flex; align-items: center; gap: 2em; }
.about-works-photo { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; border: 2.5px solid #F7B267;}
.about-works-name { font-weight: 700; font-size: 1.15em; margin-bottom: 0.5em;}
.about-works-desc { font-size: 1em; color: #f0f0f0; margin-top: 0.5em;}


/* ===== 공통 더보기 버튼 ===== */
.more-btn {
  display: block;
  margin: 2.8em auto 0 auto;
  padding: 0.82em 2.5em;
  background: linear-gradient(90deg,#F7B267,#9AE7FF);
  color: #181818;
  font-size: 1.07em;
  border-radius: 2em;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.22s, transform 0.16s;
  box-shadow: 0 2px 10px #9AE7FF11;
}
.more-btn:hover {
  background: linear-gradient(90deg,#9AE7FF,#F7B267);
  transform: translateY(-2px) scale(1.03);
}


/* ===== 영상 리스트 레이아웃 ===== */
#videoList {
  display: flex;
  flex-direction: column;
  max-width: 1280px;
  gap: 2em;
  margin: 0.5em auto;
}

.video-row {
  display: flex;
  align-items: flex-start;
  background: rgba(255,255,255,0.06);
  border-radius: 1.2em;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  overflow-x: hidden;
  cursor: pointer;
  transition: box-shadow 0.23s, transform 0.23s;
  border: 1px solid rgba(255,255,255,0.10);
}

.video-row:hover {
  box-shadow: 0 12px 28px rgba(154,231,255,0.16);
  transform: translateY(-4px) scale(1.02);
  border-color: #9AE7FF66;
}

.video-thumb {
  width: 360px;
  height: 203px;
  object-fit: cover;
  border-radius: 1.1em 0 0 1.1em;
  flex-shrink: 0;
  background: #232336;
}

.video-text {
  padding: 1.2em 1.7em 1.2em 1.2em;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.video-title {
  font-size: 1.2em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2.25em;
}

.video-desc {
  color: #b3c5e2;
  font-size: 1em;
  line-height: 1.5;
  opacity: 0.92;
}

.video-category-bar {
  display: flex;
  justify-content: center;
  gap: 1.5em;
  background: rgba(24,24,24,0.97);
  border-bottom: 1px solid #292929;
  padding: 1em 0 0.8em 0;
  top: 133px;
  z-index: 101;
}
.video-filter-bar h3 { display: none; }
.filter-btn {
  background: none;
  border: none;
  color: #bbb;
  font-size: 1.08em;
  padding: 0.5em 0.7em;
  border-radius: 1.2em;
  text-align: left;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.18s, color 0.16s, transform 0.13s;
}
.filter-btn.active,
.filter-btn:hover {
  background: linear-gradient(90deg, #F7B267, #9AE7FF);
  color: #181818;
  font-weight: 800;
  transform: scale(1.03);
}
.video-list-area {
  flex: 1 1 0;
  min-width: 0;
}


/* ===== 음반 그리드 레이아웃 ===== */
#albumGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2em;
  max-width: 1280px;
  margin: 2.5em auto;
}

.album-card {
  background: rgba(255,255,255,0.05);
  border-radius: 1.2em;
  overflow-x: hidden;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  transition: box-shadow 0.21s, transform 0.22s, opacity 0.21s;
}

.album-card:hover {
  box-shadow: 0 10px 28px rgba(247,178,103,0.14);
  transform: translateY(-3px) scale(1.03);
  border-color: #F7B26788;
}

.album-cover {
  width: 100%;
  height: 170px;
  object-fit: cover;
  background: #222;
  border-radius: 1.1em 1.1em 0 0;
}

.album-title {
  color: #fff;
  font-size: 1.09em;
  font-weight: bold;
  margin: 0.7em 0 0.17em 0;
}

.album-artist {
  color: #F7B267;
  font-size: 0.98em;
  font-weight: 600;
  margin-bottom: 1em;
}

.album-disabled {
  pointer-events: none;
  opacity: 0.4;
  filter: grayscale(0.38);
}


.loading-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6em;
  margin: 1.5em 0;
}

.loading-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: linear-gradient(90deg, #F7B267, #9AE7FF);
  opacity: 0.85;
  animation: loadingBounce 1.2s infinite both;
}
.loading-dot:nth-child(2) { animation-delay: -0.24s; }
.loading-dot:nth-child(3) { animation-delay: -0.48s; }


/* 끝 알림 디자인 */
#albumEndMsg {
  display: none;
  margin: 2.7em 0 1.2em 0;
  text-align: center;
  color: #F7B267;
  font-size: 1.18em;
  font-weight: 700;
  letter-spacing: 0.01em;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(.65,1.2,.5,1);
}
#albumEndMsg.show {
  opacity: 1;
  animation: fadeInPop 1.1s;
}


/* ===== 이력 ===== */
#worksHistoryList {
  padding: 2em 1em;
  max-width: 960px;
  margin: 0 auto;
  font-size: 1.05em;
  color: #ddd;
  line-height: 1.7;
}
.group-title {
  font-size: 1.4em;
  font-weight: 800;
  margin-top: 6em;
  margin-bottom: 1em;
  color: #f7b267;
  padding-bottom: 0.3em;
}
.group-title:first-of-type {
  margin-top: 0;
}
.history-text h3 {
  margin-top: 5em;
  margin-bottom: 1em;
  font-size: 1.2em;
  font-weight: 700;
  color: #f7b267;
}
.group-title + h3 {
  margin-top: 0;
}
.history-text {
  margin-top: 0;
  padding: 1em 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.history-text ul {
  padding-left: 1.4em;
  margin-bottom: 2em;
}

.history-text li {
  margin-bottom: 0.5em;
  line-height: 1.65;
  list-style-type: disc; /* 기본 점. 필요시 none, square 등 변경 가능 */
}
.history-text h4 {
  margin-top: 1.5em;
  margin-bottom: 0.1em;
  font-size: 1.1em;
  font-weight: 600;
  color: #9ae7ff;
}
.history-text a {
  color: #9ae7ff;
  text-decoration: underline;
}
.history-text a:hover {
  text-decoration: none;
  color: #f7b267;
}



/* ===== 애니메이션 ===== */
@keyframes fadeInUp { 0% { opacity:0; transform: translateY(40px);} 100% { opacity:1; transform: translateY(0);} }

@keyframes loadingBounce {
  0%, 80%, 100% { transform: scale(0.8); }
  40% { transform: scale(1.3); }
}

@keyframes fadeInPop {
  0% { opacity: 0; transform: scale(0.93);}
  60% { opacity: 1; transform: scale(1.08);}
  100% { opacity: 1; transform: scale(1);}
}



/* ===== 반응형 ===== */
/* ===== Responsive Styles (Complete Integration) ===== */

/* 🌐 1024px 이하: Large Tablet */
@media (max-width: 1024px) {
  .hero-title-mo { display: block; }
  .hero-title-pc { display: none; }
  .gallery-cards {
    flex-direction: column;
    align-items: center;
    gap: 1.2em;
  }
  .gallery-card,
  .process-step {
    width: 85vw;
    max-width: 380px;
  }
  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 1em;
  }
}

/* 📱 900px 이하: Tablet */
@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8em 1em 0em 1em;
  }
  .logo {
    margin-bottom: 0.2em;
    font-size: 0.8em;
  }
  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0.6em;
    padding-top: 0.5em;
  }
  .main-nav.active {
    display: flex;
    padding-bottom: 1em;
  }
  .main-nav a {
    padding: 0.4em 0.7em;
    font-size: 0.99em;
  }
  .video-filter-layout {
    flex-direction: column;
    gap: 0;
    padding: 0 0.5em;
  }
  .video-filter-bar {
    flex-direction: row;
    gap: 0.7em;
    padding: 0.7em 0;
  }
  .hamburger {
    display: flex;
    position: absolute;
    top: 1em;
    right: 1em;
  }
}

/* 📲 768px 이하: Mobile */
@media (max-width: 768px) {
  section,
  .portfolio-section,
  .process-section,
  .about-section{
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0;
    box-sizing: border-box;
    text-align: center;
    padding-top: 3em;
    padding-bottom: 2em;
  }
  .apply-section {
    width: 100%;
    max-width: 95vw;
    margin: 0em auto;
    padding: 2em 1em;
    border-radius: 1em;
    box-sizing: border-box;
  }
  .gallery-cards,
  .process-steps {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1em;
  }
  .gallery-card,
  .process-step {
    width: 85vw;
    max-width: 380px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .gallery-card img {
    width: 100%; height: 192px; object-fit: cover; display: block;
  }
  #process {
    margin-top: 5.6em;
  }
  .process-section,
  .portfolio-section {
    padding: 0 1em;
    box-sizing: border-box;
    max-width: 100%;
    margin: 0 auto;
  }
  .portfolio-section h2 {
    margin-bottom: 1.1em;     
    padding-top: 1.6em;      
  }
  .about-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5em;
    max-width: 94vw;
    margin: 0 auto;
  }

  .about-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #F7B267;
  }

  .about-name {
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 0.3em;
  }

  .about-desc {
    font-size: 1em;
    line-height: 1.6;
    color: #eee;
    max-width: 90%;
    margin: 0 auto;
  }

  .about-btns {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 1.2em;
    margin-top: 1.5em;
  }

  .about-btn {
    padding: 0.5em 1.3em;
    font-size: 1em;
    border-radius: 1.8em;
    font-weight: 700;
  }
  .apply-form {
    display: flex;
    flex-direction: column;
    gap: 1.2em;
  }
  .apply-form input,
  .apply-form select,
  .apply-form textarea {
    width: 100%;
    padding: 0.8em 1em;
    font-size: 1em;
    border-radius: 0.9em;
    border: 1px solid #ccc;
    background: #222;
    color: #fff;
    box-sizing: border-box;
  }

  .apply-form textarea {
    min-height: 140px;
    line-height: 1.6;
  }

  .apply-toggle-row {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start;
    gap: 0.6em;
  }

  .apply-toggle {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 1.2em;
  }

  .cta-btn {
    width: 100%;
    padding: 0.85em 1.2em;
    font-size: 1.08em;
    border-radius: 2em;
    font-weight: bold;
  }
  .modal-content {
    width: 95vw;
    padding: 1.2em;
  }
  .works-tab-btns {
    display: flex;
    top: 100px;
    justify-content: center;
    gap: 1.2em;
    padding: 0.8em 1em;
    box-sizing: border-box;
    flex-wrap: nowrap;
  }
  .works-tab-btn {
    font-size: 1em;
    font-weight: 700;
    padding: 0.45em 1.1em;
    min-width: 80px
    white-space: nowrap;
    border-radius: 2em;
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    transition: background 0.19s, color 0.16s, transform 0.16s;
    letter-spacing: 0.02em;
    position: relative;
    outline: none;
  }
  .video-category-bar {
    display: flex;
    justify-content: center;
    gap: 1.5em;
    background: rgba(24,24,24,0.97);
    border-bottom: 1px solid #292929;
    padding: 1em 0 0.8em 0;
    top: 90px;
    z-index: 101;
  }
  .filter-btn {
    background: none;
    border: none;
    color: #bbb;
    font-size: 1em;
    padding: 0.3em 0.7em;
    border-radius: 1.2em;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.18s, color 0.16s, transform 0.13s;
  }
  .filter-btn.active,
  .filter-btn:hover {
    background: linear-gradient(90deg, #F7B267, #9AE7FF);
    color: #181818;
    font-weight: 800;
    transform: scale(1.03);
  }
  .mobile-menu {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(24,24,24,0.97);
    z-index: 3000;           
    display: none;          
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .mobile-menu.active { display: flex; }

  .about-works-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5em;
    max-width: 94vw;
    margin: 0 auto;
  }

  .about-works-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #F7B267;
  }

  .about-works-name {
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 0.3em;
  }

  .about-works-desc {
    font-size: 1em;
    line-height: 1.6;
    color: #eee;
    max-width: 90%;
    margin: 0 auto;
  }
  
  .video-grid,
  .music-grid {
    grid-template-columns: 1fr;
    gap: 2em;
  }
  .video-row {
    flex-direction: column;
    align-items: stretch;
  }
  .video-thumb {
    width: 100%;
    height: 55vw;
    min-height: 203px;
    border-radius: 1.1em 1.1em 0 0;
  }
  .video-text {
    padding: 1em 1em 1.1em 1em;
  }
  #albumGrid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  .album-cover {
    height: 120px;
  }
  #about, #process, #portfolio, #apply {
    scroll-margin-top: 80px;
  }
  .scroll-top-btn {
    right: 5vw;
    bottom: 4vh;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }
  @media (max-width: 600px) {
    .fab-nav {
      right: 5vw;
      bottom: 4vh;
      gap: 0.7em;
    }
    .fab-nav button {
      width: 42px;
      height: 42px;
      font-size: 1.18rem;
    }
  }
  }
}

/* 📳 480px 이하: Small Mobile */
@media (max-width: 480px) {
  .logo {
    font-size: 1.05em;
  }
  .main-nav {
    padding-left: 0.3em;
  }
  .main-nav a,
  .main-nav .nav-cta {
    font-size: 0.92em;
    padding: 0.3em 0.6em;
  }
  .gallery-card,
  .process-step {
    width: 98vw !important;
    max-width: 98vw !important;
  }
  .about-photo {
    width: 120px;
    height: 120px;
  }
  .modal-content {
    font-size: 0.93em;
    padding: 1em;
  }
  .works-tab-btns {
    gap: 0.7em;
    top: 52px;
    padding: 0.25em 0;
  }
  .works-tab-btn {
    padding: 0.28em 1.1em;
    font-size: 0.97em;
  }
  .modal-header {
    font-size: 0.97em;
  }
}

/* 🧬 360px 이하: Tiny Mobile */
@media (max-width: 360px) {
  .cta-btn {
    padding: 0.6em 1.2em;
    font-size: 0.9rem;
  }
  .apply-form input,
  .apply-form textarea {
    font-size: 0.9em;
    padding: 0.6em 0.8em;
  }
  .modal-content {
    font-size: 0.87em;
    padding: 0.8em;
  }
}
