/* 기본 변수 설정 */
:root {
  --primary-color: #ff9b9b;
  --secondary-color: #ffe5e5;
  --text-color: #333;
  --light-text: #666;
  --background-color: #fff;
  --accent-color: #ff6b6b;
  --border-color: #ffd1d1;
  --shadow-color: rgba(255, 155, 155, 0.15);
  --main-bg: #ffeae9;
  --gradient-primary: linear-gradient(135deg, #ff9b9b, #ff6b6b);
  --gradient-light: linear-gradient(135deg, #ffe5e5, #ffd1d1);
  --gradient-background: linear-gradient(
    45deg,
    #c9abff,
    #ffb5d3,
    #ff9bac,
    #ffc2d1
  );
  --gradient-card: linear-gradient(135deg, #f7e0ff, #ffd3e3);
  --gradient-purple-pink: linear-gradient(45deg, #b68cff, #ff8dc7);
}

/* 기본 리셋 및 공통 스타일 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans KR", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: linear-gradient(135deg, #fff5f9, #f8f0ff);
  position: relative;
  overflow-x: hidden;
}

/* 배경 패턴 장식 */
main {
  position: relative;
  overflow: hidden;
}

main::before,
main::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    rgba(255, 141, 199, 0.1),
    rgba(182, 140, 255, 0.1)
  );
  z-index: 0;
}

main::before {
  top: -100px;
  left: -100px;
}

main::after {
  bottom: -100px;
  right: -100px;
}

/* 추가 장식 요소 */
.decoration-circle {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 155, 155, 0.08) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: 0;
}

.decoration-circle:nth-child(1) {
  top: 20%;
  right: -200px;
}

.decoration-circle:nth-child(2) {
  bottom: 30%;
  left: -200px;
}

/* 사이트 컨테이너 */
.site-container {
  max-width: 1600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  padding: 10px;
  box-shadow: 0 0 30px rgba(184, 107, 255, 0.3);
  border-radius: 15px;
  position: relative;
  z-index: 1;
}

/* 공통 섹션 스타일 */
.section {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  margin: 2rem 0;
  padding: 4rem 2rem;
  backdrop-filter: blur(10px);
}

/* 공통 타이포그래피 */
h1,
h2,
h3 {
  font-family: "Montserrat", "Noto Sans KR", sans-serif;
  font-weight: 500;
}

/* 섹션 제목 공통 스타일 */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-color);
  font-weight: 600;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: var(--gradient-purple-pink);
}

/* 공통 미디어 쿼리 */
@media (max-width: 768px) {
  main::before,
  main::after {
    width: 200px;
    height: 200px;
  }

  .decoration-circle {
    width: 300px;
    height: 300px;
  }

  .section {
    padding: 3rem 1rem;
    margin: 1rem 0;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .site-container {
    max-width: 100%;
    padding: 0;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
}

@media (max-width: 576px) {
  main::before,
  main::after {
    width: 150px;
    height: 150px;
  }

  .decoration-circle {
    width: 200px;
    height: 200px;
  }

  .section {
    padding: 2rem 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}
