/* index.css */
:root {
  --accent: #F71E3D;
  --bg: #0f0f12;
  --bg-card: rgba(255, 255, 255, 0.04);
  --text: #f5f5f5;
  --muted: #9ca3af;
  --border: rgba(255, 255, 255, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: linear-gradient(165deg, #0f0f12 0%, #1a1a22 40%, #15151c 100%);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Inter, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(247, 30, 61, 0.15), transparent);
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 64px;
  text-align: center;
}

.logo {
  width: 196px;
  height: auto;
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.3));
}

h1 {
  margin: 8px 0 8px;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.subtitle {
  color: var(--muted);
  margin-bottom: 32px;
}

.archive-links,
.current-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  border-color: var(--accent);
}

.card .title {
  font-weight: 600;
  margin-bottom: 4px;
}

.card .range {
  font-size: 0.9rem;
  color: var(--muted);
}

.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 32px 0 24px;
}

.section-heading {
  margin: 0 0 14px;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .archive-links,
  .current-links {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  h1 {
    font-size: 1.6rem;
  }

  .container {
    padding: 36px 16px 48px;
  }

  .card {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  }

  .card:active {
    transform: scale(0.99);
    border-color: var(--accent);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.24);
  }
}
