body {
  overflow: hidden;
}

/* 전역 스크롤바 스타일 */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #3eaf7c;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2d8a5f;
}

/* Firefox 스크롤바 */
* {
  scrollbar-width: thin;
  scrollbar-color: #3eaf7c #f1f1f1;
}

/* ===============================
  헤더, 푸터 부분 고정
=============================== */
.header {
  flex-shrink: 0;
}

.footer {
  flex-shrink: 0;
  margin-top: auto;
  padding: 20px 100px 24px;
  background: #fff;
  width: 100%;
}

.browser-frame {
  width: 100%;
  max-width: 1800px;
  height: calc(100vh - 60px);
  background-color: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.10);
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1 0 auto;
  min-height: 0;
  overflow: auto;
  padding: 0;
  background: #fffefe;
}

* {
  cursor: none;
}

/* ===============================
   마우스커서
=============================== */
body {
  cursor: none;
}

.c-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #3eaf7c;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 99;
}

@media (hover: none) and (pointer: coarse) {
  body {
    cursor: auto;
  }
  .c-dot {
    display: none !important;
  }
}

/* ===============================
   키워드 섹션
=============================== */
.keyword-section {
  height: 100%;
  display: flex;
}

/* ---사이드바---- */
.sidebar {
  width: 30%;
  flex: 0 0 260px;
  background: #fff;
  padding: 24px 20px;
  border-right: 1px solid #eee;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  position: relative;
  transition: width .28s ease, padding .28s ease;
}

.sidebar h2 {
  text-align: center;
  margin-bottom: 10px;
  color: #222;
}

.sidebar-toggle {
  display: none;
}

.about-icon {
  display: none;
}

.sidebar .filter-btn {
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
  user-select: none;
}

.sidebar .filter-btn img {
  width: 32px;
  height: 32px;
  display: block;
}

.sidebar .line {
  width: 100%;
  border-bottom: 1px dashed #e9e9e9;
}

.sidebar .filter-btn span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #222;
  white-space: nowrap;
}

.filter-btn.active {
  background: #eef7f2;
  width: 100%;
}

.filter-btn:hover {
  background: #f4f4f4;
  transform: translateY(-1px);
  width: 100%;
}

.profile-image {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #3eaf7c;
  margin: 0 auto;
  margin-bottom: 20px;
}

.profile-image .me {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  object-fit: cover;
  border-radius: 50%;
}

.name {
  text-align: center;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .6px;
  margin-bottom: 14px;
  white-space: nowrap;
}

.contact-info {
  font-size: 12px;
  line-height: 1.8;
  color: #333;
  margin: 0 4px 18px;
  padding-bottom: 18px;

}

.nav-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
  user-select: none;
}

.nav-item:hover {
  background: #f4f4f4;
  transform: translateY(-1px);
}

.nav-item.active {
  background: #eef7f2;
}

.folder-icon {
  width: 30px;
  height: 30px;
  position: relative;
}

.folder-icon img {
  width: 100%;
  height: 100%;
}

.nav-item span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #222;
  white-space: nowrap;
}

/* =======키워드 메인 내용 부분======== */
.sheet {
  min-height: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 50px;
  background-color: #f7fafc;
  overflow-x: hidden;
}

.sheet::-webkit-scrollbar {
  width: 10px;
}

.sheet::-webkit-scrollbar-thumb {
  background: #3eaf7c;
  border-radius: 5px;
}

.sheet::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.sheet::-webkit-scrollbar-thumb:hover {
  background: #2d8a5f;
}

.sec-title {
  text-align: center;
  color: #3eaf7c;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
}

.row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 0;
}

.rows .row .photo {
  width: 260px;
  height: 260px;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.rows .row .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.desc {
  font-size: 15px;
  width: 280px;
  line-height: 1.7;
  text-align: center;
  color: #333;
  padding: 0 10px;
}

/* ===============================
   ⭐ PC 버전: GRID 레이아웃
=============================== */
@media (min-width: 1251px) {
  .keywordSwiper {
    width: 100%;
    /* max-width: 900px; */
    margin: 0 auto;
    padding: 0 20px;
  }

  /* PC에서는 Grid 사용 */
  .keywordSwiper .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)) !important;
    gap: 40px !important;
    transform: none !important;
  }

  .keywordSwiper .swiper-slide {
    width: 100% !important;
    margin: 0 !important;
  }

  .keywordSwiper .row {
    max-width: 360px;
  }


}

/* ===============================
   ⭐ 태블릿: SWIPER 슬라이드 (1개씩)
=============================== */
@media (max-width: 1250px) {
  .sheet {
    display: block !important;
    width: 100%;
    padding: 50px 40px;
  }

  .keywordSwiper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 60px;
    position: relative;
    overflow: hidden !important; /* ⭐ Swiper 필수 */
  }

  /* 태블릿에서는 Swiper 사용 */
  .keywordSwiper .swiper-wrapper {
    display: flex !important; /* ⭐ Grid 제거 */
    align-items: stretch;
  }

  .keywordSwiper .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    width: 100%; /* ⭐ 슬라이드 1개씩 보이기 */
    flex-shrink: 0;
  }

  .keywordSwiper .row {
    width: 100%;
    max-width: 420px;
  }

  /* 화살표 표시 */
  .keywordSwiper .swiper-button-next {
    top: 50%;
  }

  .keywordSwiper .swiper-button-prev {
    top: 50%;
  }

  .browser-frame {
    height: 100vh;
  }

  .sidebar {
    width: 100px;
    flex: 0 0 100px;
    padding: 20px 10px;
  }

  .sidebar .name:first-of-type,
  .sidebar .profile-image,
  .sidebar .contact-info,
  .nav-list p {
    display: none;
  }

  .name {
    font-size: 8px;
    font-weight: 400;
  }

  .nav-list {
    margin-top: 20px;
    gap: 15px;
    align-items: center;
  }

  .nav-item {
    padding: 10px 8px;
    flex-direction: column;
    gap: 6px;
    width: 70px;
  }

  .folder-icon {
    width: 32px;
    height: 32px;
    margin: 0;
  }

  .nav-item.active {
    background: #eef7f2;
    border-radius: 12px;
  }

  .nav-item:hover {
    background: #f4f4f4;
  }

  .sec-title {
    font-size: 22px;
  }

  .rows .row .photo {
    width: 220px;
    height: 220px;
  }

  .desc {
    width: 240px;
    font-size: 14px;
  }

  .footer {
    padding: 16px 40px 20px;
  }
}

/* ===============================
   ⭐ 모바일: SWIPER 슬라이드 (1개씩)
=============================== */
@media (max-width:800px) {
  .browser-frame {
    min-height: 100vh;
  }

  .content {
    overflow: visible;
  }

  .keyword-section {
    display: flex;
    min-height: auto;
    overflow: visible;
  }

  .sidebar {
    width: 25px;
    padding: 16px 6px;
    height: 100vh;
  }
.about-icon{
    display: block;
  padding-bottom: 24px;
  text-align: center;
}
  .profile-image {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
  }

  .name {
    text-align: center;
    font-weight: 400;
    font-size: 8%;
    letter-spacing: .3px;
    margin-bottom: 12px;
  }

  .contact-info {
    font-size: 11px;
    margin: 0 0 12px;
    padding-bottom: 12px;
  }

  .nav-list {
    margin-top: 20px;
    gap: 15px;
    align-items: center;
  }

  .nav-item {
    padding: 10px 8px;
    flex-direction: column;
    gap: 6px;
    width: 70px;
  }

  .nav-item span {
    display: block;
    font-size: 10px;
    text-align: center;
    white-space: nowrap;
  }

  .nav-item.active {
    background: #eef7f2;
    border-radius: 12px;
  }

  .nav-item:hover {
    background: #f4f4f4;
  }

  .folder-icon {
    width: 32px;
    height: 32px;
  }

  .sheet {
    display: block;
    padding: 18px 12px 60px;
    width: 100%;
    height: auto;
  }

  /* ⭐ 모바일 Swiper 설정 (1개씩) */
  .keywordSwiper {
    width: 100%;
    overflow: hidden !important; /* ⭐ Swiper 필수 */
    padding: 50px;
  }

  .keywordSwiper .swiper-wrapper {
    display: flex !important; /* ⭐ Grid 제거 */
    align-items: center;
  }

  .keywordSwiper .swiper-slide {
    display: flex;
    justify-content: center;
    height: auto;
    width: 100%; /* ⭐ 슬라이드 1개씩 */
    flex-shrink: 0;
  }

  .keywordSwiper .row {
    width: 100%;
    max-width: 340px;
    margin: 0;
  }

  .keywordSwiper .photo {
    width: 100%;
    height: 320px;
    border-radius: 22px;
  }

  .keywordSwiper .desc {
    width: 100%;
    max-width: 340px;
    margin: 10px auto 0;
  }

  .keywordSwiper .swiper-button-prev,
  .keywordSwiper .swiper-button-next {
    width: 35px;
    height: 35px;
  }

  .keywordSwiper .swiper-button-prev::after,
  .keywordSwiper .swiper-button-next::after {
    font-size: 20px;
  }

  .keywordSwiper .swiper-button-prev {
    left: 24px;
    top: 50%;
  }

  .keywordSwiper .swiper-button-next {
    right: 24px;
    top: 50%;
  }

  .row {
    margin-bottom: 30px;
  }

  .sec-title {
    font-size: 20px;
  }

  .rows .row .photo {
    width: 180px;
    height: 180px;
  }

  .desc {
    width: 90%;
    max-width: 320px;
    font-size: 13px;
  }

  .footer {
    padding: 12px 20px 16px;
    font-size: 11px;
  }
}

/* ===============================
   SWIPER UI 커스텀
=============================== */
.keywordSwiper .swiper-pagination-bullet {
  background: #3eaf7c;
  opacity: 0.35;
}

.keywordSwiper .swiper-pagination-bullet-active {
  background: #3eaf7c;
  opacity: 1;
}

.keywordSwiper {
  position: relative;
}

.keywordSwiper .swiper-button-prev,
.keywordSwiper .swiper-button-next {
  z-index: 50;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(62, 175, 124, 0.35);
  color: #3eaf7c;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.keywordSwiper .swiper-button-prev::after,
.keywordSwiper .swiper-button-next::after {
  font-size: 20px;
  font-weight: 900;
}

.keywordSwiper .swiper-button-prev {
  left: 6px;
}

.keywordSwiper .swiper-button-next {
  right: 6px;
}

@media (max-width: 1024px) {
  .keywordSwiper .swiper-button-prev,
  .keywordSwiper .swiper-button-next {
    width: 45px;
    height: 45px;
  }

  .keywordSwiper .swiper-button-prev::after,
  .keywordSwiper .swiper-button-next::after {
    font-size: 22px;
  }

  .keywordSwiper .swiper-button-prev {
    left: 8px;
  }

  .keywordSwiper .swiper-button-next {
    right: 8px;
  }
}

/* ===============================
   반응형: 모바일 (480px 이하)
=============================== */
@media (max-width: 480px) {
  .container {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    overflow-y: auto;
    gap: 6px;
    padding: 12px 12px;
    border-bottom: 1px solid #eee;
  }

  .sidebar {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 60px;
    height: 100vh;
    z-index: 90;
    transform: translateX(-100%);
    flex: none;
    padding: 80px 16px 20px;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.903);
    overflow-x: hidden;
    transition: transform 0.3s ease;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .sidebar .name {
    display: none;
  }

  .sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 10px;
    top: 10px;
    z-index: 95;
    width: 36px;
    height: 36px;
    background: #3eaf7c;
    border-radius: 50%;
    border: none;
    color: #fff;
    cursor: pointer;
  }

  .sidebar h2 {
    font-size: 8px;
    margin-bottom: 20px;
    text-align: left;
  }

  .container h2 {
    width: 100%;
    font-size: 14px;
    margin-bottom: 6px;
  }

  .nav-list {
    gap: 8px;
    margin-top: 0;
  }

  .filter-btn {
    padding: 8px 6px;
    gap: 4px;
  }

  .filter-btn img {
    width: 26px;
    height: 26px;
  }

  .filter-btn span {
    display: block;
    font-size: 10px;
    text-align: center;
    white-space: nowrap;
    font-weight: 600;
  }

  .row {
    display: block;
  }

  .container .filter-btn {
    flex: 1 1 calc(33.333% - 6px);
    max-width: calc(33.333% - 6px);
    justify-content: center;
    padding: 6px 4px;
    min-height: 44px;
    gap: 4px;
  }

  .container .filter-btn img {
    width: 18px;
    height: 18px;
  }

  .container .filter-btn span {
    font-size: 10px;
    letter-spacing: .4px;
  }

  .container .line {
    display: none;
  }

  .sheet {
    padding: 20px 16px 80px;
  }

  .sheet .mix-wrapper {
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
  }
  .sec-title{
    padding: 20px;
  }
}

/* ===============================
   반응형: 초소형 (360px 이하)
=============================== */
@media (max-width: 360px) {
  .sheet .mix-wrapper {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sheet {
    padding: 16px 12px 80px;
  }

  .container {
    padding: 10px 12px;
  }

  .container h2 {
    font-size: 13px;
  }

  .container .filter-btn span {
    font-size: 9px;
  }

  .sidebar {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 60px;
    height: 100vh;
    z-index: 90;
    padding: 80px 16px 20px;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.903);
      transform: translateX(-100%);
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 10px;
    top: 10px;
    z-index: 95;
    width: 44px;
    height: 44px;
    background: #3eaf7c;
    border-radius: 50%;
    border: none;
    color: #fff;
  }

  .sidebar h2 {
    font-size: 8px;
    margin-bottom: 20px;
    text-align: left;
  }

  .nav-list {
    gap: 8px;
    margin-top: 0;
  }

  .filter-btn {
    padding: 8px 6px;
    gap: 4px;
  }

  .filter-btn img {
    width: 26px;
    height: 26px;
  }
}