:root {
  --primary: #9f6158;
  --secondary: #8d6b50;
  --contrast: #d9a6a7;
  --dark: #4a3326;
  --light: #ffffff;
}

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

html,
body {
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

body {
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 24px;
  position: relative;
  background: #764f30;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.85), rgba(248, 243, 242, 0.9)),
    url('../img/bg.webp') center/cover no-repeat;
  z-index: -1;
}

.wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: 24px;
  padding: 12px 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  backdrop-filter: blur(1px);
}

.label {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(141, 107, 80, 0.15);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: clamp(0.7rem, 1.6vw, 0.85rem);
  color: #5a4637;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
  flex-wrap: nowrap;
  width: auto;
  margin: 0 auto 28px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.label .word {
  background: linear-gradient(120deg, var(--primary), var(--contrast));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease-in-out infinite;
  background-size: 200% 200%;
}

.label .word1 {
  animation-delay: 0s;
}

.label .word2 {
  animation-delay: 0.5s;
}

.label .word3 {
  animation-delay: 1s;
}

@keyframes gradientShift {
  0%,
  100% {
    opacity: 0.7;
    background-position: 0% 50%;
    filter: brightness(0.9);
  }
  25% {
    opacity: 1;
    background-position: 100% 50%;
    filter: brightness(1.2);
  }
  50% {
    opacity: 0.9;
    background-position: 0% 50%;
  }
  75% {
    opacity: 1;
    background-position: 100% 50%;
  }
}

h1.title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  text-align: center;
  color: var(--dark);
  max-width: 95%;
  margin-inline: auto;
  word-break: keep-all;
  white-space: normal;
}

h1.title span {
  background: linear-gradient(120deg, var(--primary), var(--contrast));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.photo {
  width: 280px;
  height: 280px;
  background: url('../img/avatar_yasmin_2.webp') center/contain no-repeat;
  margin: 28px auto 36px;
}

p.subtitle {
  display: block;
  width: 100%;
  color: #4a3326;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 32px;
  padding: 18px 22px;
  text-align: justify;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(6px);
}

p.subtitle b {
  font-weight: 500;
  color: #3c2a1e;
}

.btn-container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  gap: 16px;
}

.btn-block {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 16px;
  padding: 0 0 20px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-group .btn {
  display: block;
  width: 100%;
  border: none;
  border-radius: 16px 16px 0 0;
  background: var(--primary);
  color: var(--light);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 0;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
}

.btn-group .btn:hover {
  background: var(--secondary);
  box-shadow: 0 6px 18px rgba(141, 107, 80, 0.25);
}

.btn-desc {
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(74, 51, 38, 0.8);
  font-weight: 400;
  text-align: center;
  margin-top: 16px;
  padding: 0 16px;
  font-style: italic;
  transition: color 0.3s ease;
}

.btn-block:hover .btn-desc {
  color: rgba(74, 51, 38, 0.95);
}

.about {
  color: #5c4635;
  margin-top: 22px;
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: center;
  padding-inline: 10px;
}

.share {
  margin-top: 34px;
  display: flex;
  justify-content: center;
}

.share button {
  border: none;
  border-radius: 12px;
  background: linear-gradient(120deg, var(--secondary), var(--primary));
  color: #fff;
  font-weight: 600;
  padding: 12px 22px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(159, 97, 88, 0.25);
  transition: all 0.3s ease;
}

.share button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(159, 97, 88, 0.35);
}

.social-bottom {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.social-bottom a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(159, 97, 88, 0.15);
  backdrop-filter: blur(8px);
  box-shadow: 0 3px 10px rgba(159, 97, 88, 0.15);
  transition: all 0.3s ease;
}

.social-bottom svg {
  width: 24px;
  height: 24px;
  fill: var(--secondary);
  transition: all 0.3s ease;
}

.social-bottom a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 6px 16px rgba(159, 97, 88, 0.25);
}

.social-bottom a:hover svg {
  fill: var(--primary);
  transform: scale(1.05);
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  font-size: clamp(0.7rem, 1.4vw, 0.9rem);
  color: rgba(74, 51, 38, 0.8);
  margin: 32px auto 0;
  white-space: nowrap;
  width: 100%;
  text-align: center;
}

footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--secondary);
}

@media (max-width: 782px) {
  body {
    padding: 0 16px;
  }
  .wrapper,
  .label,
  p.subtitle,
  .social-bottom a {
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  p.subtitle {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  }
}

@media (min-width: 600px) {
  .wrapper {
    max-width: 760px;
    padding: 28px 34px 32px;
  }
  h1.title {
    font-size: clamp(2.4rem, 3.5vw, 3rem);
  }
  .photo {
    width: 320px;
    height: 320px;
  }
  p.subtitle,
  .about {
    font-size: 1.05rem;
    max-width: 640px;
    margin-inline: auto;
  }
}

@media (min-width: 900px) {
  body {
    padding: 40px;
  }
  .wrapper {
    max-width: 1080px;
    padding: 38px 52px;
  }
  .photo {
    width: 380px;
    height: 380px;
  }
  h1.title {
    font-size: 3.2rem;
  }
  p.subtitle,
  .about {
    font-size: 1.1rem;
  }
}
