@font-face {
  font-family: 'GmarketSansMedium';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
    font-family: 'SDSamliphopangche_Outline';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts-20-12@1.0/SDSamliphopangche_Outline.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SDSamliphopangche_Basic';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts-20-12@1.0/SDSamliphopangche_Basic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


/* === Global Layout === */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'GmarketSansMedium';
  color: #333;

  /* ★ 변경: 배경 이미지를 분홍 그라데이션으로 교체 */
  /* 은은한 분홍 그라데이션 (위쪽 연분홍 → 아래쪽 라일락) */
  background: linear-gradient(180deg, #ffe1f3 0%, #fbc2eb 45%, #a18cd1 100%);
  background-attachment: fixed;

  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
}

body {
  padding: 60px 20px;
}

/* === Container === */
.container {
  text-align: center;
  width: 100%;
  max-width: 550px;
  padding: 40px 30px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* === Profile Section === */
.profile-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin-bottom: 10px;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
  border: 3px solid #fbc2eb;
}

h1 {
  font-size: 30px;
  margin: 10px 0;
  color: #000000;
}

.bio {
  font-size: 15px;
  color: #fff;
  margin-bottom: 20px;
  font-weight: bold;
}

/* === Links Section === */
.links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.link-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  background: linear-gradient(to top, #a18cd1 0%, #fbc2eb 100%);
  color: rgb(0, 0, 0);
  border-radius: 5px;
  text-decoration: none;
  font-size: 22px;
  transition: background-color 0.3s;
}

.link-item:hover {
  background-color: #c678dd;
}

/* === Slick Slider (Album) === */
.autoplay {
  height: 75vh;
  max-height: 550px;
  border-radius: 10px;
  overflow: hidden;
  background-color: #111;
}

.autoplay .slick-list,
.autoplay .slick-track,
.autoplay .slick-slide,
.autoplay .slick-slide > div {
  height: 100% !important;
}

.autoplay .slick-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* === Slick Slider Arrow Buttons === */
.slick-prev,
.slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  font-size: 0;
  line-height: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: background-color 0.2s;
}

.slick-prev:hover,
.slick-next:hover {
  background: rgba(0, 0, 0, 0.7);
}

.slick-prev::before,
.slick-next::before {
  font-size: 22px;
  line-height: 1;
  color: white;
  font-family: 'slick';
}

.slick-prev { left: 10px; }
.slick-next { right: 10px; }
.slick-prev::before { content: '←'; }
.slick-next::before { content: '→'; }

/* === Instagram Reels 임베드 === */
.insta-center {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.insta-center blockquote.instagram-media {
  max-width: 430px !important;
  width: 100% !important;
  min-width: 300px !important;
}

/* === Responsive === */
@media only screen and (max-width: 768px) {
  .container {
    background-color: transparent;
    box-shadow: none;
    padding: 0;
  }
  .link-item {
    font-size: 18px;
    padding: 12px;
  }
  .autoplay {
    height: 65vh;
  }

  /* (이미지 배경용이던 background-position 규칙은 제거해도 무방) */
}

@media only screen and (max-width: 480px) {
  html, body {
    padding: 10px;
  }
  .link-item {
    font-size: 16px;
    padding: 10px;
  }
  .insta-center blockquote.instagram-media {
    max-width: 100% !important;
    min-width: 280px !important;
  }
  .autoplay {
    height: 60vh;
  }
}

/* ======= iOS Safari 전용: 이미지 대신 동일 그라데이션 유지 ======= */
body.ios-safari, html.ios-safari {
  background: linear-gradient(180deg, #ffe1f3 0%, #fbc2eb 45%, #a18cd1 100%) !important;
  background-attachment: fixed !important;
}

/* iOS에서 배경 고정 이슈 보완용 (그라데이션 레이어) */
body.ios-safari::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, #ffe1f3 0%, #fbc2eb 45%, #a18cd1 100%);
  width: 100vw;
  height: 100vh;
}


/* === Ellie Title Custom Styles === */
.title-main {
  font-family: "Hahmlet", serif;
  font-optical-sizing: auto;
  font-size: 28px;
  font-weight: 700;
  color: #000000;
}

.title-sub {
  font-family: "Hahmlet", serif;
  font-optical-sizing: auto;
  font-size: 16px;
  font-weight: 500;
  color: #000000;
}

.title-small {
  font-family: "Hahmlet", serif;
  font-optical-sizing: auto;
  font-size: 14px;
  color: #000000;
  font-weight: 400;
}

.title-mid {
  font-family: "Hahmlet", serif;
  font-optical-sizing: auto;
  font-size: 14px;
  font-size: 14px;
  font-weight: 700;
  color: #000000;
}
