/* ==========================================================================
   Bio Link Hub Dinâmico — Styling System
   Estética Glassmorphism Dark Mode com Animações Vibrantes
   ========================================================================== */

:root {
  --bg-primary: #0a0c14;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-hover: rgba(255, 255, 255, 0.09);
  --border-color: rgba(255, 255, 255, 0.12);
  --border-highlight: rgba(0, 242, 254, 0.4);
  
  --text-primary: #ffffff;
  --text-secondary: #a0aec0;
  --text-muted: #718096;
  
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-pink: #ff0844;
  --accent-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --cta-gradient: linear-gradient(135deg, #ff0844 0%, #ff4e50 100%);
  
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  
  --font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --shadow-glow: 0 10px 30px -10px rgba(0, 242, 254, 0.3);
  --shadow-card: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Reset & Global */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px 16px 40px;
  position: relative;
  overflow-x: hidden;
}

/* Background Blurs */
.bg-blur {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
}

.bg-blur-1 {
  width: 300px;
  height: 300px;
  background: #00f2fe;
  top: -50px;
  left: -100px;
}

.bg-blur-2 {
  width: 350px;
  height: 350px;
  background: #ff0844;
  bottom: -100px;
  right: -100px;
}

/* App Container */
.app-container {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1;
}

/* Profile Header */
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0;
}

.avatar-wrapper {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 12px;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

.online-indicator {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  background-color: #00e676;
  border: 3px solid var(--bg-primary);
  border-radius: 50%;
}

.profile-meta .profile-name {
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 6px;
}

.verified-icon {
  width: 20px;
  height: 20px;
}

.profile-bio {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.45;
  max-width: 380px;
}

/* Featured Card (Hero Offer) */
.featured-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.featured-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-cyan);
}

.featured-badge-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.badge-pulse {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  background: rgba(255, 8, 68, 0.2);
  border: 1px solid rgba(255, 8, 68, 0.4);
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.live-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #00e676;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 230, 118, 0.12);
  padding: 3px 8px;
  border-radius: 12px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: #00e676;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 230, 118, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

.featured-media {
  position: relative;
  width: 100%;
  height: 210px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 14px;
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discount-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--cta-gradient);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(255, 8, 68, 0.4);
}

.featured-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}

.featured-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 14px;
}

.price-container {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}

.price-old {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-new {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.timer-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px dashed rgba(0, 242, 254, 0.3);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.timer-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.countdown {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ff4e50;
  font-family: monospace;
}

/* CTA Button */
.cta-button {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background: var(--cta-gradient);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.98rem;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(255, 8, 68, 0.4);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 8, 68, 0.6);
}

/* Shimmer Animation */
.shimmer-button::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  transform: rotate(30deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(30deg); }
  100% { transform: translateX(100%) rotate(30deg); }
}

/* Secondary Links Section */
.secondary-links-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.link-icon {
  font-size: 1.5rem;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  flex-shrink: 0;
}

.link-content {
  flex-grow: 1;
}

.link-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.link-subtitle {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.link-arrow {
  font-size: 1rem;
  color: var(--text-muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

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

/* Social Footer */
.social-footer {
  text-align: center;
  padding-top: 10px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 14px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.social-btn:hover {
  background: var(--accent-cyan);
  color: #000;
  transform: translateY(-3px);
}

.copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
}
