/* ==========================================================================
   LIFIPESTORE — MODA MASCULINA (LINK-IN-BIO PREMIUM)
   Design System: Deep Black & Strong Refined Gold
   Zero cara de IA | Mobile-First Rigoroso | Acabamento Editorial
   ========================================================================== */

:root {
  /* Color Tokens */
  --bg-main: #070708;
  --bg-surface: #0e0e11;
  --bg-surface-elevated: #141419;
  --bg-card: rgba(18, 18, 23, 0.75);
  --bg-card-hover: rgba(26, 26, 33, 0.9);
  
  /* Gold & Metallic Tokens */
  --gold-primary: #d4af37;
  --gold-vibrant: #e5b83b;
  --gold-dark: #997819;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f3e5ab 50%, #b8860b 100%);
  --gold-gradient-btn: linear-gradient(135deg, #e5b83b 0%, #d4af37 60%, #b8860b 100%);
  --gold-glow: rgba(212, 175, 55, 0.28);
  --gold-border: rgba(212, 175, 55, 0.35);
  --gold-border-subtle: rgba(212, 175, 55, 0.15);

  /* Monochromes */
  --text-primary: #ffffff;
  --text-secondary: #c5c5cf;
  --text-muted: #7e7e8d;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.12);

  /* Typography */
  --font-display: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Sizing & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-normal: 0.35s var(--ease-out);
}

/* Reset & Base Setup */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden !important;
  background-color: var(--bg-main);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Global Background Continuous Atmosphere */
.global-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb-top {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: min(650px, 120vw);
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.14) 0%, rgba(184, 134, 11, 0.05) 50%, transparent 75%);
  filter: blur(80px);
}

.glow-orb-bottom {
  position: absolute;
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: min(500px, 100vw);
  height: 450px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  filter: blur(90px);
}

.subtle-grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: radial-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 0);
  background-size: 24px 24px;
}

/* Page Layout Container */
.page-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 36px 20px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header & Location Badge */
.header-top {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  width: 100%;
}

.location-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 20, 26, 0.85);
  border: 1px solid var(--gold-border-subtle);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-primary);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.location-dot {
  width: 6px;
  height: 6px;
  background-color: var(--gold-vibrant);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-vibrant);
  animation: pulse-dot 2.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Hero Section */
.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 32px;
  width: 100%;
}

.logo-frame-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.logo-halo {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(16px);
  z-index: 0;
}

.logo-frame {
  position: relative;
  z-index: 1;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.8) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(184, 134, 11, 0.6) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background-color: #000;
  display: block;
}

.brand-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.1;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
}

.brand-category {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-vibrant);
  margin-bottom: 12px;
}

.brand-tagline {
  font-size: 0.94rem;
  color: var(--text-secondary);
  max-width: 380px;
  line-height: 1.45;
  font-weight: 400;
  margin-bottom: 16px;
}

/* Feature Badges Grid */
.features-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.feature-tag svg {
  color: var(--gold-primary);
  flex-shrink: 0;
}

/* Links & CTAs Container */
.links-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

/* Primary Hero Button (COMPRAR NO SITE OFICIAL) */
.link-card-primary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 72px;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  background: var(--gold-gradient-btn);
  color: #070708;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 10px 25px var(--gold-glow), 0 4px 10px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.link-card-primary:hover,
.link-card-primary:focus-visible {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 16px 35px rgba(212, 175, 55, 0.45);
}

.link-card-primary:active {
  transform: translateY(0) scale(0.99);
}

/* Shiny Sweep Glow Effect */
.shiny-sweep {
  position: absolute;
  top: -50%;
  left: -120%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.link-card-primary:hover .shiny-sweep,
.link-card-primary:focus-visible .shiny-sweep,
.link-card-primary.touched .shiny-sweep {
  opacity: 1;
  animation: sweep-glide 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes sweep-glide {
  0% { left: -120%; }
  100% { left: 180%; }
}

/* Content layout inside cards */
.card-content-left {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 1;
}

.card-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon-box-primary {
  background: rgba(0, 0, 0, 0.15);
  color: #070708;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.card-texts {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.card-badge-mini {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #070708;
  opacity: 0.85;
  margin-bottom: 2px;
}

.card-title-primary {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #070708;
  line-height: 1.2;
}

.card-subtitle-primary {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(7, 7, 8, 0.8);
  margin-top: 2px;
}

.card-action-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  transition: transform var(--transition-fast);
}

.action-icon-primary {
  background: #070708;
  color: var(--gold-vibrant);
}

.link-card-primary:hover .action-icon-primary {
  transform: translate(2px, -2px);
}

/* Secondary & Standard Cards */
.link-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 68px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  color: var(--text-primary);
  text-decoration: none;
  border: 1px solid var(--border-card);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-normal), border-color var(--transition-normal), background-color var(--transition-normal), box-shadow var(--transition-normal);
  overflow: hidden;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
  background: var(--bg-card-hover);
  border-color: var(--gold-border);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(212, 175, 55, 0.12);
}

.link-card:active {
  transform: translateY(0);
}

/* Card Gold Highlight Variant (Grupo VIP) */
.link-card-gold-accent {
  border-color: rgba(212, 175, 55, 0.25);
  background: linear-gradient(135deg, rgba(21, 20, 26, 0.95) 0%, rgba(32, 29, 23, 0.9) 100%);
}

.link-card-gold-accent:hover {
  border-color: var(--gold-primary);
}

.card-icon-box-dark {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.card-icon-box-gold {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-vibrant);
}

.card-title {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  line-height: 1.25;
}

.card-subtitle {
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.card-badge-gold {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-vibrant);
  margin-bottom: 2px;
}

.action-icon-dark {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.link-card:hover .action-icon-dark {
  color: var(--gold-vibrant);
  border-color: var(--gold-border);
  transform: translate(2px, -2px);
}

/* Subtle Shimmer for Secondary Highlight Card */
.shiny-sweep-subtle {
  position: absolute;
  top: -50%;
  left: -120%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(212, 175, 55, 0.18) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  opacity: 0;
}

.link-card-gold-accent:hover .shiny-sweep-subtle,
.link-card-gold-accent.touched .shiny-sweep-subtle {
  opacity: 1;
  animation: sweep-glide 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Campaign / Editorial Banner Strip */
.brand-editorial-strip {
  width: 100%;
  margin-top: 8px;
  margin-bottom: 32px;
  background: rgba(18, 18, 22, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.editorial-crown-icon {
  color: var(--gold-vibrant);
  opacity: 0.9;
}

.editorial-tagline {
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  font-weight: 600;
}

.editorial-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 360px;
  line-height: 1.4;
}

/* Footer Section */
.footer-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.footer-copy {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.footer-security {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: var(--gold-dark);
  margin-top: 4px;
}

/* Accessibility Focus States */
a:focus-visible {
  outline: 2px solid var(--gold-vibrant);
  outline-offset: 3px;
}

/* Reduced Motion Respect */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Mobile Screens Optimization */
@media (max-width: 380px) {
  .page-wrapper {
    padding: 24px 14px 40px;
  }

  .logo-frame {
    width: 96px;
    height: 96px;
  }

  .brand-title {
    font-size: 1.65rem;
    letter-spacing: 0.12em;
  }

  .link-card-primary {
    padding: 14px 16px;
    min-height: 68px;
  }

  .card-icon-box {
    width: 38px;
    height: 38px;
  }

  .card-title-primary {
    font-size: 0.9rem;
  }

  .link-card {
    padding: 12px 14px;
    min-height: 64px;
  }
}
