@charset "UTF-8";
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Noto Sans KR", sans-serif;
}

.intro {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  cursor: url("images/cursor.png") 0 0, auto;
}

/* 배경 이미지 */
.bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

/* 프레임 그룹 */
.frame-group {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 70%;
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.frame {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1; /* 프레임은 아래 */
}

/* 버튼 그리드 - 프레임 중앙에 겹치기 */
.category-grid {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: clamp(0px, 1vw, 25px);
  z-index: 3; /* 프레임보다 위 */
}

.category-grid a {
  display: block;
}

/* 버튼 래퍼 */
.btn-glow {
  position: relative;
  display: inline-block;
}

.btn-glow img {
  display: block;
  width: clamp(120px, 16vw, 300px); /* 기존 크기 유지 */
  height: auto;
  cursor: pointer;
  transition: transform 0.15s ease;
}

/* 타원형 하얀 빛 오버레이 */
.btn-glow::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 48%;
  left: 50%;
  width: 100%;
  height: 90%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.55) 35%, rgba(255, 255, 255, 0) 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  filter: blur(6px);
  /* 글씨 가리지 않는 합성 모드 */
  mix-blend-mode: soft-light; /* 또는 overlay */
}

/* hover / active 효과 */
.btn-glow:hover::after {
  opacity: 1;
}

.btn-glow:active::after {
  opacity: 1;
  background: radial-gradient(ellipse at center, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0.75) 35%, rgba(255, 255, 255, 0) 70%);
}

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

.btn-glow img:active {
  transform: translateY(0);
}

/* 카피라이트 */
.copyright {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 300px;
  max-width: 40vw;
  height: auto;
}

/* 모바일: 1열 배치 */
@media (max-width: 768px) {
  .bg {
    content: url("images/mo.png");
  }
  .category-grid {
    grid-template-columns: 1fr;
    gap: 0px;
  }
  .btn-glow img {
    width: clamp(160px, 60vw, 285px);
  }
  .frame {
    display: none;
  }
}/*# sourceMappingURL=category.css.map */