:root {
  --blue-1: #1c6690;
  --blue-2: #123c56;
  --orange-1: #e2812f;
  --orange-2: #b84d10;
  --ink: #1a2230;
  --muted: #6b7688;
  --card-max-width: 440px;
  --gold: #e8b04b;
  --wine: #7c2b31;
  --wine-bg: #fbf8ee;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  padding: 56px 16px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  overflow-x: hidden;
  background: radial-gradient(circle at 15% -10%, #1c3a52 0%, transparent 45%),
              radial-gradient(circle at 85% 0%, #2a1a10 0%, transparent 40%),
              linear-gradient(180deg, #0a1420 0%, #060c14 55%, #05090f 100%);
  background-attachment: fixed;
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.glow-a {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -100px;
  background: radial-gradient(circle, rgba(28, 102, 144, 0.55), transparent 70%);
}

.glow-b {
  width: 340px;
  height: 340px;
  bottom: -120px;
  right: -110px;
  background: radial-gradient(circle, rgba(226, 129, 47, 0.35), transparent 70%);
}

.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--card-max-width);
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 251, 253, 0.97));
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 28px;
  padding: 40px 28px 32px;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.4) inset;
  animation: card-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.avatar-ring {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 180deg, var(--blue-1), var(--gold), var(--orange-1), var(--blue-1));
  box-shadow: 0 8px 24px -8px rgba(28, 102, 144, 0.45);
  margin-bottom: 6px;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #eef1f5;
  border: 3px solid #ffffff;
}

.badge {
  margin: 4px 0 2px;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue-1);
  background: linear-gradient(90deg, rgba(28, 102, 144, 0.12), rgba(226, 129, 47, 0.12));
  padding: 5px 14px;
  border-radius: 999px;
}

.greeting {
  margin: 6px 0 0;
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.subtext {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 320px;
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  text-decoration: none;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13.5px;
  line-height: 1.35;
  padding: 17px 20px;
  border-radius: 14px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.35);
  animation: btn-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(0.08s * var(--i, 0) + 0.15s);
}

@keyframes btn-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 55%);
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -12px rgba(0, 0, 0, 0.45);
  filter: brightness(1.06);
}

.btn:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.btn-text {
  position: relative;
}

.btn-sub {
  display: inline-block;
  margin-top: 2px;
  font-weight: 500;
  text-transform: uppercase;
  opacity: 0.85;
  font-size: 12px;
}

.btn-arrow {
  position: relative;
  flex-shrink: 0;
  font-size: 16px;
  opacity: 0.75;
  transform: translateX(-2px);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover .btn-arrow {
  opacity: 1;
  transform: translateX(2px);
}

.btn-blue {
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2));
}

.btn-orange {
  background: linear-gradient(135deg, var(--orange-1), var(--orange-2));
}

.btn-gold {
  background: var(--wine-bg);
  color: var(--wine);
  border: 1.5px solid var(--wine);
  border-radius: 14px;
  justify-content: center;
  text-align: center;
  padding: 15px 26px;
  box-shadow: 0 10px 24px -16px rgba(33, 36, 29, 0.35);
}

@media (prefers-reduced-motion: no-preference) {
  .btn-gold {
    animation:
      btn-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) both,
      bubble-bob 2.8s ease-in-out 0.65s infinite;
  }

  @keyframes bubble-bob {
    0%, 100% {
      transform: translateY(0);
      box-shadow:
        0 10px 24px -16px rgba(33, 36, 29, 0.35),
        0 0 0 0 color-mix(in srgb, var(--wine) 35%, transparent);
    }
    50% {
      transform: translateY(-5px);
      box-shadow:
        0 16px 30px -16px rgba(33, 36, 29, 0.4),
        0 0 0 7px color-mix(in srgb, var(--wine) 12%, transparent);
    }
  }
}

.btn-gold::before {
  background: none;
}

.btn-gold .btn-arrow {
  position: absolute;
  right: 22px;
  color: var(--wine);
  opacity: 0.85;
}

.btn-gold:hover {
  filter: none;
  background: #fffdf6;
}

.hot-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--wine);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 7px;
}

.btn-title {
  display: block;
  font-weight: 600;
}

.btn-title strong {
  font-family: "Be Vietnam Pro", "Manrope", sans-serif;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.005em;
}

.gold-sub {
  display: block;
  margin-top: 5px;
  text-transform: none;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0.9;
}

.footer {
  text-align: center;
  margin-top: 4px;
}

.footer p {
  margin: 0;
  font-size: 11.5px;
  color: #a3adba;
  letter-spacing: 0.02em;
}

@media (max-width: 699px) {
  .btn-arrow {
    display: none;
  }
}

@media (max-width: 420px) {
  body {
    padding: 32px 14px;
  }

  .card {
    padding: 32px 20px 24px;
    border-radius: 22px;
  }

  .greeting {
    font-size: 20px;
  }
}

@media (min-width: 700px) {
  :root {
    --card-max-width: 700px;
  }

  .link-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
  }

  .btn {
    height: 100%;
  }

  .btn-gold {
    grid-column: 1 / -1;
  }
}
