* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  max-width: 1640px;
  min-width: 1240px;
  width: 100%;
  margin: 25px auto;
  color: #333;
}

.container * {
  box-sizing: border-box;
}

header {
  margin-bottom: 25px;
  text-align: center;
}

header h1 {
  font-size: 2.1rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

header p {
  font-size: 1rem;
  opacity: 0.9;
}

.search-section {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}

.search-box {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 30px;
  padding: 8px 20px;
  width: 60%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-box input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px;
  font-size: 16px;
  outline: none;
}

.search-box button {
  background-color: #6c5ce7;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.search-box button:hover {
  background-color: #5649c0;
}

.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}

.zodiac-card {
  background-color: white;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  text-align: center;
}

.zodiac-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.zodiac-emoji {
  font-size: 40px;
  margin-bottom: 10px;
}

.zodiac-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.zodiac-date {
  font-size: 14px;
  color: #777;
}

.result-section {
  display: none;
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.result-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.result-emoji {
  font-size: 50px;
  margin-right: 20px;
}

.result-title {
  font-size: 24px;
  font-weight: bold;
}

.result-date {
  font-size: 16px;
  color: #777;
  margin-top: 5px;
}

.result-details {
  display: flex;
  gap: 25px;
}

.color-box,
.number-box {
  flex: 1;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
}

.color-box {
  background-color: #f8f8f8;
}

.number-box {
  background-color: #f0f0f0;
}

.box-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

.color-display {
  width: 100px;
  height: 100px;
  margin: 0 auto 15px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.number-display {
  font-size: 76px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #6c5ce7;
}

.description {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.about-section {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
}

.about-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
}

.about-section  p{
  font-size: 15px;
  line-height: 1.5;
  margin-top: 10px;
  color: #555;
}

.notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1000;
}

.notice.show {
  opacity: 1;
}

footer {
  text-align: center;
  color: #888;
  font-size: 14px;
}

.feature-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top:15px;
}

.feature-card {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
}

.feature-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #6c5ce7;
}

.feature-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}
