/* Portal landing — local overrides for dayz/rust stubs */

.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5, 1.25rem);
}

.panel.info-card {
  position: relative;
  overflow: hidden;
  padding: var(--space-5, 1.25rem);
  border-radius: var(--radius-md, 1rem);
  border: 1px solid var(--surface-border, rgba(255, 255, 255, 0.08));
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(45, 212, 191, 0.03), rgba(168, 85, 247, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.info-card h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.info-card p {
  margin: 0;
  color: var(--muted, #8b9cb8);
  line-height: 1.7;
}

.theme-dayz body,
body.theme-dayz {
  --accent: #8faa5a;
}

.theme-rust body,
body.theme-rust {
  --accent: #e07a3a;
}

.theme-dayz .compact-hero__copy.surface--hero {
  border-color: rgba(143, 170, 90, 0.22);
}

.theme-rust .compact-hero__copy.surface--hero {
  border-color: rgba(224, 122, 58, 0.22);
}

@media (max-width: 980px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}
