:root {
  --bg: #0c0c10;
  --card-bg: #16302a;
  --card-border: #d9a441;
  --text-main: #f5f2ea;
  --text-sub: #a9a9ad;
  --text-desc: #c9d3cd;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text-main);
  font-family: Georgia, 'Times New Roman', serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12vh 20px 60px;
}
h1 {
  font-size: 2.6rem;
  margin: 0 0 10px;
  font-weight: 700;
  text-align: center;
}
p.subtitle {
  margin: 0 0 20px;
  color: var(--text-sub);
  font-size: 1.05rem;
  text-align: center;
}
.back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.9rem;
}
.back-link:hover { color: var(--text-main); }

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  max-width: 900px;
}

.card {
  display: block;
  width: 240px;
  background: var(--card-bg);
  border-top: 4px solid var(--card-border);
  border-radius: 4px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.5);
}
.card h2 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  line-height: 1.25;
}
.card p {
  margin: 0;
  color: var(--text-desc);
  font-size: 0.92rem;
  line-height: 1.4;
}

.icon-card {
  display: block;
  width: 180px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border-radius: 24px;
}
.icon-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}
.icon-card:hover {
  transform: translateY(-4px);
}
.icon-card:hover img {
  box-shadow: 0 10px 24px rgba(0,0,0,0.5);
}
.icon-label {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 1.1rem;
  font-weight: 700;
}
