:root {
  --bg: #140D08;
  --card: rgba(255,255,255,0.07);
  --text: rgba(255,248,242,0.93);
  --muted: rgba(255,229,210,0.72);
  --border: rgba(240,163,94,0.22);
  --btn: #D96A1D;
  --btnText: #FFF7F0;
  --shadow: 0 10px 30px rgba(0,0,0,0.36);
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 20% 20%, rgba(217,106,29,0.16), transparent 60%),
    radial-gradient(900px 600px at 80% 30%, rgba(240,163,94,0.11), transparent 55%),
    radial-gradient(800px 600px at 50% 90%, rgba(255,210,150,0.08), transparent 55%),
    var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  min-height: 100vh;
}

.wrap {
  width: min(560px, 100%);
  animation: cardEnter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cardEnter {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

header {
  padding: 26px 22px 18px;
  border-bottom: 1px solid var(--border);
}

.title {
  margin: 0;
  font-size: 26px;
  letter-spacing: 0.2px;
  line-height: 1.15;
}

.subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

main {
  padding: 18px 18px 12px;
}

ul.links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.link:hover {
  transform: translateY(-1px);
  background: rgba(217,106,29,0.08);
  border-color: rgba(240,163,94,0.42);
}

.link:active {
  transform: translateY(0);
  background: rgba(217,106,29,0.12);
}

.label {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.15px;
}

.meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.pill {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(217,106,29,0.08);
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.arrow {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  opacity: 0.75;
  color: #F0A35E;
}

footer {
  padding: 14px 22px 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

footer a {
  color: #F0A35E;
  text-decoration: none;
  border-bottom: 1px dashed rgba(240,163,94,0.35);
}
footer a:hover { color: #FFD1A8; }

.link:focus {
  outline: 3px solid rgba(240,163,94,0.55);
  outline-offset: 2px;
}
.link:focus:not(:focus-visible) { outline: none; }

@media (prefers-reduced-motion: reduce) {
  .link { transition: none; }
  .link:hover { transform: none; }
  .wrap { animation: none; }
}

@media (max-width: 360px) {
  .title { font-size: 24px; }
  .label { font-size: 15px; }
  .meta { display: none; }
}
