:root {
  --cream: #FBF4EE;
  --rose: #C4877A;
  --rose-light: #EAB8B0;
  --gold: #C9A55A;
  --gold-pale: rgba(201, 165, 90, 0.18);
  --mauve: #7D4F5C;
  --text-dark: #2C1410;
  --text-mid: #8A6660;
  --text-light: #B89490;
  --card-bg: rgba(255, 251, 247, 0.82);
  --card-border: rgba(196, 135, 122, 0.18);
}

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

body {
  background: var(--cream);
  min-height: 100vh;
  font-family: 'DM Sans', sans-serif;
  display: flex;
  justify-content: center;
  padding: 48px 20px 72px;
  overflow-x: hidden;
}

/* ─── Background Orbs ─── */
.orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.orb--1 {
  width: 380px;
  height: 380px;
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(234, 184, 176, 0.45) 0%, transparent 70%);
  animation: floatA 16s ease-in-out infinite;
}

.orb--2 {
  width: 300px;
  height: 300px;
  bottom: 5%;
  left: -100px;
  background: radial-gradient(circle, rgba(201, 165, 90, 0.22) 0%, transparent 70%);
  animation: floatB 20s ease-in-out infinite;
}

.orb--3 {
  width: 220px;
  height: 220px;
  top: 45%;
  right: -60px;
  background: radial-gradient(circle, rgba(196, 135, 122, 0.2) 0%, transparent 70%);
  animation: floatC 12s ease-in-out infinite;
}

@keyframes floatA {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-24px, 32px); }
}
@keyframes floatB {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(28px, -22px); }
}
@keyframes floatC {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-16px, 24px); }
}

/* ─── Noise Overlay ─── */
.noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

/* ─── Container ─── */
.container {
  max-width: 460px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* ─── Profile ─── */
.profile {
  text-align: center;
  margin-bottom: 40px;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.profile-frame {
  width: 114px;
  height: 114px;
  border-radius: 50%;
  padding: 2.5px;
  background: conic-gradient(
    from 0deg,
    #C9A55A 0%,
    #EAB8B0 30%,
    #C4877A 55%,
    #7D4F5C 75%,
    #C9A55A 100%
  );
  margin: 0 auto 20px;
  animation: rotateBorder 8s linear infinite;
  box-shadow: 0 8px 40px rgba(196, 135, 122, 0.28);
}

@keyframes rotateBorder {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.profile-img-wrap {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream);
  animation: rotateBorder 8s linear infinite reverse;
}

.profile-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gold);
}

.ornament span {
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.ornament span:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ─── Links ─── */
.links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link {
  position: relative;
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.35s ease;
  box-shadow: 0 2px 16px rgba(196, 135, 122, 0.08);

  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.link:nth-child(1) { animation-delay: 0.12s; }
.link:nth-child(2) { animation-delay: 0.22s; }
.link:nth-child(3) { animation-delay: 0.32s; }
.link:nth-child(4) { animation-delay: 0.42s; }
.link:nth-child(5) { animation-delay: 0.52s; }

.link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(196, 135, 122, 0.22);
  border-color: rgba(201, 165, 90, 0.4);
}

/* Shimmer sweep on hover */
.link-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 248, 235, 0.55) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0s;
  pointer-events: none;
}

.link:hover .link-shine {
  transform: translateX(100%);
  transition: transform 0.55s ease;
}

/* Gold left accent line */
.link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 2px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, var(--gold), var(--rose));
  opacity: 0;
  transform: scaleY(0.4);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.link:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.link-img {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(44, 20, 16, 0.1);
}

.link-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.link:hover .link-img img {
  transform: scale(1.06);
}

.link-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.link-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.link-cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--rose);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid var(--rose-light);
  padding-bottom: 1px;
  align-self: flex-start;
  transition: gap 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.link-cta i {
  font-size: 0.68rem;
  transition: transform 0.3s ease;
}

.link:hover .link-cta {
  gap: 8px;
  color: var(--mauve);
  border-color: var(--mauve);
}

.link:hover .link-cta i {
  transform: translateX(3px);
}

/* ─── Social Icons ─── */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both;
}

.social-icons a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              color 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-3px) scale(1.08);
  color: var(--rose);
  border-color: var(--rose-light);
  box-shadow: 0 6px 20px rgba(196, 135, 122, 0.2);
}

/* ─── Entrance Animation ─── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Tutorial ─── */

/* Seta fixa no canto superior direito apontando para os ⋯ do TikTok */
.tut-pointer {
  position: fixed;
  top: 10px;
  right: 14px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  animation: bouncePointer 1.3s ease-in-out infinite;
}

.tut-pointer-icon {
  font-size: 1.3rem;
  color: var(--rose);
  filter: drop-shadow(0 2px 8px rgba(196, 135, 122, 0.55));
}

.tut-pointer-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--rose);
  letter-spacing: 0.05em;
  line-height: 1;
  filter: drop-shadow(0 1px 4px rgba(196, 135, 122, 0.4));
}

@keyframes bouncePointer {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

/* Card do tutorial */
.tut-card {
  position: relative;
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 28px 24px 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 24px rgba(196, 135, 122, 0.10);
  overflow: hidden;
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

/* Linha decorativa dourada no topo do card */
.tut-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--rose-light), transparent);
}

.tut-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text-dark);
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.tut-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.tut-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tut-step {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(251, 244, 238, 0.6);
  border: 1px solid rgba(196, 135, 122, 0.12);
  border-radius: 12px;
  padding: 12px 16px;
}

.tut-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--mauve));
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(196, 135, 122, 0.3);
}

.tut-step p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.45;
}

.tut-step p strong {
  color: var(--text-dark);
  font-weight: 500;
}

.tut-browser-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.83rem;
  color: var(--text-light);
  text-decoration: none;
  margin-bottom: 8px;
  padding: 10px;
  border-radius: 10px;
  transition: color 0.3s ease, background 0.3s ease;
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.tut-browser-link i {
  font-size: 0.72rem;
  transition: transform 0.3s ease;
}

.tut-browser-link:hover {
  color: var(--rose);
  background: rgba(196, 135, 122, 0.06);
}

.tut-browser-link:hover i {
  transform: translateX(4px);
}

/* ─── Mobile Refinements ─── */
@media (max-width: 400px) {
  body {
    padding: 36px 16px 60px;
  }

  .profile-frame {
    width: 100px;
    height: 100px;
  }

  .profile h1 {
    font-size: 1.75rem;
  }

  .link-img {
    width: 66px;
    height: 66px;
  }

  .link-name {
    font-size: 0.82rem;
  }
}
