/* ==========================================================================
   U-NYA Official Website Stylesheet
   ========================================================================== */

/* 1. Global Reset & Variables */
:root {
  --primary-purple: #6B52ED;
  --primary-purple-hover: #543BD4;
  --text-dark: #2B2D42;
  --text-muted: #6C757D;
  --bg-color: #FFFFFF;
  --wrap-bg: #FFFFFF;
  --accent-pink: #FF6B8B;
  --accent-blue: #89CFF0;
  --border-color: #E2E8F0;
  --font-family-playful: 'Fredoka', 'Outfit', sans-serif;
  --font-family-base: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  background-color: #FFFFFF;
  color: var(--text-dark);
  font-family: var(--font-family-base);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

/* 2. Wrap Container */
.wrap {
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  background-color: #FFFFFF;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

/* 3. Header / Bar Navigation */
.site-header {
  width: 100%;
  height: 75px;
  padding: 0 4rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.header-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* U-NYA Graffiti Bubbly Logo */
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  user-select: none;
}

.logo img {
  height: 33px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: 'Fredoka', 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #89CFF0;
  -webkit-text-stroke: 3px #111;
  text-shadow:
    3px 3px 0px #111,
    -1px -1px 0 #111,
    1px -1px 0 #111,
    -1px 1px 0 #111,
    1px 1px 0 #111;
  transform: rotate(-2deg);
  transition: var(--transition-smooth);
}

.logo:hover .logo-text {
  transform: rotate(0deg) scale(1.05);
  color: #6B52ED;
}

.logo-sparkle {
  font-size: 1.4rem;
  animation: sparkleRotate 3s infinite linear;
}

@keyframes sparkleRotate {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.2);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-link {
  text-decoration: none;
  font-family: var(--font-family-playful);
  font-size: 1.1rem;
  font-weight: 600;
  color: #333333;
  transition: var(--transition-smooth);
  position: relative;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link.active {
  color: var(--primary-purple);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-purple);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--primary-purple);
  transform: translateY(-1px);
}

.arrow {
  font-size: 0.8rem;
  font-weight: 700;
  transition: transform 0.3s ease;
  display: inline-block;
  color: var(--primary-purple);
}

/* Dropdown Menu Styling */
.nav-item-dropdown {
  position: relative;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item-dropdown:hover .arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 0.8rem 0;
  min-width: 170px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 100;
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: background 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: #F3F0FF;
  color: var(--primary-purple);
}

/* 4. Main Stage Section */
.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.cats-stage-container {
  width: 100%;
  max-width: 1100px;
  height: 680px;
  position: relative;
  margin: 0 auto;
}

/* Background Soft Glow */
.bg-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 500px;
  background: radial-gradient(circle, rgba(137, 207, 240, 0.12) 0%, rgba(107, 82, 237, 0.04) 50%, rgba(255, 255, 255, 0) 75%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

/* 5. Cat Items Positioning & Styling */
.cat-item {
  position: absolute;
  cursor: pointer;
  user-select: none;

  /* Initial State before entrance */
  opacity: 0;
  transform: translateY(140px) scale(0.85);
  transition: transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.75s ease;
  visibility: hidden;
}

.cat-img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.06));
  transition: filter 0.3s ease, transform 0.3s ease;
}

/* Entrance Appeared State */
.cat-item.appeared {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Continuous Floating Animation (둥둥 떠있는 애니메이션) */
.cat-item.floating {
  animation-name: floatAnim;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
}

@keyframes floatAnim {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-16px) rotate(2.5deg);
  }

  100% {
    transform: translateY(6px) rotate(-1.5deg);
  }
}

/* Precise Positions for 12 Cats (Matching attached layout) */
/* 1. cat1: Orange Butterfly Cat (Top Left) */
.cat-1 {
  top: 12%;
  left: 20%;
  width: 130px;
  z-index: 5;
  animation-duration: 3.8s;
  animation-delay: -0.2s;
}

/* 2. cat2: Black Arching Cat (Mid Left) */
.cat-2 {
  top: 38%;
  left: 14%;
  width: 95px;
  z-index: 5;
  animation-duration: 4.2s;
  animation-delay: -1.1s;
}

/* 3. cat3: Crown Royal Blue Cat (Bottom Left) */
.cat-3 {
  top: 56%;
  left: 15%;
  width: 155px;
  z-index: 6;
  animation-duration: 3.9s;
  animation-delay: -1.7s;
}

/* 4. cat4: Striped White Kitten (Bottom Center-Left) */
.cat-4 {
  top: 69%;
  left: 37%;
  width: 95px;
  z-index: 7;
  animation-duration: 3.5s;
  animation-delay: -0.6s;
}

/* 5. cat5: Grey Cat Turquoise Eye (Bottom Center-Right) */
.cat-5 {
  top: 72%;
  left: 50%;
  width: 100px;
  z-index: 7;
  animation-duration: 4.4s;
  animation-delay: -2.3s;
}

/* 6. cat6: Fluffy Rainbow Eyes Cat (Bottom Right) */
.cat-6 {
  top: 56%;
  left: 65%;
  width: 140px;
  z-index: 6;
  animation-duration: 3.7s;
  animation-delay: -1.3s;
}

/* 7. cat7: Robot Visor Cat (Mid Right) */
.cat-7 {
  top: 46%;
  left: 77%;
  width: 85px;
  z-index: 5;
  animation-duration: 4.1s;
  animation-delay: -0.8s;
}

/* 8. cat8: Light Blue Walking Cat (Mid-Upper Right) */
.cat-8 {
  top: 27%;
  left: 72%;
  width: 125px;
  z-index: 5;
  animation-duration: 4.3s;
  animation-delay: -1.9s;
}

/* 9. cat9: Third Eye Purple Cat (Top Right) */
.cat-9 {
  top: 17%;
  left: 63%;
  width: 80px;
  z-index: 4;
  animation-duration: 3.6s;
  animation-delay: -2.5s;
}

/* 10. cat10: Trio Crying Orange Cats (Top Center) */
.cat-10 {
  top: 13%;
  left: 44%;
  width: 145px;
  z-index: 4;
  animation-duration: 4.0s;
  animation-delay: -1.0s;
}

/* 11. cat11: Center Big Light-Blue Cat (Main Left) */
.cat-11 {
  top: 23%;
  left: 30%;
  width: 230px;
  z-index: 10;
  animation-duration: 4.8s;
  animation-delay: -0.4s;
}

/* 12. cat12: Center Big Navy Cat (Main Right) */
.cat-12 {
  top: 36%;
  left: 49%;
  width: 215px;
  z-index: 11;
  animation-duration: 4.6s;
  animation-delay: -1.6s;
}

/* Hover & Interactive State for Cats */
.cat-item:hover {
  z-index: 99 !important;
}

.cat-item:hover .cat-img {
  transform: scale(1.12) translateY(-4px);
  filter: drop-shadow(0 15px 25px rgba(107, 82, 237, 0.3));
}

/* Cat Click Pop Reaction */
.cat-item.pop-react .cat-img {
  animation: popBounce 0.5s ease;
}

@keyframes popBounce {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.25) rotate(-6deg);
  }

  70% {
    transform: scale(0.95) rotate(4deg);
  }

  100% {
    transform: scale(1);
  }
}

/* 7. Responsive Styles */
@media (max-width: 992px) {
  .site-header {
    padding: 0 2rem;
  }

  .cats-stage-container {
    height: 550px;
  }

  .cat-11 {
    width: 180px;
  }

  .cat-12 {
    width: 170px;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 0 1.5rem;
    height: 75px;
  }

  .logo-text {
    font-size: 2rem;
  }

  .nav-menu {
    gap: 1.5rem;
  }

  .cats-stage-container {
    height: 480px;
  }
}

/* 6. About Section (Scroll Section) */
.about-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 3rem 10rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.about-text {
  flex: 1;
  max-width: 520px;
}

.about-text h2 {
  font-family: var(--font-family-base);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.35;
  color: #111111;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.about-text h2 .highlight {
  color: #1612e8;
}

.about-text h2 .highlight span {
  color: #0d0f78;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #4a4e69;
  font-weight: 500;
  margin-bottom: 1.5rem;
  word-break: keep-all;
}

.char-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.95rem 2.5rem;
  background-color: #1612e8;
  color: #ffffff;
  font-family: 'Fredoka', 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(22, 18, 232, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.char-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(22, 18, 232, 0.45);
}

.about-media {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 350px;
}

.about-media img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 992px) {
  .about-section {
    flex-direction: column;
    text-align: center;
    padding: 5rem 1.5rem 7rem 1.5rem;
  }

  .about-text h2 {
    font-size: 2rem;
  }
}

/* 7. Video Section */
.video-section {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 8rem 2rem 15rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container {
  width: 100%;
  max-width: 860px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  background: #000000;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* 8. Characters Section */
.char-section {
  width: 100%;
  background-color: #f2f4f8;
  padding: 10rem 2rem 14rem 2rem;
  position: relative;
}

.char-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.char-header .sub-title {
  font-family: 'Fredoka', 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ff6b8b;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.char-header h2 {
  font-family: var(--font-family-base);
  font-size: 2.8rem;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.02em;
}

.char-grid {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem 1.5rem;
}

.char-card {
  background: #ffffff;
  border: 1.5px solid #181924;
  border-radius: 30px;
  padding: 2.2rem 1.2rem 1.8rem 1.2rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 7px 0px #181924, 0 10px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 295px;
}

.char-card:hover {
  transform: translateY(-5px) scale(1.025);
  box-shadow: 0 10px 0px #181924, 0 14px 28px rgba(0, 0, 0, 0.12);
  border-color: #181924;
}

.card-img-wrap {
  position: relative;
  width: 130px;
  height: 140px;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.card-img-wrap .img-hover {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.char-card:hover .img-main {
  opacity: 0;
}

.char-card:hover .img-hover {
  opacity: 1;
}

.char-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.char-card p {
  font-size: 0.95rem;
  color: #8c9099;
  font-weight: 600;
}

/* Absolute Positioning for Surrounding Stickers */
.sticker {
  position: absolute;
  pointer-events: none;
  z-index: 10;
}

.sticker-top-right {
  top: -130px;
  right: 0;
  width: 140px;
}

.sticker-bottom-left {
  bottom: -14px;
  left: -10px;
  width: 160px;
  transform: scaleX(-1);
}

.sticker-bottom-right {
  bottom: -40px;
  right: 0;
  width: 180px;
}

/* 9. News Section */
.news-section {
  width: 100%;
  background-color: #ffffff;
  padding: 10rem 2rem 14rem 2rem;
  position: relative;
}

.news-grid {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2rem;
}

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

.news-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 1rem;
  background-color: #f0f2f5;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.news-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

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

.news-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111111;
  line-height: 1.45;
  margin-bottom: 0.5rem;
  word-break: keep-all;
}

.news-card .news-date {
  font-size: 0.85rem;
  color: #999999;
  font-weight: 500;
  margin-bottom: 0.7rem;
}

.news-tag {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.tag-collabo {
  background-color: #7bb3ff;
}

.tag-free {
  background-color: #2f86ff;
}

.tag-event {
  background-color: #0c57c4;
}

@media (max-width: 992px) {
  .char-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 768px) {
  .char-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .char-grid {
    grid-template-columns: 1fr;
  }
}

/* 10. Goods Info Section */
.goods-section {
  width: 100%;
  background-color: #eaf2ff;
  padding: 10rem 2rem 14rem 2rem;
  position: relative;
}

/* 11. Gallery Section & Layered Cat */
.gallery-section {
  width: 100%;
  background-color: #eaf2ff;
  padding: 4rem 0 12rem 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

/* 1. 고양이 머리: 사진 뒤쪽에 위치 (z-index: 1) */
.gallery-cat-head {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.gallery-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-top: 120px;
  /* 고양이 머리가 튀어나오는 공간 확보 */
}

/* 2. 고양이 양 손: 사진 앞쪽에 위치 (z-index: 10) - 동일 이미지 cat-hand.png 2회 사용 */
.gallery-cat-hand {
  position: absolute;
  top: -24px;
  width: 65px;
  height: auto;
  z-index: 10;
  pointer-events: none;
}

.gallery-cat-hand.hand-left {
  left: calc(50% - 125px);
}

.gallery-cat-hand.hand-right {
  left: calc(50% + 60px);
}

/* 3. 갤러리 슬라이더: 화면 가로 전체(100% Full-Bleed)를 채우도록 설정 (z-index: 5) */
.gallery-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 720px;
  border-radius: 0px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  z-index: 5;
  background-color: #000000;
}

.gallery-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.gallery-slide.active {
  opacity: 1;
  visibility: visible;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 하얀선 vector 화살표 버튼 */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 15;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.85;
}

.gallery-arrow:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.15);
}

.gallery-arrow.prev-btn {
  left: 20px;
}

.gallery-arrow.next-btn {
  right: 20px;
}

/* 하단 인디케이터 도트 */
.gallery-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 15;
}

.gallery-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.gallery-dots .dot.active {
  background: #ffffff;
  transform: scale(1.25);
}

/* 12. Backgrounds Section */
.bg-section {
  width: 100%;
  background-color: #ffffff;
  padding: 10rem 2rem 14rem 2rem;
  position: relative;
  overflow: hidden;
}

.bg-scroll-container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  display: flex;
  gap: 1.8rem;
  overflow-x: auto;
  padding: 1rem 0.5rem 2rem 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.bg-scroll-container::-webkit-scrollbar {
  display: none;
}

.bg-scroll-container.active {
  cursor: grabbing;
}

.bg-card {
  flex: 0 0 230px;
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  border: 1.5px solid #181924;
  overflow: hidden;
  background-color: #f0f2f5;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.bg-card:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
}

.bg-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* 13. Credits Section (Footer) */
.credits-section {
  width: 100%;
  background-color: #84b6ff;
  padding: 6rem 2rem 3rem 2rem;
  position: relative;
  overflow: visible;
}

.credits-sticker-top-left {
  top: -170px;
  left: -30px;
  width: 120px;
  z-index: 10;
}

.credits-container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
}

.credits-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem 2rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.footer-logo img {
  height: 38px;
  width: auto;
  display: block;
  margin-bottom: 1.2rem;
}

.brand-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #2b3956;
  font-weight: 600;
}

.credits-col h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111111;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.credits-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.credits-col ul li {
  font-size: 0.95rem;
  color: #2b3956;
  font-weight: 600;
  line-height: 2.2;
}

.credits-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

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

.social-icon.fb {
  background-color: #1612e8;
  color: #ffffff;
}

.social-icon.ig,
.social-icon.tw,
.social-icon.yt {
  background-color: #ffffff;
  color: #2b3956;
}

.copyright-text {
  font-size: 0.88rem;
  color: #2b3956;
  font-weight: 600;
  text-align: center;
}

.btn-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2.2rem;
  background-color: #1612e8;
  color: #ffffff;
  font-family: var(--font-family-base);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(22, 18, 232, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-contact-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(22, 18, 232, 0.4);
}

@media (max-width: 992px) {
  .credits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .credits-grid {
    grid-template-columns: 1fr;
  }

  .credits-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* 캐릭터 상세 영어 이름 전용 새 클래스 */
.char-english-title {
  font-family: 'Fredoka', 'Outfit', sans-serif;
  font-size: 4.5rem;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 0.8rem;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}