*{
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1560px;
  min-width: 1240px;
  margin: 25px auto;
  color: #333;
}

.container * {
  box-sizing: border-box;
}

header {
  text-align: center;
  margin-bottom: 25px;
}

header h1 {
  font-size: 2.2rem;
  margin-bottom: 5px;
}


header  p{
  font-size: 1.2rem;
  opacity: 0.9;
}

.content,.panel-section{
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
}

.year-selector {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.year-selector label {
  font-size: 1.2rem;
  font-weight: bold;
  margin-right: 10px;
  color: #2e7d5a;
}

.year-selector input{
  height: 40px;
  width: 240px;
  text-align: center;
  padding: 0 10px;
  font-size: 1.1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-right: 20px;
}

.year-selector button{
  height: 40px;
  width: 150px;
  line-height: 40px;
  text-align: center;
  font-size: 1.1rem;
  border: none;
  outline: none;
  border-radius: 6px;
  color: #fff;
  background: #4a9c7d;
  cursor: pointer;
}

.solar-terms-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

.term-card {
  background: white;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  border: 1px solid #eaeaea;
}

.term-card:hover {
  box-shadow: 0 8px 20px rgba(74, 156, 125, 0.2);
  border-color: #4a9c7d;
}

.term-card.active {
  background: linear-gradient(to bottom right, #e8f5f0, #d4eee5);
  border-color: #4a9c7d;
  box-shadow: 0 8px 20px rgba(74, 156, 125, 0.25);
}

.term-emoji {
  font-size: 2.5rem;
  display: block;
}

.term-name {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 5px;
  color: #2e7d5a;
}
.term-card .term-lunar,.term-card .term-time{
  font-size: 0.85rem;
  margin-top: 6px;
  color: #777;
}
.term-date {
  font-size: 1.2rem;
  margin-top: 10px;
  color: #666;
}

.panel-section h2 {
  font-size: 1.4rem;
  color: #2e7d5a;
  margin-bottom: 20px;
}

.panel-section  .poem {
  font-size: 1.1rem;
  color: #2a5c4a;
  margin-bottom: 20px;
}

.panel-section h3{
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.panel-section .des p{
  margin-top: 10px;
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.5;
}

.term-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}



.term-list-item {
  background: white;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  border: 1px solid #eee;
}

.term-list-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(74, 156, 125, 0.15);
}

.term-intro {
  font-size: 1rem;
}

.term-intro p {
  margin-top: 10px;
  padding-left: 10px;
  border-left: 3px solid #d4eee5;
}

.term-intro strong {
  color: #2a5c4a;
}

.highlight {
  background-color: #e8f5f0;
  padding: 3px 6px;
  border-radius: 4px;
  color: #2e7d5a;
  font-weight: bold;
}

.season-indicator {
  display: flex;
  justify-content:space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.season {
  flex: 1;
  text-align: center;
   background: linear-gradient(to right, #f0f9f5, #e8f5f0);
  padding: 15px;
  border-radius: 10px;
  width: 23%;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.season:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.season-emoji {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.season-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #2e7d5a;
  margin-bottom: 8px;
}

.season-desc {
  font-size: 0.95rem;
  color: #666;
}

footer {
  text-align: center;
  font-size: 0.95rem;
  color: #8a8a8a;
}
