* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
  background: #0f1115;
  color: #e5e7eb;
}

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 顶部 */
.header {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #1f2933;
}

.title h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.title p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #9ca3af;
}

.countdown {
  text-align: right;
}

.countdown span {
  font-size: 28px;
  font-weight: 700;
}

.countdown small {
  display: block;
  font-size: 12px;
  color: #9ca3af;
}

/* 菜单 */
.menu {
  padding: 24px;
  flex: 1;
}

.group {
  margin-bottom: 32px;
}

.group h2 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: #9ca3af;
  letter-spacing: 0.05em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  background: #111827;
  border: 1px solid #1f2933;
  border-radius: 12px;
  text-decoration: none;
  color: #e5e7eb;
  font-size: 15px;
  transition: all 0.2s ease;
}

.card:hover {
  background: #1f2937;
  transform: translateY(-2px);
}

.card.highlight {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  border: none;
}

/* 底部 */
.footer {
  padding: 12px;
  text-align: center;
  font-size: 12px;
  color: #6b7280;
  border-top: 1px solid #1f2933;
}

/* 移动端 */
@media (max-width: 600px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
