/* 배경 및 기본 텍스트 스타일 */
body, .App {
  text-align: center;
  padding-top: 100px;
  background: linear-gradient(135deg, #a8d5ba 0%, #6eaa7f 100%);
  min-height: 100vh;
  height: 100vh;
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #234d20;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

/* 헤더 */
.header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 60px;
  background: rgba(240,240,240,0.9);
  border-bottom: 1px solid #ccc;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 1000;
  color: #333;
  backdrop-filter: saturate(180%) blur(20px);
}

.header img {
  position: absolute;
  left: 20px;
  height: 40px;
  width: auto;
}

.header h1 {
  margin: 0;
  font-size: 1.5rem;
  color: #333;
  user-select: none;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.15);
}

/* 메인 콘텐츠 */
.main {
  margin-top: 120px;
  padding: 20px;
}

/* 제목 */
h1 {
  font-size: 3em;
  margin-bottom: 0.2em;
  color: #d9534f; /* 붉은색 강조 */
}

/* 문단 */
p {
  font-size: 1.75em;
  margin-bottom: 1.5em;
  color: #4c7a4c;
}

/* 링크 스타일 */
a {
  font-size: 1.25em;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid transparent;
  padding: 10px 20px;
  border-radius: 5px;
  background: linear-gradient(45deg, #88c788, #66b366);
  display: inline-block;
  width: 180px;
  text-align: center;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  user-select: none;
}

/* 링크 호버 효과 */
a:hover {
  background: linear-gradient(45deg, #66b366, #88c788);
  border-color: #4c7a4c;
  color: white;
}

/* 버튼 스타일 */
.btn {
  color: #fff;
  background: linear-gradient(45deg, #7b5cff, #bfa1ff);
  font-weight: 600;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(123, 92, 255, 0.5);
  font-size: 0.3125rem; /* 글자 크기 50% 축소 */
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  user-select: none;
  width: 300px; /* 너비 확대 */
  white-space: nowrap; /* 1줄 유지 */
}

/* 버튼 호버 효과 */
.btn:hover:not(:disabled) {
  background: linear-gradient(45deg, #975fff, #c2b4ff); /* 대비 색상 조금 더 진하게 */
  box-shadow: 0 6px 20px rgba(135, 101, 255, 0.7);
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
