:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --bg: #f5f6fa;
  --card-bg: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

header {
  background: #111827;
  color: #fff;
  padding: 40px 16px;
  text-align: center;
}

header h1 {
  font-size: 28px;
  letter-spacing: 0.5px;
}

header p {
  margin-top: 8px;
  color: #9ca3af;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: #e5e7eb;
}

.card-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 14px;
  flex: 1;
  margin-bottom: 16px;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  transition: background 0.15s ease;
}

.btn:hover {
  background: var(--primary-dark);
}

footer {
  text-align: center;
  padding: 24px 16px;
  color: var(--muted);
  font-size: 13px;
}

footer a {
  color: var(--primary);
}

.thanks-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  text-align: center;
}

.thanks-box {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 40px 32px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  max-width: 480px;
}

.thanks-box h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

.thanks-box p {
  color: var(--muted);
  margin-bottom: 24px;
}
