@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.18);
  --text-primary: #1a1a18;
  --text-secondary: #888880;
  --accent: #2a4a3e;
  --accent-light: #e8f0ed;
  --radius: 10px;
  --radius-lg: 16px;
}

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

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Subtle grid texture on background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.card {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.5rem 2rem;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.06);
}

.header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.domain-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 1rem;
}

.domain-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 6px;
}

.subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 300;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--surface);
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
  cursor: pointer;
}

.btn:hover {
  border-color: var(--border-hover);
  background: #faf9f7;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-arrow {
  font-size: 14px;
  color: var(--text-secondary);
  transition: transform 0.15s, color 0.15s;
  flex-shrink: 0;
}

.btn:hover .btn-arrow {
  transform: translate(2px, -2px);
  color: var(--accent);
}

/* Full-width button variant */
.btn.full {
  grid-column: span 2;
}

.footer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
}

.footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

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

/* =====================================================
   Responsive
===================================================== */

/* Tablet */
@media (max-width: 600px) {
  body {
    padding: 1rem;
    align-items: flex-start;
    padding-top: 2rem;
  }

  .card {
    padding: 2rem 1.5rem 1.5rem;
    border-radius: var(--radius);
  }

  .title {
    font-size: 24px;
  }
}

/* Mobiel */
@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .btn.full {
    grid-column: span 1;
  }

  .btn {
    padding: 16px;
    font-size: 15px;
  }
}

/* Zeer smal (bijv. kleine Android) */
@media (max-width: 320px) {
  body {
    padding: 0.75rem;
    padding-top: 1rem;
  }

  .card {
    padding: 1.5rem 1rem 1rem;
  }

  .title {
    font-size: 20px;
  }

  .domain-badge {
    font-size: 10px;
  }
}

/* Groot scherm: card iets ruimer */
@media (min-width: 900px) {
  .card {
    padding: 3rem 3rem 2.5rem;
    max-width: 560px;
  }

  .title {
    font-size: 32px;
  }
}
