:root {
  color-scheme: dark;
  --bg: #05070f;
  --bg-2: #0d1325;
  --surface: rgba(17, 24, 39, 0.72);
  --surface-2: rgba(255, 255, 255, 0.06);
  --text: #f8fafc;
  --muted: #b7c1d8;
  --accent-1: #4cc9f0;
  --accent-2: #4361ee;
  --accent-3: #ffd166;
  --ring: rgba(76, 201, 240, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: radial-gradient(circle at 15% 10%, #1f2f57 0%, transparent 34%),
    radial-gradient(circle at 85% 85%, #1a2340 0%, transparent 40%),
    linear-gradient(160deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--text);
}

body {
  display: grid;
  place-items: center;
  padding: 22px 16px 28px;
  overflow-x: hidden;
}

.container {
  width: min(100%, 420px);
  position: relative;
  z-index: 3;
}

.noise {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 0);
  background-size: 4px 4px;
  opacity: 0.09;
  pointer-events: none;
  z-index: 1;
}

.profile-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 22px 16px 16px;
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
}

.brand-card {
  text-align: center;
  margin-bottom: 16px;
}

.logo {
  width: clamp(130px, 36vw, 172px);
  height: auto;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.42));
  animation: float 5s ease-in-out infinite;
}

h1 {
  margin: 8px 0 6px;
  font-size: clamp(1.42rem, 4.9vw, 1.82rem);
  font-weight: 800;
  letter-spacing: 0.15px;
}

p {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1.45;
}

.links {
  display: grid;
  gap: 10px;
}

.link-btn {
  text-decoration: none;
  color: var(--text);
  background: linear-gradient(140deg, var(--surface), var(--surface-2));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 13px 14px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.link-btn:hover,
.link-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.35);
  border-color: var(--ring);
  background: linear-gradient(140deg, rgba(67, 97, 238, 0.26), rgba(76, 201, 240, 0.12));
  outline: none;
}

.icon-box {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(67, 97, 238, 0.34), rgba(76, 201, 240, 0.24));
  flex-shrink: 0;
}

.icon {
  width: 18px;
  height: 18px;
  color: #f2f7ff;
}

.label-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.arrow {
  font-weight: 700;
  color: #dbe7ff;
  opacity: 0.9;
  transition: transform 0.2s ease;
}

.link-btn:hover .arrow,
.link-btn:focus-visible .arrow {
  transform: translateX(2px);
}

.featured {
  background: linear-gradient(140deg, rgba(67, 97, 238, 0.46), rgba(76, 201, 240, 0.3));
  border-color: rgba(76, 201, 240, 0.35);
}

.mini-footer {
  text-align: center;
  color: rgba(220, 228, 245, 0.7);
  margin-top: 12px;
  font-size: 0.74rem;
  letter-spacing: 0.3px;
}

.bg-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  filter: blur(44px);
  z-index: 2;
  opacity: 0.45;
  pointer-events: none;
}

.bg-glow-top {
  top: -110px;
  left: -92px;
  background: radial-gradient(circle, rgba(67, 97, 238, 0.7), transparent 68%);
}

.bg-glow-bottom {
  bottom: -110px;
  right: -88px;
  background: radial-gradient(circle, rgba(76, 201, 240, 0.62), transparent 70%);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo {
    animation: none;
  }

  .link-btn,
  .arrow {
    transition: none;
  }
}

@media (min-width: 700px) {
  body {
    padding-top: 34px;
  }
}
