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

body {
  background-color: #1a1226;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(128, 80, 255, 0.25), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(80, 40, 180, 0.35), transparent 45%);
  min-height: 100vh;
  padding: 24px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #fff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

h1 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #ffffff, #b794ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(150, 110, 255, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(88, 40, 180, 0.35);
}

.card .img-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #0f0a1a;
  flex-shrink: 0;
}

.card .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card .info {
  flex: 1;
  padding: 14px;
  background: linear-gradient(180deg, #2d1b52 0%, #140a27 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 90px;
}

.card h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}

.card .time {
  color: #b0a8c7;
  font-size: 13px;
}

/* 大屏横屏：最多3列；手机竖屏：2列 */
@media (min-width: 768px) {
  .card-wrap {
    grid-template-columns: repeat(3, 1fr);
  }
  h1 {
    font-size: 34px;
  }
}
