:root {
  --bg: #f4eecd;
  --card: #faf7e8;
  --text: #000000;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
}

/* Search */
.search-section {
  position: relative;
  margin-bottom: 32px;
}

#search-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  border: 2px solid var(--text);
  background: var(--card);
  outline: none;
}

#search-input:focus {
  background: #ffffff;
}

.suggestions {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  width: 100%;
  background: var(--card);
  border: 2px solid var(--text);
  border-top: none;
  z-index: 10;
}

.suggestions li {
  padding: 10px 16px;
  cursor: pointer;
}

.suggestions li:hover {
  background: var(--bg);
}

/* Links */
.links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  text-decoration: none;
  color: var(--text);
  background: var(--card);
  border: 2px solid var(--text);
  font-weight: 500;
}

.link-card:hover {
  background: #ffffff;
}
