.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.site-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #1a73e8;
  margin-bottom: 1rem;
}

.site-header h1 {
  font-size: 1.8rem;
  color: #333;
  line-height: 1.4;
}

.site-intro {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.site-intro p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
}

section {
  margin-bottom: 3rem;
}

section h2 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid #1a73e8;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card h3 a {
  color: #1a73e8;
  text-decoration: none;
}

.card h3 a:hover {
  text-decoration: underline;
}

.card .meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.card .desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.topic-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.topic-card {
  display: block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.3s;
}

.topic-card:hover {
  transform: scale(1.05);
}

.topic-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.topic-card p {
  opacity: 0.9;
}

.list-items {
  list-style: none;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.list-items li {
  border-bottom: 1px solid #f0f0f0;
}

.list-items li:last-child {
  border-bottom: none;
}

.list-items a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: #333;
  transition: background 0.3s;
}

.list-items a:hover {
  background: #f8f9fa;
}

.list-items .title {
  flex: 1;
  font-weight: 500;
  color: #1a73e8;
}

.list-items .meta {
  color: #666;
  font-size: 0.9rem;
}

.more-link {
  text-align: center;
  margin-top: 1.5rem;
}

.more-link a {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 500;
}

.more-link a:hover {
  text-decoration: underline;
}

.page-header {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-header h1 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 1rem;
}

.page-desc {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
}

.card-list {
  display: grid;
  gap: 1.5rem;
}

.list-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: relative;
}

.list-card .rank {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #1a73e8;
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-weight: bold;
}

.list-card .topic-tag,
.list-card .year-tag {
  display: inline-block;
  background: #f0f0f0;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.list-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.list-card h3 a {
  color: #1a73e8;
  text-decoration: none;
}

.list-card .review {
  margin-top: 0.5rem;
  padding: 0.8rem;
  background: #f8f9fa;
  border-left: 3px solid #1a73e8;
  font-size: 0.95rem;
  color: #555;
  font-style: italic;
}

.detail-page {
  max-width: 900px;
}

.detail-content {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.detail-header h1 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f0f0f0;
}

.detail-info dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.detail-info dt {
  font-weight: bold;
  color: #666;
}

.detail-info dd {
  color: #333;
}

.detail-highlight {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.highlight-text {
  font-size: 1.1rem;
  line-height: 1.8;
}

.detail-summary,
.detail-review {
  margin: 2rem 0;
}

.detail-summary p,
.detail-review p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #444;
  text-align: justify;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.related-card {
  border: 1px solid #e0e0e0;
  padding: 1rem;
  border-radius: 6px;
  transition: border-color 0.3s;
}

.related-card:hover {
  border-color: #1a73e8;
}

.related-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.related-card h3 a {
  color: #1a73e8;
  text-decoration: none;
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  color: #666;
  background: #fff;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .site-header h1 {
    font-size: 1.3rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .detail-info dl {
    grid-template-columns: 80px 1fr;
    gap: 0.5rem;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }
}