/* Estilo Linktree - Programa Estevez Life */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  color: #333;
}

.linktree-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Profile Section */
.profile-section {
  text-align: center;
  margin-bottom: 40px;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: white;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-title {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.back-button {
  margin-bottom: 20px;
}

.back-button a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.back-button a:hover {
  color: white;
}

/* Links Container */
.links-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

/* Link Cards */
.link-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  text-decoration: none;
  color: #333;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border-color: #667eea;
}

.link-card.primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

.link-card.next-step {
  background: linear-gradient(135deg, #11998e, #38ef7d);
  color: white;
}

.link-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.step-number {
  background: #667eea;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.link-text h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.link-text p {
  font-size: 14px;
  opacity: 0.7;
}

/* Instruction Cards */
.instruction-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.step-badge {
  display: inline-block;
  background: #fbbf24;
  color: #92400e;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 16px;
}

.instruction-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #1e293b;
}

/* Buttons */
.link-button {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 14px;
  margin: 4px;
}

.link-button.primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

.link-button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.link-button.app-btn {
  background: #1e293b;
  color: white;
  min-width: 140px;
}

.link-button.app-btn:hover {
  background: #334155;
}

.link-button.copy-btn {
  background: #059669;
  color: white;
  width: 100%;
  margin-top: 16px;
}

.link-button.copy-btn:hover {
  background: #047857;
}

/* App Links */
.app-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.app-links-section {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.section-title {
  font-weight: 600;
  margin-bottom: 12px;
  color: #64748b;
}

/* Video */
.video-container {
  margin-top: 16px;
}

.video-container video {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
}

/* Message Card */
.message-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.message-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1e293b;
}

.copy-hint {
  color: #64748b;
  font-size: 14px;
  font-style: italic;
  margin-bottom: 16px;
}

.message-template {
  background: #f8fafc;
  border: 2px dashed #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
  text-align: left;
}

.message-template p {
  line-height: 1.6;
  color: #475569;
}

/* Motivation Card */
.motivation-card {
  background: linear-gradient(135deg, #11998e, #38ef7d);
  color: white;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(17, 153, 142, 0.3);
}

.checkmark {
  font-size: 32px;
  margin-bottom: 12px;
}

.motivation-card p {
  font-size: 16px;
  line-height: 1.6;
}

/* Footer */
.footer-linktree {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .linktree-container {
    padding: 20px 16px;
  }

  .profile-title {
    font-size: 20px;
  }

  .profile-subtitle {
    font-size: 14px;
  }

  .link-card {
    padding: 16px;
  }

  .link-text h3 {
    font-size: 16px;
  }

  .app-links {
    flex-direction: column;
  }

  .link-button.app-btn {
    width: 100%;
  }
}

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

.link-card,
.instruction-card,
.message-card,
.motivation-card {
  animation: fadeInUp 0.6s ease forwards;
}

.link-card:nth-child(1) {
  animation-delay: 0.1s;
}
.link-card:nth-child(2) {
  animation-delay: 0.2s;
}
.link-card:nth-child(3) {
  animation-delay: 0.3s;
}
.link-card:nth-child(4) {
  animation-delay: 0.4s;
}
