/* ===============================
   BASE
================================= */

body {
  font-family: 'Inter', sans-serif;
  background-color: #f5f7fa;
  color: #212529;
}

.container {
  max-width: 1100px;
}

/* ===============================
   PROFILE CARD
================================= */

.card {
  border: none;
  border-radius: 16px;
}

.card.shadow-sm {
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.profile-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
}

h1 {
  font-size: 1.6rem;
  font-weight: 600;
}

.stat-big {
  font-size: 1.4rem;
  font-weight: 700;
}

small {
  font-size: 0.85rem;
}


/* Optional: slight spacing improvement on mobile */
@media (max-width: 768px) {
  .stats-row > div {
    padding-bottom: 8px;
  }
}

/* ===============================
   SECTION TITLE
================================= */

.section-title {
  font-weight: 600;
  font-size: 1.5rem;
}

/* ===============================
   PLATFORM CARDS
================================= */

.platform-card {
  border-radius: 14px;
  transition: all 0.25s ease;
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.platform-card h5 {
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.platform-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* ===============================
   PLATFORM TEXT
================================= */

.view-text {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 4px;
}

/* ===============================
   PLATFORM ICON COLORS
================================= */

.platform-icon {
  margin-right: 6px;
  font-size: 1.1rem;
}

.fb { color: #1877F2; }
.tt { color: #000000; }
.ig { color: #E1306C; }
.yt { color: #FF0000; }

/* ===============================
   GROWTH INDICATORS
================================= */

.growth-up {
  color: #198754;
  font-weight: 600;
  font-size: 0.8rem;
  margin-left: 6px;
}

.growth-down {
  color: #dc3545;
  font-weight: 600;
  font-size: 0.8rem;
  margin-left: 6px;
}

/* ===============================
   CONTACT CARD
================================= */

.card p {
  margin-bottom: 6px;
}

/* ===============================
   MOBILE OPTIMIZATION
================================= */

@media (max-width: 768px) {

  .profile-img {
    width: 95px;
    height: 95px;
  }

  h1 {
    font-size: 1.4rem;
  }

  .stat-big {
    font-size: 1.2rem;
  }

  .platform-card h3 {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

}

#genderChart {
  max-height: 280px;
}

.brand-logo {
  max-height: 60px;
  object-fit: contain;
  padding: 8px;
}
/* Vertical Reel Style */
.content-vertical {
  max-height: 500px;
  object-fit: cover;
  border-radius: 16px;
}

/* Horizontal Professional Photo */
.content-horizontal {
  max-height: 450px;
  object-fit: cover;
  border-radius: 16px;
}

.content-vertical,
.content-horizontal {
  transition: transform 0.3s ease;
}

.content-vertical:hover,
.content-horizontal:hover {
  transform: scale(1.03);
}

footer {
  background-color: #f8f5f2;
}

.stats-updated {
  font-size: 0.7rem;
  color: #6c757d;
  opacity: 0.7;
  margin-top: 0.4rem;
}

.media-nav {
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.media-nav {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.media-nav a {
  text-decoration: none;
  color: #555;
  font-weight: 500;
}

.media-nav a:hover {
  color: #000;
}

.menu-toggle {
  font-size: 0.8rem;
  border: 1px solid #e5e5e5;
  border-radius: 50px;
  padding: 4px 14px;
}

.platform-link {
  display: block;
  font-size: 0.75rem;
  color: #6c757d;  /* muted gray */
  text-decoration: none;
  margin-top: 6px;
  transition: color 0.2s ease;
}

.platform-link:hover {
  color: #000;
}

.country-main {
  padding: 10px 0;
}

.country-name {
  font-size: 1.1rem;
  font-weight: 600;
}

.country-percent {
  font-size: 0.85rem;
  color: #6c757d;
}

.line-qr {
  width: 110px;       /* fixed clean size */
  height: auto;
  transition: transform 0.2s ease;
}

.line-qr:hover {
  transform: scale(1.05);
}
a.email-link,
a.email-link:visited,
a.email-link:focus {
  color: #000000;
  text-decoration: none;
}

a.email-link:hover,
a.email-link:active {
  color: #000000;
  text-decoration: underline;
}