:root {
  color-scheme: light;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --primary-purple: #4b098a;
  --primary-blue: #2e54d6;
  --glass-fill: rgba(255, 255, 255, 0.18);
  --glass-border: rgba(255, 255, 255, 0.55);
  --text-color: #f5f6fa;
  --text-muted: rgba(245, 246, 250, 0.7);
  --page-max-width: 420px;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 32px 20px 48px;
  background: radial-gradient(
      circle at 50% 10%,
      rgba(115, 96, 222, 0.45) 0%,
      rgba(105, 81, 212, 0.58) 28%,
      rgba(88, 69, 205, 0.68) 52%,
      rgba(64, 78, 208, 0.85) 78%,
      rgba(46, 84, 214, 0.98) 100%
    ),
    linear-gradient(160deg, var(--primary-purple), var(--primary-blue));
  background-attachment: fixed;
  color: var(--text-color);
  position: relative;
  overflow-x: hidden;
}

.background-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(75, 9, 138, 0.2), rgba(46, 84, 214, 0.25));
  mix-blend-mode: screen;
  z-index: 0;
  pointer-events: none;
}

.link-page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--page-max-width);
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: 16px 0;
}

.brand-logo {
  width: 160px;
  height: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 40px rgba(33, 20, 68, 0.3);
}

.brand-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.tagline {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.015em;
  color: var(--text-muted);
}

.links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 0;
}

.link-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-radius: 20px;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
  backdrop-filter: blur(26px);
  box-shadow: 0 18px 30px rgba(18, 21, 63, 0.22);
}

.link-card span {
  flex: 1;
}

.link-card svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  opacity: 0.75;
}

.link-card:focus-visible {
  outline: 2px solid rgba(245, 246, 250, 0.8);
  outline-offset: 4px;
}

.link-card:hover,
.link-card:active {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.24);
  box-shadow: 0 20px 34px rgba(18, 21, 63, 0.28);
}

.contact {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 0 8px;
  color: var(--text-muted);
}

.contact h2 {
  margin: 0;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(245, 246, 250, 0.8);
}

.contact-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-bottom: 1px solid transparent;
  transition: color 140ms ease, border-color 140ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (min-width: 600px) {
  body {
    padding: 48px 32px 64px;
  }

  .brand-logo {
    width: 180px;
    height: 180px;
  }
}
