:root {
  color-scheme: dark;
  --bg: #090402;
  --panel: rgba(14, 7, 3, 0.72);
  --panel-border: rgba(255, 170, 86, 0.2);
  --text: #f3e8db;
  --muted: rgba(243, 232, 219, 0.72);
  --accent: #f39a44;
  --accent-strong: #ffb465;
  --shadow: rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  position: relative;
}

.backdrop {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.74) 100%),
    radial-gradient(circle at 50% 24%, rgba(255, 165, 72, 0.18) 0%, rgba(255, 165, 72, 0) 42%),
    url("/assets/background.jpg") center/cover no-repeat;
  transform: scale(1.03);
}

.shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.panel {
  width: min(100%, 560px);
  padding: 24px 20px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  box-shadow: 0 18px 60px var(--shadow);
  backdrop-filter: blur(10px);
}

.logo {
  display: block;
  width: min(100%, 420px);
  margin: 0 auto 14px;
}

.tagline {
  margin: 0 0 20px;
  color: var(--muted);
  text-align: center;
  font-size: 0.98rem;
  line-height: 1.45;
}

.links {
  display: grid;
  gap: 12px;
}

.link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 170, 86, 0.18);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  background: rgba(20, 11, 5, 0.7);
  transition:
    transform 120ms ease,
    border-color 120ms ease,
    background 120ms ease,
    box-shadow 120ms ease;
}

.link:hover,
.link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 180, 101, 0.48);
  background: rgba(30, 15, 7, 0.86);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  outline: none;
}

.link-primary {
  background: linear-gradient(180deg, rgba(56, 25, 6, 0.94) 0%, rgba(31, 14, 4, 0.94) 100%);
}

.label {
  font-weight: 650;
  line-height: 1.2;
}

.meta {
  flex: 0 0 auto;
  color: var(--accent-strong);
  font-size: 0.83rem;
  text-align: right;
}

@media (max-width: 640px) {
  .shell {
    padding: 16px;
  }

  .panel {
    padding: 18px 16px;
  }

  .link {
    align-items: flex-start;
    flex-direction: column;
  }

  .meta {
    text-align: left;
  }
}
