/* ===================================================
   Happy Lines Press | LINKS PAGE STYLES
   =================================================== */

:root {
  /* Brand Colors from Main Site */
  --sage:          #7BAE8E;
  --sage-light:    #A8CEB8;
  --sage-lighter:  #EEF6F1;
  --sage-dark:     #5A8C6E;
  --cream:         #FAF6EF;
  --cream-dark:    #F0E9DF;
  --warm-white:    #FFFFFF;
  --charcoal:      #2E2E2E;
  --charcoal-soft: #3D3D3D;

  /* Typography */
  --font-heading:  'Playfair Display', Georgia, serif;
  --font-body:     'Lato', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-sm:   0 2px 10px rgba(0,0,0,0.08);
  --shadow-md:   0 6px 22px rgba(0,0,0,0.11);
  --shadow-sage: 0 16px 40px rgba(123,174,142,0.28);
}

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

body {
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--charcoal);
  background-color: var(--cream);
  position: relative;
  overflow-x: hidden;
  padding: 2rem 1rem;
  -webkit-font-smoothing: antialiased;
}

/* Background blob matching the sage brand */
.background-decor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: 
    radial-gradient(circle at 80% -10%, var(--sage-lighter) 0%, transparent 50%),
    radial-gradient(circle at -10% 110%, var(--sage-lighter) 0%, transparent 50%);
}

.linktree-container {
  width: 100%;
  max-width: 500px;
  background: var(--warm-white);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sage);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.profile-header {
  margin-bottom: 2.5rem;
}

.profile-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: contain;
  background-color: var(--warm-white);
  border: 2px solid var(--sage-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  padding: 10px;
}

.profile-name {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.profile-bio {
  font-size: 1.1rem;
  color: var(--charcoal-soft);
  font-weight: 400;
  line-height: 1.6;
}

.links-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 1.1rem 1.5rem;
  background-color: var(--cream);
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 100px;
  border: 1px solid var(--cream-dark);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.link-btn i {
  font-size: 1.3rem;
  color: var(--sage-dark);
}

.link-btn:hover {
  transform: translateY(-3px);
  background-color: var(--warm-white);
  box-shadow: var(--shadow-md);
  border-color: var(--sage-light);
}

/* Primary Button Styling (Official Website) */
.primary-btn {
  background-color: var(--sage);
  color: var(--warm-white);
  border: none;
}

.primary-btn i {
  color: var(--warm-white);
}

.primary-btn:hover {
  background-color: var(--sage-dark);
  color: var(--warm-white);
}

/* Amazon Button specific styling */
.amazon-btn:hover {
  border-color: #ff9900;
}
.amazon-btn:hover i {
  color: #ff9900;
}

.social-wrapper {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.social-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cream);
  color: var(--sage-dark);
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  border: 1px solid var(--cream-dark);
}

.social-icon:hover {
  transform: translateY(-3px);
  background-color: var(--warm-white);
  border-color: var(--sage-light);
  box-shadow: var(--shadow-sm);
  color: #E1306C; /* Instagram Color on hover */
}

@media (max-width: 480px) {
  .linktree-container {
    padding: 2.5rem 1.5rem;
    box-shadow: var(--shadow-md);
  }
  .profile-name { font-size: 1.8rem; }
  .link-btn { font-size: 1rem; }
}

/* Footer Styling */
.page-footer {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  padding: 1rem 0;
  font-size: 0.9rem;
  color: var(--charcoal-soft);
  position: relative;
  z-index: 1;
}

.page-footer a {
  color: var(--sage-dark);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.page-footer a:hover {
  color: var(--charcoal);
  text-decoration: underline;
}
