body {
    font-family: 'SF Pro Display', sans-serif;
}

/* Reset CSS */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    width: 100%;
    font-family: 'SF Pro Display', -apple-system, 'Pretendard', BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 14px;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input, button, textarea, select {
    font: inherit;
    border: none;
    outline: none;
    background: none;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

button {
    cursor: pointer;
}

:root {
    -webkit-tap-highlight-color: transparent;
}


.sound_only{
    position: absolute;
    width:0;
    height: 0;
    overflow: hidden;
    position: absolute;
    left: -9999;
    top: 0;
}



.kakao-button {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fee500;
    color: #000;
    font-size: 16px;
    z-index:99;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    bottom:20px;
    left:20px;
}

.kakao-button:hover {
    background-color: #ffd900;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.kakao-button img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.insta-button {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
    color: #fff;
    font-size: 16px;
    z-index: 99;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    bottom: 20px;
    left: 20px;
}

.insta-button:hover {
    filter: brightness(1.1);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.insta-button img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

/* 햄버거 버튼 */
.hamburger{
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 110; /* gnb(100)보다 위 */
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: none; border-radius: 999px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
  cursor: pointer;
  padding: 10px 0;
}
.hamburger .bar{
  display:block;
  width: 22px; height: 2px;
  background:#111;
  margin: 1px 0;
  transition: transform .28s ease, opacity .2s ease;
}
.hamburger[aria-expanded="true"] .bar:nth-child(1){
  transform: translateY(8px) rotate(45deg);
}
.hamburger[aria-expanded="true"] .bar:nth-child(2){
  opacity: 0;
}
.hamburger[aria-expanded="true"] .bar:nth-child(3){
  transform: translateY(-8px) rotate(-45deg);
}

/* 오버레이 네비 */
#gnb{
    position: fixed;
    inset: 0;
    z-index: 100;
    clip-path: circle(0 at 100% 0);
    background: rgba(0, 0, 0, 0.88);
    color: #fff;
    transition: clip-path .55s ease-in-out;
    display: grid;
    align-items: start;
    padding: 100px 40px;
    pointer-events: none;
    justify-items: end;
}
#gnb.open{
  clip-path: circle(150% at 100% 0); /* 화면을 덮을 만큼 크게 */
  pointer-events: auto;
}
#gnb ul{
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 18px;
  text-align: center;
}
#gnb a, #gnb button{
  font: 600 18px/1.2 system-ui, -apple-system, "SF Pro", Pretendard, sans-serif;
  color:#fff; text-decoration: none;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 12px 18px;
  border-radius: 12px;
}
#gnb a:hover, #gnb button:hover{
  background: rgba(255,255,255,0.16);
}

/* 모션 민감 사용자를 위한 배려 */
@media (prefers-reduced-motion: reduce){
  #gnb{ transition:none; }
  .hamburger .bar{ transition:none; }
}

/* 오버레이가 열렸을 때 바디 스크롤 잠금 */
body.menu-open{
  overflow: hidden;
}