:root {
  --bg: #15131a;
  --fg: #ece8f2;
  --muted: #9a93a8;
  --accent: #c9a24a;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

main {
  flex: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 16px;
  text-align: center;
}

h1 { margin: 0 0 4px; font-size: 2rem; letter-spacing: 0.02em; }
.sub { margin: 0 0 24px; color: var(--muted); }

.buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.buttons button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  background: none;
  cursor: pointer;
  transition: transform 0.1s, border-color 0.1s;
}
.buttons button:hover:not(:disabled),
.buttons button:focus-visible { border-color: var(--accent); transform: translateY(-2px); outline: none; }
.buttons button:disabled { opacity: 0.5; cursor: wait; }
.buttons img { display: block; max-width: 200px; height: auto; border-radius: 10px; }

#status { min-height: 1.5em; color: var(--muted); }

#cards { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
#cards img {
  display: block;
  width: 288px;
  max-width: calc(100vw - 32px);
  height: auto;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgb(0 0 0 / 0.5);
}

footer { padding: 16px; text-align: center; font-size: 0.85rem; color: var(--muted); }
footer a { color: var(--accent); }
