:root {
  --accent: #38bdf8;
  --accent-strong: #0ea5e9;
  --surface: rgba(15, 23, 42, 0.88);
  --border: rgba(56, 189, 248, 0.22);
  --text-primary: #f8fafc;
  --text-secondary: rgba(226, 232, 240, 0.72);
  --text-muted: rgba(148, 163, 184, 0.75);
  --shadow-soft: 0 20px 60px rgba(8, 15, 35, 0.45);
  --shadow-card: 0 12px 40px rgba(8, 15, 35, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Manrope', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: radial-gradient(circle at top left, #1e293b, #0b1222 55%, #050910 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main {
  flex: 1;
  width: min(960px, 90vw);
  margin: 0 auto;
  padding: 0 0 3rem;
}

.main--centered {
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-header {
  margin: 3.5rem 0 2rem;
}

.section-header h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.section-header h2::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.section-header p {
  margin: 0;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.6;
  font-size: 1.05rem;
}

.nav {
  width: min(960px, 90vw);
  margin: 2.5rem auto 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(30, 41, 59, 0.78), rgba(15, 23, 42, 0.92));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.nav__brand {
  display: flex;
  align-items: center;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
}

.nav__accent {
  width: 12px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
}

.nav__title {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  letter-spacing: 0.04em;
}

.nav__links {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.nav__link {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--text-primary);
  background: rgba(56, 189, 248, 0.14);
}

.entries {
  margin: 2.8rem auto 0;
}

.entries__empty {
  margin: 1.6rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.entries__list {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.entries__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.35rem;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.entries__route {
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1rem;
}

.entries__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.95rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.08);
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  font-size: 0.95rem;
}

.entries__link:hover,
.entries__link:focus-visible {
  color: var(--text-primary);
  background: rgba(56, 189, 248, 0.25);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 14px 36px rgba(56, 189, 248, 0.3);
}

.entries__status {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.button--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #04111f;
  box-shadow: 0 12px 42px rgba(56, 189, 248, 0.45);
}

.button--primary:hover,
.button--primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 52px rgba(56, 189, 248, 0.55);
}

.button--ghost {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  color: var(--text-primary);
  box-shadow: 0 10px 32px rgba(56, 189, 248, 0.2);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 16px 42px rgba(56, 189, 248, 0.3);
}

.status {
  text-align: center;
  background: rgba(15, 23, 42, 0.8);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid rgba(56, 189, 248, 0.15);
  box-shadow: var(--shadow-card);
  max-width: 460px;
}

.status__label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.status__title {
  margin: 1rem 0;
  font-size: 2rem;
  letter-spacing: 0.015em;
}

.status__message {
  margin: 0 0 2rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.status__message code {
  font-family: 'Fira Code', Menlo, Monaco, Consolas, 'Courier New', monospace;
  background: rgba(148, 163, 184, 0.18);
  color: var(--text-primary);
  padding: 0.12rem 0.32rem;
  border-radius: 6px;
}

.status__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer {
  margin-top: auto;
  padding: 2.5rem 0 3rem;
}

.footer__content {
  width: min(960px, 90vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.footer__copy {
  margin: 0;
}

.footer__links {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin: 0;
}

.footer__link {
  font-weight: 500;
}
