* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(180deg, #fce4ec 0%, #f8bbd0 100%);
  color: #2d2d2d;
  display: flex;
  justify-content: center;
  padding: 48px 16px;
}

.page {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.profile-pic {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  background: #f48fb1;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.handle {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.share-btn {
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  color: #ad1457;
  background: #fff0f5;
  border: 1px solid #f48fb1;
  border-radius: 999px;
  padding: 6px 16px;
  cursor: pointer;
  transition: background 0.1s ease;
}

.share-btn:hover {
  background: #ffe1ec;
}

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

.link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  background: #ffffff;
  color: #2d2d2d;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.link-favicon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  flex-shrink: 0;
}

.link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.favorites {
  width: 100%;
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
}

.favorites h2 {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  color: #ad1457;
}

.favorites-desc {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #555;
  margin: 0 0 14px;
}

.favorites-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  background: #fff0f5;
  color: #2d2d2d;
  text-decoration: none;
  font-weight: 500;
  border: 1px dashed #f48fb1;
}

.fav-link:hover {
  background: #ffe1ec;
}

.back-link {
  align-self: flex-start;
  font-size: 0.85rem;
  font-weight: 500;
  color: #ad1457;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.amazon-finds {
  width: 100%;
  text-align: center;
}

.amazon-finds h2 {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  color: #ad1457;
}

.amazon-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.amazon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px;
  border-radius: 12px;
  background: #ffffff;
  color: #2d2d2d;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  line-height: 1.3;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.amazon-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.amazon-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 8px;
  background: #fafafa;
}

.mobile-qr {
  display: none;
}

@media (min-width: 768px) {
  .mobile-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: fixed;
    bottom: 32px;
    right: 32px;
  }

  .mobile-qr-box {
    width: 96px;
    height: 96px;
    border-radius: 8px;
    background: #fff;
    border: 1px dashed #ad1457;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  }

  .mobile-qr-label {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 500;
    color: #ad1457;
  }
}
