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

:root {
  --bg: #12100f;
  --card: #1c1a17;
  --card-hover: #26221e;
  --text-main: #f5efe8;
  --text-muted: #b0a79a;
  --accent: #f1ece6;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 35px rgba(0, 0, 0, 0.6);
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: var(--font-main);
  background: radial-gradient(circle at top, #292522 0, #0b0a09 55%, #050404 100%);
  color: var(--text-main);
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.page {
  min-height: 100vh;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 28px 20px 32px;
  display: flex;
  flex-direction: column;
}

.header {
  text-align: center;
  margin-bottom: 28px;
}

.logo-wrap {
  width: 120px;
  height: 120px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #ffffff, #f5efe8 45%, #e5ded2 70%, #796a57 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
}

.logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  display: block;
}

h1 {
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.subtitle {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.link-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 16px;
  border-radius: var(--radius-xl);
  background: var(--card);
  color: var(--text-main);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(241, 236, 230, 0.04);
  transition:
    background 0.16s ease-out,
    transform 0.12s ease-out,
    box-shadow 0.16s ease-out,
    border-color 0.16s ease-out;
}

.link-card:hover,
.link-card:focus-visible {
  background: var(--card-hover);
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.75);
  border-color: rgba(241, 236, 230, 0.22);
}

.link-title {
  font-size: 0.95rem;
}

.link-note {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.footer {
  margin-top: auto;
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0.85;
}

/* Small screens */
@media (max-width: 420px) {
  .page {
    padding: 22px 16px 26px;
  }

  .logo-wrap {
    width: 136px;
    height: 136px;
  }

  .logo {
    width: 104px;
    height: 104px;
  }

  .link-card {
    padding: 13px 14px;
  }
}
