/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= BODY ================= */
body {
  font-family: 'Inter', sans-serif;
  background: #0b0b0e;
  color: #ffffff;

  overflow-x: hidden;
  overflow-y: auto;

  -webkit-font-smoothing: antialiased;
}

/* ================= BACKGROUND ORBS ================= */
.background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.background span {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #8f6cff, transparent 60%);
  opacity: 0.14;
  animation: float 20s infinite linear;
}

.background span:nth-child(1) {
  top: -12%;
  left: -12%;
}

.background span:nth-child(2) {
  bottom: -18%;
  right: -12%;
  animation-delay: 5s;
}

.background span:nth-child(3) {
  top: 45%;
  left: 65%;
  animation-delay: 10s;
}

@keyframes float {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-60px) rotate(180deg); }
  100% { transform: translateY(0) rotate(360deg); }
}

/* ================= MAIN CONTAINER ================= */
.container {
  position: relative;
  z-index: 1;

  min-height: 100svh;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  padding-top: calc(env(safe-area-inset-top, 20px) + 12px);
  padding-bottom: calc(env(safe-area-inset-bottom, 20px) + 20px);
  padding-left: 16px;
  padding-right: 16px;
}

/* ================= BRAND LOGO ================= */
.brand-logo {
  width: 300px;
  margin-bottom: -24px; /* 🔥 pull profile upward */
  opacity: 1;
}

/* ================= PROFILE ================= */
.profile {
    margin-top: 22px;
  margin-bottom: 22px;
}

.avatar-wrap {
  width: 165px;
  height: 165px;
  margin: 0 auto 10px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, #8f6cff, #ffffff40);
  animation: pulse 3s infinite;
  position: relative;
  top: -12px;
}


.avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ================= PROFILE TEXT ================= */
.profile h1 {
  font-family: 'Playfair Display', serif;
  margin-top: 16px;
  font-size: 1.75rem;
}

.profile h2 {
  font-size: 0.95rem;
  opacity: 0.7;
  margin: 6px 0 10px;
}

.profile p {
  font-size: 0.85rem;
  opacity: 0.6;
  max-width: 300px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ================= LINKS ================= */
.links {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ================= CARDS ================= */
.card {
  padding: 16px;
  border-radius: 14px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;

  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);

  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.25),
    transparent
  );
  transform: translateX(-100%);
  transition: 0.6s;
}

.card:hover::before {
  transform: translateX(100%);
}

.card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.14);
  box-shadow: 0 18px 36px rgba(0,0,0,0.55);
}

/* ================= PRIMARY CTA ================= */
.card.primary {
  background: linear-gradient(135deg, #8f6cff, #5b3fff);
  border: none;
}

.card.primary:hover {
  box-shadow: 0 20px 40px rgba(143,108,255,0.45);
}

/* ================= FOOTER ================= */
footer {
  margin-top: 28px;
  font-size: 0.75rem;
  opacity: 0.4;
}

/* ================= ANIMATIONS ================= */
@keyframes pulse {
  0% { box-shadow: 0 0 0 rgba(143,108,255,0.35); }
  50% { box-shadow: 0 0 28px rgba(143,108,255,0.55); }
  100% { box-shadow: 0 0 0 rgba(143,108,255,0.35); }
}

