:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: #201C1B;
  font-family: 'Work Sans', sans-serif;
}

a {
  color: #E8B34A;
}

a:hover {
  color: #F2C878;
}

body {
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 40px 60px;
  text-align: center;
}

.gem-icon {
  width: 64px;
  object-fit: contain;
  margin-bottom: 28px;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.gem-icon:hover {
  transform: rotate(360deg) scale(1.15);
}

.wordmark {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 40px;
  letter-spacing: 0.01em;
  color: #F7F3EF;
}

.tagline {
  font-size: 20px;
  line-height: 1.6;
  color: #D8D1CB;
  max-width: 680px;
  margin: 28px 0 0;
}

.entities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 220px));
  gap: 24px;
  margin-top: 72px;
  width: 100%;
  max-width: 960px;
  justify-content: center;
}

.entity-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 20px;
  border-radius: 16px;
  border: 1px solid #3A3432;
  background: #26211F;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}

.entity-card:hover {
  border-color: var(--hover-color, #E8B34A);
  transform: translateY(-4px);
}

.entity-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.entity-name {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: #F7F3EF;
}

.entity-tag {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer {
  border-top: 1px solid #322C2A;
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.social-row {
  display: flex;
  gap: 24px;
}

.social-row a {
  color: #8A817C;
  text-decoration: none;
  line-height: 0;
}

.social-row a:hover {
  color: #E8B34A;
}

.copyright {
  font-size: 13px;
  color: #6B6360;
}
