* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Georgia", "Times New Roman", serif;
  background-color: #f5f3f0;
  color: #1a1a1a;
  min-height: 100vh;
  line-height: 1.8;
}

/* 페이지 컨테이너 - 노트 느낌 */
.page {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #fff;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.08);
  padding: 3rem 4rem;
}

/* 노트 라인 배경 */
.notebook-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
    transparent,
    transparent 31px,
    #e8e8e8 31px,
    #e8e8e8 32px
  );
  background-position: 0 3rem;
  pointer-events: none;
  opacity: 0.5;
}

/* 헤더 - 로고 */
header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 2px solid #1a1a1a;
  margin-bottom: 3rem;
}

.logo {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  border: 2px solid #1a1a1a;
}

/* 메인 콘텐츠 */
main {
  position: relative;
  z-index: 1;
}

/* 히어로 섹션 */
.hero {
  position: relative;
  text-align: center;
  padding: 4rem 0;
  border-bottom: 1px solid #ddd;
  margin-bottom: 3rem;
}

.hero .notebook-lines {
  position: absolute;
  top: 0;
  left: -4rem;
  right: -4rem;
  bottom: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(
    transparent,
    transparent 31px,
    #e8e8e8 31px,
    #e8e8e8 32px
  );
  pointer-events: none;
  opacity: 0.5;
}

h1 {
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.tagline {
  font-size: 1.1rem;
  font-style: italic;
  color: #666;
}

/* 섹션 공통 */
section {
  margin-bottom: 3rem;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
}

/* About 섹션 */
.about ul {
  list-style: none;
  font-size: 1rem;
  line-height: 2.2;
}

.about li {
  padding-left: 1.5rem;
  position: relative;
}

.about li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #999;
}

/* 프로젝트 카드 */
.project-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.project-card {
  display: block;
  text-decoration: none;
  color: #1a1a1a;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.project-card:hover {
  border-color: #1a1a1a;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.project-card.coming-soon {
  cursor: default;
  opacity: 0.6;
}

.project-card.coming-soon:hover {
  border-color: #eee;
  box-shadow: none;
}

.project-thumbnail {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
  background-color: #f5f3f0;
}

.project-thumbnail.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #eee;
}

.project-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-thumbnail img {
  transform: scale(1.05);
}

.badge {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background-color: #1a1a1a;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-info {
  padding: 0.75rem;
}

.project-info h3 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.project-info p {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.4;
}

/* 링크 네비게이션 */
.links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid #eee;
  transition: all 0.2s ease;
}

.links a:hover {
  padding-left: 1rem;
  background-color: #1a1a1a;
  color: #fff;
  margin: 0 -1rem;
  padding-right: 1rem;
}

.icon {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
  margin-right: 0.75rem;
}

.link-label {
  font-size: 1rem;
  letter-spacing: 0.05em;
  flex-grow: 1;
}

.arrow {
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.links a:hover .arrow {
  transform: translateX(4px);
}

/* 푸터 */
footer {
  position: relative;
  z-index: 1;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 2px solid #1a1a1a;
  text-align: center;
}

footer p {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #999;
  text-transform: uppercase;
}

/* 반응형 */
@media (max-width: 768px) {
  .page {
    padding: 2rem;
    margin: 0;
    box-shadow: none;
  }

  h1 {
    font-size: 2rem;
  }

  .hero {
    padding: 2rem 0;
  }

  .links a:hover {
    margin: 0;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

@media (max-width: 480px) {
  .page {
    padding: 1.5rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  .notebook-lines {
    display: none;
  }

  .project-cards {
    grid-template-columns: 1fr;
  }
}