/* CSS Variables & Theme */
:root {
  --bg-color: #FAF8F5;
  --card-bg: #FFFFFF;
  --text-main: #1C1B19;
  --text-muted: #666059;
  --gold-primary: #C5A059;
  --gold-light: #EFE4D0;
  --gold-dark: #9A7734;
  --border-color: #E6E0D6;
  --dark-card: #161513;
  --dark-card-text: #F7F5F0;
  --radius-lg: 16px;
  --radius-sm: 8px;
  --shadow-sm: 0 4px 15px rgba(28, 27, 25, 0.03);
  --shadow-hover: 0 12px 28px rgba(197, 160, 89, 0.15);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 1rem 1.5rem 1rem;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(197, 160, 89, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(197, 160, 89, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Main Container Card */
.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Top Header Bar / Quick Action */
.header-actions {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-bottom: -0.5rem;
}

.share-btn {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.share-btn:hover {
  background: var(--gold-primary);
  color: #FFFFFF;
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

/* Profile Header */
.profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.logo-frame {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--gold-primary), #F3E7D3, var(--gold-dark));
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.2);
  margin-bottom: 1.25rem;
  transition: var(--transition);
  position: relative;
}

.logo-frame:hover {
  transform: scale(1.04);
}

.logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background-color: #FFFFFF;
  display: block;
}

.verified-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: var(--gold-primary);
  color: #FFFFFF;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.brand-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.brand-location {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.tag-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.tag-pill {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.8rem;
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid rgba(197, 160, 89, 0.25);
  color: var(--gold-dark);
  border-radius: 20px;
  text-transform: uppercase;
}

/* Bio Box - Editorial Style */
.bio-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  width: 100%;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.bio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.bio-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 1rem;
}

.bio-text p {
  margin-bottom: 0.85rem;
}

.bio-text p:last-child {
  margin-bottom: 0;
}

/* Core Manifesto Banner */
.manifesto-box {
  background: var(--dark-card);
  color: var(--dark-card-text);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  margin-top: 0.5rem;
  border: 1px solid rgba(197, 160, 89, 0.3);
}

.manifesto-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--gold-light);
}

/* Links Stack Section */
.links-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: -0.25rem;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.3rem;
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.link-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  background: #FFFFFF;
}

.link-card-featured {
  background: linear-gradient(135deg, #161513, #22201D);
  color: #FFFFFF;
  border: 1px solid var(--gold-primary);
}

.link-card-featured:hover {
  background: linear-gradient(135deg, #22201D, #2D2A26);
  border-color: #F3E7D3;
}

.link-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.link-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(197, 160, 89, 0.1);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.link-card-featured .link-icon-wrap {
  background: rgba(197, 160, 89, 0.2);
  color: var(--gold-primary);
}

.link-card:hover .link-icon-wrap {
  background: var(--gold-primary);
  color: #FFFFFF;
  transform: scale(1.05);
}

.link-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.link-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.link-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.link-card-featured .link-subtitle {
  color: #C5BFB8;
}

.link-arrow {
  color: var(--gold-primary);
  font-size: 0.9rem;
  transition: var(--transition);
}

.link-card:hover .link-arrow {
  transform: translateX(4px);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--dark-card);
  color: var(--dark-card-text);
  padding: 0.85rem 1.5rem;
  border-radius: 30px;
  font-size: 0.85rem;
  border: 1px solid var(--gold-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

/* Footer */
footer {
  width: 100%;
  max-width: 480px;
  margin-top: 2.5rem;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.05em;
}

/* Social Quick Icons */
.social-quick-row {
  display: flex;
  gap: 1.25rem;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.social-quick-icon {
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-quick-icon:hover {
  color: var(--gold-primary);
  transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade {
  animation: fadeIn 0.6s ease-out forwards;
}

/* Responsive adjustment */
@media (max-width: 480px) {
  body {
    padding: 1.5rem 0.85rem 1rem 0.85rem;
  }
  .brand-title {
    font-size: 1.95rem;
  }
  .bio-card {
    padding: 1.25rem 1.1rem;
  }
  .link-card {
    padding: 1rem 1.1rem;
  }
}
