/* Modern Visual Identity Tokens */
:root {
  --blue: #0e3a46;
  --blue-soft: #2e5e87;
  --gold: #d4a028;
  --gold-dark: #b77f13;
  --cream: #fbf6ef; /* Light cream base background color */
  --cream-dark: #f0ede3;
  --sand: #e9dfc7;
  --clay: #c65a3a;
  --ink: #17313a;
  --muted: #5e6869;
  --white: #ffffff;
  
  --shadow-sm: 0 4px 12px rgba(14, 58, 70, 0.06);
  --shadow-md: 0 10px 25px rgba(14, 58, 70, 0.08);
  --shadow-lg: 0 16px 36px rgba(14, 58, 70, 0.12);
  
  --radius: 16px;
  --font-title: "Playfair Display", Georgia, serif;
  --font-body: "Lato", Arial, sans-serif;
  --font-script: "Dancing Script", cursive;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  display: block;
  overflow-x: hidden;
}

/* Header Banner - Full Width Dark Background matching Logo02 */
.header-banner {
  width: 100%;
  background-color: #0e3a47; /* Matches Logo02.png background exactly */
  padding: 28px 16px 15px; /* Reduced top padding (from 48px to 28px) for mobile */
  display: flex;
  justify-content: center;
  border-bottom: 3px solid var(--gold); /* Gold divider line */
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

/* Subtle background glow effect inside the banner */
.header-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle at 50% 30%, rgba(212, 160, 40, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.header-content {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
}

/* Logo Wrapper & Sizing */
.logo-wrapper {
  margin-bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.header-logo {
  height: 38px; /* Sized very small, matching the text proportion! */
  width: auto;
  display: block;
}

/* Avatar Styling */
.avatar-container {
  position: relative;
  width: 90px; /* Slightly reduced image size from 96px to 90px to save space */
  height: 90px;
  margin-bottom: 12px; /* Reduced margin from 16px to 12px */
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.profile-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: calc(50% - 10px) calc(20% - 5px);
  border-radius: 50%;
  transform: scale(1.35);
}

.avatar-badge {
  position: absolute;
  bottom: 0px;
  right: 0px;
  background-color: var(--gold);
  color: var(--white);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0e3a47; /* Matches deep blue header bg */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.profile-bio {
  font-size: 0.92rem; /* Slightly smaller text size for mobile */
  color: var(--ink); /* Dark slate/ink for cream background */
  line-height: 1.5;
  max-width: 38ch;
  margin-top: 4px; /* Reduced space below the gold line to 4px */
  margin-bottom: 16px; /* Reduced space above social-icons from 20px to 16px */
  font-weight: 500;
}

/* Social Icon Bar in Cream Background */
.social-icons {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px; /* Reduced spacing below social-icons to 12px */
}

.social-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--white);
  border: 1px solid rgba(14, 58, 70, 0.15); /* Slate border */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue); /* Dark icon color */
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.social-icon:hover {
  transform: translateY(-2px);
  background-color: var(--white);
  border-color: rgba(14, 58, 70, 0.25);
  box-shadow: var(--shadow-md);
}

/* Bottom Container (Cream Background) */
.hub-container {
  width: 100%;
  max-width: 480px;
  margin: 4px auto 0; /* Reduced top margin to 4px (total 20px reduction) */
  padding: 0 16px 36px; /* Reduced bottom padding from 48px to 36px */
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Background Ornament Patterns under the header (Creme area) */
.bg-pattern-top {
  position: absolute;
  top: 250px; /* Offset below the header banner */
  left: 0;
  width: 100%;
  height: 220px;
  background: radial-gradient(circle at 50% 0%, rgba(46, 94, 135, 0.04) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.bg-pattern-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 250px;
  background: radial-gradient(circle at 50% 120%, rgba(212, 160, 40, 0.06) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

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

/* Link Button Base (White Cards) */
.link-btn {
  width: 100%;
  background-color: var(--white);
  border: 1px solid rgba(14, 58, 70, 0.08);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.link-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--blue-soft);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.link-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(14, 58, 70, 0.15);
}

.link-btn:hover::before {
  opacity: 1;
}

.link-btn:active {
  transform: translateY(-1px);
}

/* Link Elements */
.btn-icon {
  width: 42px;
  height: 42px;
  background-color: rgba(14, 58, 70, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  margin-right: 16px;
  transition: all 0.25s ease;
}

.link-btn:hover .btn-icon {
  background-color: rgba(14, 58, 70, 0.08);
  transform: scale(1.05);
}

.btn-icon-img {
  background-color: transparent;
  overflow: hidden;
}

.btn-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.link-btn:hover .btn-icon-img {
  background-color: transparent;
}

.btn-text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.35;
}

.btn-text strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 2px;
}

.btn-text span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.btn-arrow {
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.link-btn:hover .btn-arrow {
  color: var(--blue);
  transform: translateX(3px);
}

/* Highlighted Button (WhatsApp - Blue on Creme) */
.btn-highlight {
  background-color: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.btn-highlight::before {
  background-color: var(--gold);
}

.btn-highlight .btn-icon {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn-highlight .btn-text strong {
  color: var(--white);
}

.btn-highlight .btn-text span {
  color: rgba(255, 255, 255, 0.75);
}

.btn-highlight .btn-arrow {
  color: rgba(255, 255, 255, 0.6);
}

.btn-highlight:hover {
  background-color: #0b2d37;
  border-color: #0b2d37;
}

.btn-highlight:hover .btn-arrow {
  color: var(--white);
}

/* Pulse Animation for Highlight Button */
@keyframes pulse-shadow {
  0% {
    box-shadow: 0 0 0 0 rgba(14, 58, 70, 0.35);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(14, 58, 70, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(14, 58, 70, 0);
  }
}

.pulsate {
  animation: pulse-shadow 2.2s infinite;
}

/* Featured Card (Lançamento) */
.featured-card {
  width: 100%;
  background-color: var(--white);
  border: 1px solid rgba(14, 58, 70, 0.08);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  overflow: hidden;
}

.featured-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--clay));
}

.featured-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(14, 58, 70, 0.12);
}

.card-tag {
  position: absolute;
  top: 12px;
  right: 16px;
  background-color: rgba(198, 90, 58, 0.08);
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border-radius: 4px;
}

.card-layout {
  display: flex;
  gap: 16px;
  align-items: center;
}

.card-cover {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.card-details {
  flex-grow: 1;
  text-align: left;
}

.card-details h3 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: var(--blue);
  margin-bottom: 4px;
  font-weight: 700;
}

.card-details p {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.4;
  font-weight: 500;
}

.card-platforms {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.platform-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  background-color: var(--cream-dark);
  border-radius: 6px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.platform-link:hover {
  background-color: var(--blue);
  color: var(--white);
}

/* Hub Footer */
.hub-footer {
  text-align: center;
  margin-top: 16px;
  padding: 16px 0;
  width: 100%;
}

.footer-logo {
  max-width: 140px;
  height: auto;
  opacity: 0.85;
  margin-bottom: 10px;
}

.hub-footer p {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

/* Adjustments for narrow mobile viewports */
@media (max-width: 400px) {
  .link-btn {
    padding: 14px 16px;
  }
  
  .btn-icon {
    margin-right: 12px;
  }
  
  .card-layout {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .card-cover {
    width: 72px;
    height: 72px;
  }
}
