:root {
  --sage: #7A8574;
  --sage-dark: #4A5245;
  --offwhite: #F7F4ED;
  --beige: #EFE8DD;
  --gold: #D9B65C;
  --gold-bright: #F0D48A;
  --gold-deep: #A8842F;
  --ink: #17140F;
  --ink-soft: #221E17;

  --font-display: "Playfair Display", serif;
  --font-sans: "Poppins", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(217, 182, 92, 0.18), transparent 55%),
    linear-gradient(180deg, #1E2A1D 0%, #14150F 55%, #0D0C09 100%);
  font-family: var(--font-sans);
  color: var(--offwhite);
  display: flex;
  justify-content: center;
}

.page {
  width: 100%;
  max-width: 440px;
  padding: 48px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 36px;
}

.avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(217, 182, 92, 0.14), 0 12px 34px -10px rgba(0, 0, 0, 0.65);
}

.name {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  margin: 18px 0 6px;
  background: linear-gradient(100deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.01em;
}

.role {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0 0 12px;
}

.bio {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(247, 244, 237, 0.82);
  margin: 0;
  max-width: 340px;
}

.handle {
  color: var(--gold-bright);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 212, 138, 0.45);
}

.handle:hover,
.handle:focus-visible {
  border-bottom-color: var(--gold-bright);
}

.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 44px;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(217, 182, 92, 0.28);
  border-radius: 1rem;
  color: var(--offwhite);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.98rem;
  text-decoration: none;
  box-shadow: 0 4px 24px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.link-btn:hover,
.link-btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(217, 182, 92, 0.6);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}

.link-btn--highlight {
  background: linear-gradient(110deg, var(--gold-deep) 0%, var(--gold-bright) 50%, var(--gold-deep) 100%);
  border-color: var(--gold-bright);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 10px 34px -8px rgba(217, 182, 92, 0.55);
}

.link-btn--highlight:hover,
.link-btn--highlight:focus-visible {
  border-color: var(--gold-bright);
  box-shadow: 0 14px 38px -8px rgba(217, 182, 92, 0.7);
}

.link-icon {
  flex-shrink: 0;
  display: inline-flex;
  width: 22px;
  height: 22px;
}

.link-icon svg {
  width: 100%;
  height: 100%;
}

.link-btn--highlight .link-icon {
  color: var(--ink);
}

.link-btn:not(.link-btn--highlight) .link-icon {
  color: var(--gold-bright);
}

.coupons {
  width: 100%;
}

.coupons-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  text-align: center;
  margin: 0 0 16px;
  color: var(--gold-bright);
}

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

.coupon-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(217, 182, 92, 0.4);
  border-radius: 0.85rem;
}

.coupon-item--highlight {
  background: linear-gradient(110deg, rgba(168, 132, 47, 0.35) 0%, rgba(240, 212, 138, 0.22) 50%, rgba(168, 132, 47, 0.35) 100%);
  border: 1px solid var(--gold-bright);
  box-shadow: 0 8px 26px -10px rgba(217, 182, 92, 0.5);
}

.coupon-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.coupon-store {
  font-size: 0.85rem;
  color: rgba(247, 244, 237, 0.65);
  font-weight: 500;
}

.coupon-item--highlight .coupon-store {
  color: var(--gold-bright);
  font-weight: 600;
}

.coupon-code {
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-bright);
}

.coupon-note {
  font-size: 0.72rem;
  color: rgba(247, 244, 237, 0.8);
  margin-top: 2px;
}

.copy-btn {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold-bright);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.copy-btn:hover,
.copy-btn:focus-visible {
  background: var(--gold);
  color: var(--ink);
}

.copy-btn.copied {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--ink);
}

.footer {
  margin-top: 40px;
  font-size: 0.8rem;
  color: rgba(247, 244, 237, 0.5);
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--gold-bright);
  color: var(--ink);
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
