/* ==========================================================================
   1. Navbar (상단 네비게이션)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  z-index: 2000; /* 항상 최상단 */
  display: flex;
  align-items: center;
  background: transparent; /* 초기 투명 */
  transition: all 0.3s ease;
}



/* 1. 부모 컨테이너: 자식들을 양 끝으로 벌립니다 */
.nav-inner {
  display: flex !important;
  justify-content: space-between !important; /* 로고와 메뉴를 양 끝으로 */
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto !important; /* 중앙 정렬 (margin-left: auto 삭제함) */

  /* [핵심] 오른쪽 끝에 더 붙이고 싶다면 이 패딩을 줄이세요 */
  /* 기존 1.5rem(24px) -> 0.5rem(8px)로 줄여서 벽쪽으로 밀착 */
  padding: 0 0.5rem !important;
}

.nav-right-group {
  display: flex !important; /* 강제로 flex 적용 */
  align-items: center !important;
  gap: 2.5rem !important; /* 간격을 조금 더 넓게 수정 */
  margin-left: 3rem; /* 왼쪽 공간을 밀어내서 우측 끝으로 이동 */
}
.nav-right-section {
  display: flex;
  align-items: center; /* 아이콘들과 프로필 원형이 일직선에 오도록 */
  gap: 24px; /* 각 메뉴(지도, 룰렛 등) 사이의 간격을 일정하게 */
}

/* 3. ★ 찜 아이콘만 미세하게 위로 올리기 */
/* '찜' 아이콘을 감싸는 클래스나 i 태그에 직접 적용하세요 */
.nav-item-wrap:nth-child(3) i,
.heart-icon-class {
  display: inline-block;
  transform: translateY(-10000rem); /* 숫자를 조절하며 눈으로 맞춰보세요 */
}
/* 로고 및 링크 텍스트 */
.logo-text {
  font-size: 1.5rem;
  font-weight: 900;
  color: #2563EB !important; /* 항상 파란색 유지 */
  transition: color 0.3s ease;
}

.nav-link {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}




/* 하트와 숫자를 감싸는 부모 */
.favorite-link-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  transition: transform 0.2s ease;
}
.favorite-link-wrapper:hover {
  transform: scale(1.05); /* 마우스 올리면 살짝 커짐 */
}

/* 알림 배지 (빨간 점) */
.badge-parent {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-badge {
  position: absolute;
  top: 0;
  right: 0;

  /* 폰트: 얇지만 가독성 좋은 폰트 설정 */
  font-family:
    "Pretendard",
    -apple-system,
    sans-serif;
  font-size: 11px;
  font-weight: 300; /* 얇은 두께로 변경 */
  letter-spacing: -0.02em; /* 자간을 살짝 좁혀 디자인미 강조 */
  color: #ffffff;

  /* 배경: 너무 쨍하지 않은 세련된 레드 + 살짝 투명도 */
  background: rgba(239, 68, 68, 0.9);
  backdrop-filter: blur(2px); /* 배경을 살짝 흐리게 */

  /* 모양 및 크기 */
  min-width: 17px;
  height: 17px;
  padding: 0;
  border-radius: 50%; /* 완전한 원형 */

  /* 정렬 및 배치 */
  display: flex;
  align-items: center;
  justify-content: center;

  /* 테두리와 그림자 최소화 (깔끔하게) */
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

  /* 위치 미세 조정 */
  transform: translate(30%, -30%);
  z-index: 10;
  pointer-events: none;

  /* 숫자가 바뀔 때 부드러운 애니메이션 (선택사항) */
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 유저 아바타 이미지 */
#nav-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #ddd;
  border: 2px solid rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
}
#nav-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   2. Hero Section (메인 비주얼)
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* 화면 꽉 차게 */
  overflow: hidden;
  background-color: var(--gray-900);
}

/* Spline 3D 뷰어 */
.spline-viewer {
  position: absolute;
  width: 100% !important;
  height: calc(100% + 70px) !important; /* 로고를 아래로 밀어냄 */
  top: 0;
  left: 0;
  border: none;
  z-index: 1;
}

/* 텍스트 가독성을 위한 어두운 오버레이 */
.hero-overlay {
  position: absolute; /* absolute로 변경 */
  inset: 0;
  z-index: 10 !important; /* 스플라인보다 훨씬 높은 번호 부여 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none; /* 뒷배경 스플라인 조작 가능하게 */
}

.hero-content {
  z-index: 11 !important;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  pointer-events: auto; /* 버튼 클릭 가능 */
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.5rem;

  /* [수정] 최소 크기를 키우고 기본 크기도 더 큼직하게 변경 */
  font-size: clamp(3.5rem, 10vw, 5.5rem);

  /* 만약 반응형이 싫고 무조건 크게 가고 싶다면 아래 한 줄로 대체하세요 */
  /* font-size: 5rem; */

  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em; /* 글자 사이 간격을 살짝 좁혀서 더 단단해 보이게 */

  /* 그림자는 아까처럼 촘촘하게 유지 */
  text-shadow:
    0 0 15px rgba(135, 206, 235, 0.5),
    /* 1. 글자 주변에 하늘색 은은한 광채 */ 0 2px 4px rgba(0, 0, 0, 0.2),
    /* 2. 글자 윤곽을 잡아주는 옅은 어두움 */ 0 0 40px rgba(135, 206, 235, 0.2); /* 3. 더 멀리 퍼지는 맑은 잔상 */
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  font-size: 1.25rem;
  font-weight: 300;
  max-width: 600px;
  text-shadow:
    0 0 10px rgba(135, 206, 235, 0.4),
    0 2px 4px rgba(0, 0, 0, 0.2);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* 유리모피즘 버튼 스타일 */
.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.6);
}

/* 하단 스크롤 유도 버튼 */
.scroll-btn-wrap {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20 !important; /* 가장 위에 배치 */
  animation: bounce 2s infinite;
}
.scroll-down-btn {
  color: white;
  opacity: 0.8;
}
.scroll-down-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translate(-50%, 0);
  }
  40% {
    transform: translate(-50%, -10px);
  }
  60% {
    transform: translate(-50%, -5px);
  }
}

/* ==========================================================================
   3. Content Section (검색창 & 필터 디자인 최적화)
   ========================================================================== */
.content-section {
  padding: 8rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.filter-section-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.5rem;
  margin-bottom: 7rem;
}

/* 검색창 전체 컨테이너 */
.search-container {
  width: 100%;
  max-width: 700px; /* 이미지처럼 조금 더 넓게 */
  margin: 0 auto;
  position: relative;
}

/* 검색창 래퍼 */
.search-wrapper {
  gap: 0 !important; /* 래퍼 자체의 gap을 없앱니다 */
  display: flex;
  align-items: center;
  height: 68px;
  padding: 0 16px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  position: relative;
}

/* 태그들이 담기는 그릇 */
#selected-tags-inner {
  display: flex; /* 요소들을 한 줄로 정렬 */
  align-items: center; /* 세로 중앙 정렬 */
  flex: 1; /* ★중요: 부모 박스 안에서 이 컨테이너가 꽉 차게 함 */
  overflow-x: auto; /* 태그가 많아지면 옆으로 밀리게 함 */
  gap: 6px; /* 태그와 태그, 태그와 인풋 사이의 간격 */
  padding-left: 10px; /* 돋보기 아이콘과의 최소 간격 */
}
#selected-tags-inner::-webkit-scrollbar {
  display: none;
}

/* 검색창 안에 들어갈 태그 묶음 */
.inline-tags {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: nowrap; /* 한 줄로 유지 */
}

/* ★ 수정 완료: 검색창 안의 태그 디자인 (마진 0으로 수정하여 밀착) ★ */
.inline-tags .search-tag {
  background-color: #3b82f6; /* 선택된 건 바로 파란색 */
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  margin: 0 !important; /* <--- 이 부분이 범인이었습니다! 0으로 고정 */
}

/* 드롭다운 본체 */
.search-dropdown {
  position: absolute;
  top: calc(100% + 15px); /* 검색창 하단에서 15px 아래 */
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.dropdown-title {
  display: block;
  width: 100%;
  margin: 0 0 16px 0;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #94a3b8;
  line-height: 1;
  letter-spacing: -0.01em;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.search-dropdown.hidden {
  display: none !important;
}

/* 아이콘 스타일 */
.search-icon {
  margin-right: 8px !important; /* 아이콘 바로 오른쪽 여백만 딱 8px 유지 */
  flex-shrink: 0;
  color: #94a3b8;
}

/* 태그와 인풋을 묶은 그룹 */
.search-input-group {
  display: block; 
  flex: 1;
  overflow-x: auto; /* 이 설정으로 이미 스크롤은 가능합니다! */
  white-space: nowrap;
  scrollbar-width: none; /* 파이어폭스 스크롤바 숨김 */
  cursor: text;
  padding: 10px 0;
  scroll-behavior: smooth; /* 스크롤이 부드럽게 움직이게 함 */
}
.search-input-group::-webkit-scrollbar {
  display: none; /* 크롬, 사파리 스크롤바 숨김 */
}

/* 실제 입력창 */
#main-search-input {
display: inline-block;
  vertical-align: middle;
  border: none;
  outline: none;
  background: transparent;
  min-width: 150px; /* 태그가 많아도 입력창이 너무 작아지지 않게 */
}

.search-btn-inside {
  flex-shrink: 0 !important;
  margin-left: auto;
  height: 44px;
  padding: 0 20px;
  background: #2563EB ;
  color: #64748B;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  color:#ffffff;
}

.search-btn-inside:hover {
  /* background: #000; */
  transform: scale(1.05);
  background-color: var(--primary);
}

.search-clear-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: none; /* JS에서 제어 */
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: #999;
  flex-shrink: 0; /* 버튼 크기 유지 */
}
.search-clear-btn:hover {
  color: #333;
}

.search-tag {
  display: inline-block;
  padding: 6px 14px;
  margin: 4px; /* 드롭다운 내 태그 마진은 유지 */
  border-radius: 20px;
  background-color: #f3f4f6;
  color: #4b5563;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  z-index: 1;
}

.search-tag:hover {
  /* color: #fff; */
  background-color: #e5e7eb;
  scale: 105%;
}

.search-tag.active-tag {
  display: inline-flex;
  align-items: center;
  background-color: #2563EB !important;
  color: white !important;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 필터 버튼 그룹 */
.filter-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  
}

/* .filter-btn {
  padding: 12px 26px;
  border-radius: 100px;
  border: 1px solid #f1f5f9;
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-btn.active {
  background: #FFD850!important;
  color: #fff !important;
  /* border-color: #0f172a !important; */
  /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); */
  /* scale: 105%; */
/* }  */
/* ==========================================================================
   검색창 & 필터 (Text-Flow 방식 적용)
   ========================================================================== */
.filter-section-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 7rem;
}

.search-wrapper {
  display: flex;
  align-items: center;
  height: 68px;
  padding: 0 16px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.search-input-group {
  flex: 1;
  display: block; /* 텍스트 줄처럼 흐르게 */
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  padding: 10px 0;
}
.search-input-group::-webkit-scrollbar {
  display: none;
}

.search-tag.active-tag {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  background-color: #3b82f6 !important;
  color: white !important;
  padding: 6px 14px;
  margin-right: 6px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

#main-search-input {
  display: inline-block;
  vertical-align: middle;
  border: none;
  outline: none;
  min-width: 150px;
}

/* 필터 버튼 스타일 */
.filter-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  
}
.filter-btn {
 display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px; /* 패딩을 살짝 조절해서 더 날렵하게 */
    border-radius: 100px;
    background: #f1f5f9; /* 은은한 배경색 */
    border: 1px solid transparent; /* 기본 테두리는 투명 */
    color: #475569; /* 글자색을 살짝 더 진하게 */
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn.active {
  background: #2563eb !important; /* 활성화 시 확 튀는 파란색 */
    color: white !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.filter-btn:hover{
 background: #e2e8f0;
    transform: translateY(-2px);
}
.flag-icon {
  width: 20px;
  border-radius: 2px;
}

/* ==========================================================================
   아티클 그리드 & 카드 (Hover 애니메이션 복구)
   ========================================================================== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.article-card {
  position: relative;
  height: 440px;
  border-radius: 24px;
  overflow: hidden;
  background: #111;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}
.article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.article-card:hover .card-img {
  transform: scale(1.1);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent 70%);
  z-index: 1;
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  color: white;
  z-index: 2;
}

/* 서브타이틀 슬라이딩 효과 (깨졌던 부분) */
.card-subtitle-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}
.article-card:hover .card-subtitle-wrapper {
  grid-template-rows: 1fr;
}

.card-subtitle {
  overflow: hidden;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.4s;
}
.article-card:hover .card-subtitle {
  opacity: 1;
  transform: translateY(0);
  padding-bottom: 15px;
}

/* 로드모어 버튼 */
.load-more-container {
  text-align: center;
  margin-top: 5rem;
  padding-bottom: 5rem;
}
.btn-load-more {
  padding: 16px 45px;
  border-radius: 100px;
  border: 1px solid #e2e8f0;
  background: #F1F5F9;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}
.btn-load-more:hover {
  /* background: #f8fafc; */
  border-color: #cbd5e1;
}
/* ==========================================================================
   4. Article Card Grid (카드 리스트)
   ========================================================================== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3열 */
  gap: 30px;
  margin-top: 5rem;
}

.article-card {
  position: relative;
  height: 440px;
  border-radius: 24px;
  overflow: hidden;
  background: #111;
  cursor: pointer;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-img-wrap {
  position: absolute;
  inset: 0;
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}
.article-card:hover .card-img {
  transform: scale(1.1);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.1) 60%,
    transparent 100%
  );
  z-index: 1;
}

.card-like-btn-wrap {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
}
.btn-like {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.btn-like:hover {
  background: white;
  color: #ef4444;
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  color: #fff;
  z-index: 2;
}
.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-subtitle-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}
.article-card:hover .card-subtitle-wrapper {
  grid-template-rows: 1fr;
}
.card-subtitle {
  overflow: hidden;
  font-size: 0.95rem;
  font-weight: 300;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}
.article-card:hover .card-subtitle {
  transform: translateY(0);
  opacity: 1;
  padding-bottom: 16px;
}

.card-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}
.card-rating {
  color: #facc15;
  display: flex;
  align-items: center;
  gap: 4px;
}
.card-badge-area {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.card-badge {
  padding: 3px 9px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
}

/* ==========================================================================
   5. Mobile / Responsive / Utilities
   ========================================================================== */
.load-more-container {
  text-align: center;
  margin-top: 4rem;
  padding-bottom: 6rem;
}
.btn-load-more {
  padding: 14px 40px;
  border-radius: 100px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-weight: 600;
  color: #4a5568;
  transition: 0.2s;
}
.btn-load-more:hover {
  background: #f7fafc;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  background: white;
  z-index: 3000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 2rem;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}
.mobile-menu-drawer.open {
  transform: translateX(0);
}

@media (max-width: 1024px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 640px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .search-wrapper {
    height: 56px;
    padding: 0 16px;
  }
  .content-section {
    padding: 4rem 1.2rem;
  }
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #4b5563 !important;
  gap: 5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.nav-item:hover {
  color: #3b82f6 !important;
  transform: translateY(-3px) scale(1.05);
}
.nav-item:hover .nav-icon {
  stroke: #3b82f6 !important;
  filter: drop-shadow(0 4px 6px rgba(59, 130, 246, 0.2));
}
.nav-item-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px; /* 아이콘과 글자 사이 간격을 좁게 */
}
.nav-label {
  font-size: 11px;
  font-weight: 500;
  color: inherit;
}
.nav-icon {
  width: 22px;
  height: 22px;
}

.btn-login {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
  background-color: #2563EB !important;
  color: #ffffff !important;
}
.btn-login:hover {
  background-color: #2563eb !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37, 99, 235, 0.35);
}

.flag-icon {
  width: 22px;
  height: auto;
  border: 1px solid #eee;
  border-radius: 2px;
  display: inline-block;
}

.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal-content {
  background: white;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  width: 300px;
}
footer {
  width: 100%;
  /* 상하 여백을 15px로 슬림하게 조정 (원하는 만큼 숫자를 줄이세요) */
  padding: 25px 0;

  /* 배경색과 글자색 (기존 테마에 맞춰 조절 가능) */

  color: black;

  /* 텍스트 스타일 */
  font-size: 0.85rem;
  text-align: center;

  /* 위쪽 콘텐츠와 너무 붙지 않게 최소한의 경계선만 추가 (선택사항) */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer div {
  /* 혹시 모를 내부 div의 기본 마진 제거 */
  margin: 0;
  line-height: 1;
}
