/* ============================================================
   MYSPACE — Facebook-style Social + Affiliate Site
   Happy Mood Color Palette
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Poppins:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --primary:    #FF6B6B;   /* Coral Red */
  --secondary:  #FFD93D;   /* Sunny Yellow */
  --accent:     #6BCB77;   /* Fresh Green */
  --blue:       #4D96FF;   /* Sky Blue */
  --purple:     #C77DFF;   /* Lavender Purple */
  --orange:     #FF9A3C;   /* Warm Orange */
  --bg:         #FFF8F0;   /* Warm White */
  --card:       #FFFFFF;
  --sidebar-bg: #FFF3E0;
  --nav-bg:     #FF6B6B;
  --text:       #2D2D2D;
  --text-light: #777777;
  --border:     #FFE0CC;
  --shadow:     0 4px 20px rgba(255,107,107,0.12);
  --radius:     16px;
  --radius-sm:  10px;
  --font-main:  'Nunito', sans-serif;
  --font-body:  'Poppins', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; outline: none; font-family: var(--font-body); }
input, textarea { font-family: var(--font-body); outline: none; border: none; }

/* ============================================================
   TOP NAVIGATION BAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #FF6B6B 0%, #FF9A3C 50%, #FFD93D 100%);
  box-shadow: 0 3px 15px rgba(255,107,107,0.35);
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 16px;
}
.navbar-brand {
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.navbar-brand span { color: var(--secondary); }
.navbar-search {
  flex: 1;
  max-width: 380px;
  background: rgba(255,255,255,0.25);
  border-radius: 30px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
  height: 38px;
}
.navbar-search input {
  background: transparent;
  color: #fff;
  font-size: 0.9rem;
  width: 100%;
}
.navbar-search input::placeholder { color: rgba(255,255,255,0.75); }
.navbar-search svg { color: rgba(255,255,255,0.8); flex-shrink: 0; }
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  transition: background 0.2s;
  position: relative;
}
.nav-icon-btn:hover { background: rgba(255,255,255,0.38); }
.nav-badge {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--secondary);
  color: var(--text);
  font-size: 0.6rem;
  font-weight: 800;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.nav-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  overflow: hidden;
  cursor: pointer;
}
.nav-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   MAIN LAYOUT — 3-COLUMN FACEBOOK STYLE
   ============================================================ */
.main-layout {
  display: grid;
  grid-template-columns: 260px 1fr 300px;
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 16px;
  align-items: start;
}

/* ============================================================
   LEFT SIDEBAR
   ============================================================ */
.sidebar-left {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Profile Card */
.profile-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}
.profile-cover {
  height: 80px;
  background: linear-gradient(135deg, #FF6B6B, #FFD93D, #6BCB77);
  position: relative;
}
.profile-avatar-wrap {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
}
.profile-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: linear-gradient(135deg, #FF6B6B, #4D96FF);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  font-weight: 800;
  font-family: var(--font-main);
}
.profile-info {
  padding: 36px 16px 16px;
  text-align: center;
}
.profile-name {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
}
.profile-handle {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 2px;
}
.profile-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary);
}
.stat-label { font-size: 0.72rem; color: var(--text-light); }

/* Sidebar Menu */
.sidebar-menu {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 10px;
  border: 1px solid var(--border);
}
.sidebar-menu-title {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0 8px 8px;
}
.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  transition: all 0.2s;
  cursor: pointer;
}
.menu-item:hover, .menu-item.active {
  background: linear-gradient(90deg, rgba(255,107,107,0.12), rgba(255,217,61,0.08));
  color: var(--primary);
}
.menu-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.menu-icon.red    { background: rgba(255,107,107,0.15); color: var(--primary); }
.menu-icon.yellow { background: rgba(255,217,61,0.2);  color: #e6a800; }
.menu-icon.green  { background: rgba(107,203,119,0.15); color: var(--accent); }
.menu-icon.blue   { background: rgba(77,150,255,0.15);  color: var(--blue); }
.menu-icon.purple { background: rgba(199,125,255,0.15); color: var(--purple); }
.menu-icon.orange { background: rgba(255,154,60,0.15);  color: var(--orange); }

/* Social Links Widget */
.social-widget {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  border: 1px solid var(--border);
}
.widget-title {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--text);
}
.social-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.social-link-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}
.social-link-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.15); }
.social-link-btn.facebook  { background: #1877F2; }
.social-link-btn.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link-btn.youtube   { background: #FF0000; }
.social-link-btn.tiktok    { background: #010101; }
.social-link-btn.twitter   { background: #1DA1F2; }
.social-link-btn.spotify   { background: #1DB954; }

/* ============================================================
   CENTER FEED
   ============================================================ */
.feed {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Post Composer */
.post-composer {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  border: 1px solid var(--border);
}
.composer-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.composer-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B6B, #FFD93D);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.composer-input {
  flex: 1;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 30px;
  padding: 10px 18px;
  font-size: 0.9rem;
  color: var(--text-light);
  cursor: pointer;
  transition: border-color 0.2s;
}
.composer-input:focus { border-color: var(--primary); color: var(--text); }
.composer-actions {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.composer-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  background: transparent;
  transition: background 0.2s;
}
.composer-btn:hover { background: var(--bg); }
.composer-btn.video  { color: #FF0000; }
.composer-btn.photo  { color: var(--accent); }
.composer-btn.music  { color: var(--purple); }
.composer-btn.data   { color: var(--blue); }

/* Post Card */
.post-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.2s;
}
.post-card:hover { transform: translateY(-2px); }
.post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 10px;
}
.post-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border);
}
.post-avatar-emoji {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.post-meta { flex: 1; }
.post-author {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
}
.post-time {
  font-size: 0.75rem;
  color: var(--text-light);
}
.post-menu-btn {
  background: transparent;
  color: var(--text-light);
  font-size: 1.2rem;
  padding: 4px 8px;
  border-radius: 8px;
}
.post-menu-btn:hover { background: var(--bg); }
.post-text {
  padding: 0 16px 12px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text);
}
.post-text a { color: var(--blue); font-weight: 600; }

/* Post Media */
.post-media {
  width: 100%;
  aspect-ratio: 16/9;
  background: #f0f0f0;
  overflow: hidden;
  position: relative;
}
.post-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.post-media iframe {
  width: 100%; height: 100%;
  border: none;
}
.post-media-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 2.5rem;
  color: var(--text-light);
  background: linear-gradient(135deg, #FFF3E0, #FFE0CC);
}
.post-media-placeholder p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Reel Card */
.reel-embed {
  width: 100%;
  aspect-ratio: 9/16;
  max-height: 520px;
  background: #000;
  overflow: hidden;
  border-radius: 0;
  position: relative;
}
.reel-embed iframe {
  width: 100%; height: 100%;
  border: none;
}
.reel-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(160deg, #FF6B6B, #C77DFF);
  color: #fff;
  font-size: 3rem;
}
.reel-placeholder p {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.85;
}

/* Post Actions */
.post-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-top: 1px solid var(--border);
}
.action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--text-light);
  background: transparent;
  transition: all 0.2s;
}
.action-btn:hover { background: var(--bg); }
.action-btn.like:hover  { color: var(--primary); background: rgba(255,107,107,0.08); }
.action-btn.comment:hover { color: var(--blue); background: rgba(77,150,255,0.08); }
.action-btn.share:hover { color: var(--accent); background: rgba(107,203,119,0.08); }

/* Post Tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 12px;
}
.tag {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}

/* ============================================================
   AFFILIATE AD CARD
   ============================================================ */
.affiliate-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid var(--secondary);
  overflow: hidden;
  position: relative;
}
.affiliate-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--secondary);
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}
.affiliate-banner {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.affiliate-banner-placeholder {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, #FFD93D, #FF9A3C);
}
.affiliate-body {
  padding: 16px;
}
.affiliate-brand {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}
.affiliate-title {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}
.affiliate-desc {
  font-size: 0.83rem;
  color: var(--text-light);
  margin-bottom: 14px;
  line-height: 1.55;
}
.affiliate-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, var(--primary), var(--orange));
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: 30px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(255,107,107,0.35);
}
.affiliate-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,107,107,0.45);
}
.affiliate-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 14px;
  font-size: 0.78rem;
  color: var(--text-light);
}
.affiliate-rating { color: var(--secondary); font-weight: 700; }

/* ============================================================
   DATA / STATS POST
   ============================================================ */
.data-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}
.data-card-header {
  background: linear-gradient(90deg, #4D96FF, #C77DFF);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.data-card-header h3 {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1rem;
}
.data-card-header p {
  font-size: 0.78rem;
  opacity: 0.85;
}
.data-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.data-stat-box {
  background: var(--card);
  padding: 16px 12px;
  text-align: center;
}
.data-stat-num {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 1.4rem;
  background: linear-gradient(90deg, var(--primary), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.data-stat-label {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 600;
  margin-top: 2px;
}
.data-bar-section { padding: 16px; }
.data-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text);
}
.data-bar-track {
  height: 10px;
  background: var(--bg);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}
.data-bar-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 1s ease;
}
.bar-red    { background: linear-gradient(90deg, #FF6B6B, #FF9A3C); }
.bar-blue   { background: linear-gradient(90deg, #4D96FF, #C77DFF); }
.bar-green  { background: linear-gradient(90deg, #6BCB77, #4D96FF); }
.bar-yellow { background: linear-gradient(90deg, #FFD93D, #FF9A3C); }
.bar-purple { background: linear-gradient(90deg, #C77DFF, #4D96FF); }

/* ============================================================
   MUSIC POST
   ============================================================ */
.music-card {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(199,125,255,0.3);
  overflow: hidden;
  color: #fff;
}
.music-header {
  padding: 14px 16px 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.music-avatar-wrap {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.music-meta .post-author { color: #fff; }
.music-meta .post-time { color: rgba(255,255,255,0.55); }
.music-player {
  margin: 0 16px 16px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.music-cover {
  width: 64px; height: 64px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple), var(--primary));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.music-info { flex: 1; }
.music-title {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
}
.music-artist { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 2px; }
.music-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.music-btn {
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  padding: 4px;
  border-radius: 50%;
  transition: color 0.2s;
}
.music-btn:hover { color: #fff; }
.music-play-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(199,125,255,0.4);
  transition: transform 0.2s;
}
.music-play-btn:hover { transform: scale(1.1); }
.music-progress {
  margin: 0 16px 16px;
}
.music-progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  overflow: hidden;
}
.music-progress-fill {
  height: 100%;
  width: 38%;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  border-radius: 4px;
}
.music-time {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}
.music-embed {
  margin: 0 16px 16px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.music-embed iframe {
  width: 100%;
  border: none;
  border-radius: var(--radius-sm);
}

/* ============================================================
   RIGHT SIDEBAR
   ============================================================ */
.sidebar-right {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Trending / Affiliate Sidebar Ad */
.sidebar-ad {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}
.sidebar-ad-img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}
.sidebar-ad-img-placeholder {
  width: 100%;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.sidebar-ad-body { padding: 12px 14px 14px; }
.sidebar-ad-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sidebar-ad-title {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.9rem;
  margin: 4px 0 8px;
  color: var(--text);
  line-height: 1.3;
}
.sidebar-ad-btn {
  display: block;
  text-align: center;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 20px;
  transition: transform 0.2s;
}
.sidebar-ad-btn:hover { transform: translateY(-2px); }

/* People You May Know */
.people-widget {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  border: 1px solid var(--border);
}
.people-list { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.person-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.person-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.person-info { flex: 1; }
.person-name { font-weight: 700; font-size: 0.85rem; }
.person-mutual { font-size: 0.72rem; color: var(--text-light); }
.follow-btn {
  background: linear-gradient(90deg, var(--primary), var(--orange));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  transition: transform 0.2s;
}
.follow-btn:hover { transform: scale(1.05); }

/* Trending Topics */
.trending-widget {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  border: 1px solid var(--border);
}
.trending-list { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.trending-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
}
.trending-item:hover { background: var(--bg); }
.trending-rank {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--border);
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}
.trending-info { flex: 1; }
.trending-tag { font-weight: 700; font-size: 0.85rem; color: var(--primary); }
.trending-count { font-size: 0.72rem; color: var(--text-light); }

/* Affiliate Sidebar Compact */
.affiliate-compact {
  background: linear-gradient(135deg, #FFF3E0, #FFE0CC);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  border: 1px solid var(--secondary);
}
.affiliate-compact-title {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 10px;
}
.affiliate-compact-list { display: flex; flex-direction: column; gap: 8px; }
.affiliate-compact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: transform 0.2s;
}
.affiliate-compact-item:hover { transform: translateX(4px); }
.affiliate-compact-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.affiliate-compact-info { flex: 1; }
.affiliate-compact-name { font-weight: 700; font-size: 0.82rem; }
.affiliate-compact-deal { font-size: 0.72rem; color: var(--accent); font-weight: 600; }
.affiliate-compact-arrow { color: var(--primary); font-size: 0.9rem; }

/* ============================================================
   STORIES / HIGHLIGHTS ROW
   ============================================================ */
.stories-row {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 16px;
  overflow: hidden;
}
.stories-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.stories-scroll::-webkit-scrollbar { height: 4px; }
.stories-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
}
.story-ring {
  width: 64px; height: 64px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #FF6B6B, #FFD93D, #6BCB77);
}
.story-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border: 2px solid #fff;
  overflow: hidden;
}
.story-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  max-width: 64px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.story-add .story-ring {
  background: linear-gradient(135deg, #e0e0e0, #bdbdbd);
}
.story-add .story-inner {
  background: var(--bg);
  font-size: 1.4rem;
  color: var(--primary);
}

/* ============================================================
   SECTION HEADERS IN FEED
   ============================================================ */
.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}
.section-header-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.section-header h2 {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
}
.section-header .see-all {
  margin-left: auto;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
}
.section-header .see-all:hover { text-decoration: underline; }

/* ============================================================
   REELS GRID
   ============================================================ */
.reels-grid-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 16px;
}
.reels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.reel-thumb {
  aspect-ratio: 9/16;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: linear-gradient(160deg, #FF6B6B, #C77DFF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.reel-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
}
.reel-thumb-label {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  z-index: 2;
  line-height: 1.2;
}
.reel-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: linear-gradient(90deg, #FF6B6B, #FF9A3C, #FFD93D);
  color: #fff;
  text-align: center;
  padding: 24px 20px;
  margin-top: 40px;
  font-size: 0.85rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}
.footer-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.82rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-copy { opacity: 0.75; font-size: 0.78rem; }

/* ============================================================
   NOTIFICATION DROPDOWN
   ============================================================ */
.notif-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .main-layout { grid-template-columns: 220px 1fr 260px; }
}
@media (max-width: 900px) {
  .main-layout { grid-template-columns: 1fr; }
  .sidebar-left, .sidebar-right { position: static; }
  .sidebar-left { display: none; }
  .sidebar-right { display: none; }
}
@media (max-width: 600px) {
  .navbar-brand { font-size: 1.2rem; }
  .navbar-search { display: none; }
  .main-layout { padding: 12px 10px; }
  .reels-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   UTILITY
   ============================================================ */
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-8 { gap: 8px; }
.text-sm { font-size: 0.85rem; }
.font-bold { font-weight: 700; }
.text-muted { color: var(--text-light); }
.gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   MODAL SYSTEM
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 2000;
  backdrop-filter: blur(3px);
}
.modal-overlay.open { display: block; }
.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  z-index: 2100;
  width: 90%;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
  transition: transform 0.2s ease;
}
.modal.open {
  display: block;
  transform: translate(-50%, -50%) scale(1);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--card);
  z-index: 1;
}
.modal-title {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
}
.modal-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--text-light);
  transition: background 0.2s;
}
.modal-close:hover { background: var(--border); color: var(--text); }
.modal-body { padding: 20px; }

/* ============================================================
   SETTINGS PANEL (SLIDE-IN FROM RIGHT)
   ============================================================ */
.settings-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 3000;
}
.settings-overlay.open { display: block; }
.settings-panel {
  position: fixed;
  top: 0;
  right: -480px;
  width: 460px;
  max-width: 95vw;
  height: 100vh;
  background: var(--card);
  z-index: 3100;
  box-shadow: -8px 0 40px rgba(0,0,0,0.2);
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
}
.settings-panel.open { right: 0; }
.settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: linear-gradient(90deg, var(--primary), var(--orange));
  color: #fff;
  flex-shrink: 0;
}
.settings-header h2 {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 1.1rem;
}
.settings-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1rem;
  transition: background 0.2s;
}
.settings-close:hover { background: rgba(255,255,255,0.4); }
.settings-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
.settings-section {
  margin-bottom: 24px;
}
.settings-section-title {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-light);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--border);
}
.settings-field {
  margin-bottom: 12px;
}
.settings-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
}
.settings-field input {
  width: 100%;
  padding: 9px 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s;
}
.settings-field input:focus {
  border-color: var(--primary);
  background: #fff;
}
.settings-field input::placeholder { color: #bbb; }
.settings-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.settings-save {
  width: 100%;
  padding: 12px;
  background: linear-gradient(90deg, var(--primary), var(--orange));
  color: #fff;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1rem;
  border-radius: 30px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(255,107,107,0.35);
}
.settings-save:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,107,107,0.4); }
.settings-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  transition: background 0.2s;
}
.settings-btn:hover { background: rgba(255,255,255,0.38); }

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: linear-gradient(90deg, #2D2D2D, #444);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  z-index: 9999;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.35s;
  opacity: 0;
  white-space: nowrap;
  max-width: 90vw;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ============================================================
   COMMENT BOX
   ============================================================ */
.comment-box {
  display: none;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  border-radius: 0 0 var(--radius) var(--radius);
}
.comment-box.open { display: block; }
.comment-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.comment-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.comment-avatar-sm {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--orange));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.comment-bubble {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 7px 12px;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.4;
}
.comment-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.comment-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--orange));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.comment-input {
  flex: 1;
  padding: 8px 14px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text);
  transition: border-color 0.2s;
}
.comment-input:focus { border-color: var(--primary); }
.comment-submit {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--orange));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.comment-submit:hover { transform: scale(1.1); }

/* ============================================================
   POST COMPOSER — POST BUTTON
   ============================================================ */
.composer-post-btn {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  background: linear-gradient(90deg, var(--primary), var(--orange));
  color: #fff;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 30px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(255,107,107,0.3);
}
.composer-post-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,107,107,0.4); }

/* ============================================================
   NEW POST ANIMATION
   ============================================================ */
.post-card.new-post {
  animation: slideIn 0.4s ease;
  border: 2px solid var(--accent);
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   NOTIFICATION LIST (inside modal)
   ============================================================ */
.notif-list { display: flex; flex-direction: column; gap: 12px; }
.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.4;
}
.notif-icon { font-size: 1.3rem; flex-shrink: 0; }

/* ============================================================
   FOLLOW BUTTON — FOLLOWING STATE
   ============================================================ */
.follow-btn.following {
  background: linear-gradient(90deg, var(--accent), #38b249);
}

/* ============================================================
   REEL EMBED FRAME
   ============================================================ */
.reel-embed-frame {
  display: none;
  width: 100%;
  height: 400px;
  border: none;
  border-radius: var(--radius-sm);
  margin-top: 12px;
}
.reel-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  background: linear-gradient(135deg, rgba(255,107,107,0.08), rgba(199,125,255,0.08));
  border-radius: var(--radius-sm);
  border: 2px dashed var(--border);
  color: var(--text-light);
  font-size: 0.9rem;
  gap: 10px;
  cursor: pointer;
  transition: background 0.2s;
}
.reel-placeholder:hover { background: linear-gradient(135deg, rgba(255,107,107,0.14), rgba(199,125,255,0.14)); }
.reel-placeholder-icon { font-size: 2.5rem; }

/* ============================================================
   MUSIC EMBED FRAME
   ============================================================ */
#music-embed-frame {
  display: none;
  width: 100%;
  height: 200px;
  border: none;
  border-radius: var(--radius-sm);
}
#music-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  border: 2px dashed rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
#music-placeholder:hover { background: rgba(255,255,255,0.12); }

/* ============================================================
   V2 INTERACTIVE COMPONENTS
   ============================================================ */

/* New post animation */
.post-card.new-post {
  animation: slideInPost 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-left: 4px solid var(--primary);
}
@keyframes slideInPost {
  from { opacity: 0; transform: translateY(-20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Liked state */
.action-btn.like.liked { color: var(--primary) !important; font-weight: 800; }
.action-btn.like.liked i { color: var(--primary); }

/* Comment box */
.comment-box {
  display: none;
  padding: 12px 16px;
  border-top: 1px solid #f0f0f0;
  background: #fafafa;
  border-radius: 0 0 16px 16px;
}
.comment-box.open { display: block; }
.comment-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.comment-item { display: flex; align-items: flex-start; gap: 8px; }
.comment-avatar-sm {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 0.75rem; flex-shrink: 0;
}
.comment-bubble {
  background: #fff; border: 1px solid #eee; border-radius: 14px;
  padding: 7px 12px; font-size: 0.85rem; color: var(--dark); line-height: 1.4;
}
.comment-bubble strong { color: var(--dark); font-weight: 700; margin-right: 4px; }
.comment-input-row { display: flex; align-items: center; gap: 8px; }
.comment-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, #FFD93D, #FF6B6B);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 0.72rem; flex-shrink: 0;
}
.comment-input {
  flex: 1; padding: 8px 14px; border: 2px solid #eee; border-radius: 20px;
  font-size: 0.85rem; outline: none; font-family: inherit; transition: border-color 0.2s;
}
.comment-input:focus { border-color: var(--primary); }
.comment-submit {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; transition: transform 0.2s;
}
.comment-submit:hover { transform: scale(1.1); }

/* Notification list in modal */
.notif-list { display: flex; flex-direction: column; gap: 10px; }
.notif-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; background: #f9f9f9; border-radius: 12px;
  font-size: 0.88rem; color: var(--text);
}
.notif-icon { font-size: 1.3rem; flex-shrink: 0; }

/* Following state */
.follow-btn.following { background: #e8f5e9 !important; color: #2e7d32 !important; border-color: #a5d6a7 !important; }

/* Edit profile button hover */
#edit-profile-btn { transition: transform 0.2s; }
#edit-profile-btn:hover { transform: scale(1.04); }

/* Profile bio */
.profile-bio { font-size: 0.8rem; color: #888; margin: 4px 0 6px; text-align: center; }

/* Composer post button */
.composer-post-btn {
  width: 100%;
  margin: 10px 0 0;
  padding: 11px;
  background: linear-gradient(90deg, var(--primary), var(--orange));
  color: #fff;
  border: none;
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}
.composer-post-btn:hover { opacity: 0.92; transform: scale(1.01); }

/* Trending items clickable */
.trending-item { cursor: pointer; transition: background 0.15s; border-radius: 8px; padding: 6px 8px; }
.trending-item:hover { background: rgba(255,107,107,0.07); }

/* Affiliate compact arrow transition */
.affiliate-compact-arrow { transition: transform 0.2s; }
.affiliate-compact-item:hover .affiliate-compact-arrow { transform: translateX(4px); }

/* Modal body scrollable */
.modal-body { max-height: 70vh; overflow-y: auto; }

/* Settings panel scrollable body */
.settings-body { overflow-y: auto; flex: 1; }

/* Reel placeholder click hint */
#reel-placeholder-1, #reel-placeholder-2 { cursor: pointer; }

/* Post media override for user-created posts */
.post-card .post-media {
  aspect-ratio: unset;
  height: auto;
  background: transparent;
}

/* ============================================================
   FACEBOOK SHARE BUTTONS & PAGE WIDGET
   ============================================================ */
.fb-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #1877F2;
  color: #fff !important;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.fb-share-btn:hover {
  background: #1558b0;
  transform: translateY(-1px);
  color: #fff !important;
}
.fb-deal-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 9px 16px;
  background: #1877F2;
  color: #fff;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.fb-deal-share-btn:hover {
  background: #1558b0;
  transform: translateY(-1px);
}
.fb-inline-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #1877F2;
  color: #fff;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}
.fb-inline-share:hover {
  background: #1558b0;
  color: #fff;
}
.fb-page-widget {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  margin-bottom: 18px;
  overflow: hidden;
}
.fb-page-widget .widget-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #2D2D2D;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fb-follow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  padding: 10px;
  background: #1877F2;
  color: #fff;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}
.fb-follow-btn:hover {
  background: #1558b0;
  color: #fff;
}

/* ============================================================
   YOUTUBE VIDEO EMBEDS & AFFILIATE BAR
   ============================================================ */
.yt-video-embed {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}
.yt-video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.yt-affiliate-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(90deg, rgba(255,217,61,0.12), rgba(255,107,107,0.08));
  border-top: 1px solid var(--border);
  gap: 10px;
  flex-wrap: wrap;
}
.yt-affiliate-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}
.yt-affiliate-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: linear-gradient(90deg, var(--primary), var(--orange));
  color: #fff;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.yt-affiliate-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255,107,107,0.35);
}
.yt-subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #FF0000;
  color: #fff;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.yt-subscribe-btn:hover {
  background: #cc0000;
  transform: translateY(-1px);
}
.yt-subscribe-btn-large {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #FF0000;
  color: #fff;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.yt-subscribe-btn-large:hover {
  background: #cc0000;
  transform: translateY(-2px);
}
.yt-channel-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid #FF0000;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.yt-channel-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF0000, #FF6B6B);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.yt-channel-info { flex: 1; }
.yt-channel-name {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
}
.yt-channel-handle {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* ============================================================
   TIKTOK SECTION STYLES
   ============================================================ */
.tiktok-profile-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid #010101;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.tiktok-profile-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #010101, #69C9D0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.tiktok-profile-info { flex: 1; }
.tiktok-profile-name {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
}
.tiktok-profile-handle {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 2px;
}
.tiktok-profile-stats {
  display: flex;
  gap: 14px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.tiktok-profile-stats span {
  font-size: 0.78rem;
  color: var(--text-light);
}
.tiktok-profile-stats strong {
  color: var(--text);
  font-weight: 800;
}
.tiktok-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #010101, #69C9D0);
  color: #fff;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}
.tiktok-follow-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  color: #fff;
}
.tiktok-follow-btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #010101, #69C9D0);
  color: #fff;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.tiktok-follow-btn-sm:hover {
  opacity: 0.85;
  color: #fff;
}
.tiktok-video-embed {
  width: 100%;
  display: flex;
  justify-content: center;
  background: #000;
  overflow: hidden;
  min-height: 500px;
}
.tiktok-video-embed .tiktok-embed {
  margin: 0 auto;
}
.tiktok-deal-btn {
  background: linear-gradient(90deg, #010101, #69C9D0) !important;
}

/* ============================================================
   DARK / LIGHT MODE THEME VARIABLES
   ============================================================ */
body.light-mode {
  --bg: #f0f2f5;
  --card: #ffffff;
  --navbar-bg: #ffffff;
  --text: #1c1e21;
  --text-light: #65676b;
  --border: rgba(0,0,0,0.1);
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --input-bg: #f0f2f5;
}
.theme-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-size: 1.1rem;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-toggle-btn:hover { background: rgba(255,255,255,0.1); }

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--yellow));
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255,107,107,0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover { transform: translateY(-3px); }

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(37,211,102,0.5);
  text-decoration: none;
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.6);
  color: #fff;
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(20,20,30,0.97);
  backdrop-filter: blur(10px);
  border-top: 2px solid var(--primary);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  z-index: 10000;
  transform: translateY(0);
  transition: transform 0.4s ease;
}
.cookie-banner.hidden { transform: translateY(110%); }
.cookie-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #ccc;
  flex: 1;
}
.cookie-text i { color: var(--yellow); font-size: 1.2rem; flex-shrink: 0; }
.cookie-text a { color: var(--primary); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  padding: 9px 20px;
  border-radius: 20px;
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: opacity 0.2s;
}
.cookie-accept { background: linear-gradient(90deg, var(--primary), var(--yellow)); color: #fff; }
.cookie-decline { background: rgba(255,255,255,0.1); color: #ccc; }
.cookie-btn:hover { opacity: 0.85; }

/* ============================================================
   ABOUT ME CARD
   ============================================================ */
.about-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  margin-bottom: 16px;
}
.about-text {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 8px 0 14px;
}
.about-text strong { color: var(--text); }
.about-links { display: flex; gap: 8px; flex-wrap: wrap; }
.about-linktree-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: linear-gradient(90deg, #43e97b, #38f9d7);
  color: #fff;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}
.about-fb-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #1877F2;
  color: #fff;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}
.about-linktree-btn:hover, .about-fb-btn:hover { opacity: 0.85; color: #fff; }

/* ============================================================
   NEWSLETTER WIDGET
   ============================================================ */
.newsletter-widget {
  background: linear-gradient(135deg, rgba(255,107,107,0.08), rgba(255,217,61,0.08));
  border: 1px solid rgba(255,107,107,0.2);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
}
.newsletter-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  margin: 6px 0 12px;
  line-height: 1.5;
}
.newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.newsletter-form input {
  padding: 10px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--text);
  font-size: 0.85rem;
  outline: none;
}
.newsletter-form input:focus { border-color: var(--primary); }
.newsletter-btn {
  padding: 10px;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--primary), var(--yellow));
  color: #fff;
  border: none;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}
.newsletter-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.newsletter-success {
  text-align: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px;
}

/* ============================================================
   INSTAGRAM SECTION
   ============================================================ */
.instagram-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid #E1306C;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.instagram-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E1306C, #F77737, #FCAF45, #833AB4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.instagram-info { flex: 1; }
.instagram-name { font-weight: 800; font-size: 1rem; color: var(--text); }
.instagram-handle { font-size: 0.8rem; color: var(--text-light); margin-top: 2px; }
.instagram-bio { font-size: 0.8rem; color: var(--text-light); margin-top: 4px; }
.instagram-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #E1306C, #F77737, #FCAF45);
  color: #fff;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}
.instagram-follow-btn:hover { opacity: 0.85; transform: translateY(-2px); color: #fff; }
.instagram-follow-btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #E1306C, #F77737);
  color: #fff;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.instagram-follow-btn-sm:hover { opacity: 0.85; color: #fff; }
.instagram-embed-placeholder {
  background: linear-gradient(135deg, rgba(225,48,108,0.06), rgba(247,119,55,0.06));
  border: 2px dashed rgba(225,48,108,0.3);
  border-radius: 12px;
  padding: 40px 20px;
  margin: 12px 0;
}
.instagram-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 16px;
}
.contact-intro {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 20px;
}
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-row { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-field { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 140px; }
.contact-field label { font-size: 0.8rem; font-weight: 700; color: var(--text-light); }
.contact-field input,
.contact-field textarea {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--text);
  font-size: 0.88rem;
  font-family: var(--font-main);
  outline: none;
  resize: vertical;
  transition: border-color 0.2s;
}
.contact-field input:focus,
.contact-field textarea:focus { border-color: var(--primary); }
.contact-submit {
  padding: 12px 28px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  color: #fff;
  border: none;
  border-radius: 25px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  align-self: flex-start;
  transition: opacity 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-submit:hover { opacity: 0.9; transform: translateY(-2px); }
.contact-success {
  text-align: center;
  color: var(--accent);
  font-weight: 700;
  padding: 14px;
  font-size: 0.95rem;
}
.contact-alts {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-light);
}
.contact-alt-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.2s;
}
.contact-alt-btn.facebook { background: #1877F2; }
.contact-alt-btn.tiktok { background: linear-gradient(135deg, #010101, #69C9D0); }
.contact-alt-btn.youtube { background: #FF0000; }
.contact-alt-btn:hover { opacity: 0.85; color: #fff; }

/* ============================================================
   LINKTREE QUICK LINKS WIDGET
   ============================================================ */
.linktree-widget {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  margin-bottom: 16px;
}
.linktree-links { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.linktree-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 25px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.2s, transform 0.15s;
}
.linktree-link:hover { opacity: 0.88; transform: translateX(4px); color: #fff; }
.linktree-link.youtube { background: linear-gradient(90deg, #FF0000, #FF6B6B); }
.linktree-link.tiktok { background: linear-gradient(90deg, #010101, #69C9D0); }
.linktree-link.facebook { background: linear-gradient(90deg, #1877F2, #4D96FF); }
.linktree-link.linktree { background: linear-gradient(90deg, #43e97b, #38f9d7); }
.linktree-link.deals { background: linear-gradient(90deg, var(--yellow), var(--primary)); }
.linktree-link.contact { background: linear-gradient(90deg, var(--blue), var(--purple)); }

/* ============================================================
   MENU ADDITIONS (About, Instagram, Contact)
   ============================================================ */
.menu-item.instagram { }
