/* ============================================================
   SOCIALS.CSS — Socials page specific styles
   ============================================================ */

/* ── Live Feeds Section ──────────────────────────────────── */
.live-feeds-section {
  background: radial-gradient(ellipse at top left, rgba(204,0,0,0.1) 0%, var(--black) 60%);
}

.live-feeds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: flex-start;
}

.live-feed-col {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition-base);
}

.live-feed-col:hover {
  border-color: rgba(204,0,0,0.3);
  box-shadow: var(--shadow-red);
}

.live-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--black-border);
  gap: var(--space-md);
}

.live-feed-platform {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.live-feed-icon {
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white-glass);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.live-feed-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.live-feed-handle {
  font-size: 0.8rem;
  color: var(--red-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.live-feed-handle:hover {
  color: var(--red-bright);
}

.live-feed-embed-wrap {
  padding: var(--space-md);
  min-height: 580px;
  background: var(--black-mid);
}

/* Twitter iframe override — force dark bg */
.live-feed-embed-wrap iframe {
  border-radius: var(--radius-md);
  width: 100% !important;
}

.facebook-embed-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}

/* ── Live Stats Bar (Twitter + Facebook cards) ───────────── */
.live-stats-bar {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-md) var(--space-xl);
  background: var(--black-elevated);
  border-bottom: 1px solid var(--black-border);
}

.live-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 60px;
}

.live-stat-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: flex;
  align-items: center;
  min-height: 1.5rem;
  transition: all 0.4s ease;
}

.live-stat.loaded .live-stat-num {
  animation: countIn 0.4s ease forwards;
}

@keyframes countIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.live-stat-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey-dark);
}

.live-stat-meta {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

/* Instagram stats inline with top bar */
.insta-live-stats {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-sm) var(--space-lg);
  background: var(--black-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--black-border);
}

.insta-live-stats .live-stat {
  min-width: 52px;
}

.insta-live-stats .live-stat-num {
  font-size: 1.2rem;
}

/* ── Live badge (pulsing green dot) ──────────────────────── */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-dark);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--black-border);
  background: var(--black-card);
  white-space: nowrap;
}

.live-badge.live {
  color: #00cc55;
  border-color: rgba(0,204,85,0.3);
  background: rgba(0,204,85,0.08);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00cc55;
  display: inline-block;
  animation: pulse-dot 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

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

.stat-updated {
  font-size: 0.7rem;
  color: var(--grey-dark);
}

/* ── Spinner (while loading) ─────────────────────────────── */
.stat-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.1);
  border-top-color: var(--red-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


.instagram-live-section {}

.insta-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  background: var(--black-card);
  border: 1px solid rgba(225,48,108,0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-md) var(--space-xl);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.insta-profile-pill {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.insta-avatar-sm {
  font-size: 1.6rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid white;
}

.insta-pill-handle {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.insta-pill-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--grey-mid);
  margin-top: 2px;
}

/* Behold widget wrapper */
.behold-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  padding: var(--space-md);
}

/* Force Behold widget to fill container */
.behold-wrap behold-widget {
  display: block;
  width: 100%;
}



.instagram-profile-card {
  background: linear-gradient(135deg, rgba(225,48,108,0.12) 0%, var(--black-card) 60%);
  border: 1px solid rgba(225,48,108,0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
}

.insta-profile-top {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.insta-avatar {
  font-size: 2.5rem;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 3px solid white;
}

.insta-username {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 6px;
}

.insta-bio {
  font-size: 0.82rem;
  color: var(--grey-mid);
  line-height: 1.6;
}

.instagram-live-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.insta-info-card,
.insta-tip-card,
.insta-behold-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.insta-behold-card {
  border-color: rgba(204,0,0,0.2);
  background: var(--red-glass);
}

.insta-info-card h4,
.insta-tip-card h4,
.insta-behold-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.insta-info-card p,
.insta-tip-card p,
.insta-behold-card p {
  font-size: 0.875rem;
  color: var(--grey-mid);
  line-height: 1.6;
}

.insta-steps {
  list-style: decimal;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.875rem;
  color: var(--grey-light);
}


/* ── Platforms Grid ───────────────────────────────────────── */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

/* ── Platform Card ────────────────────────────────────────── */
.platform-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.platform-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: var(--transition-base);
  pointer-events: none;
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-red);
  border-color: rgba(204, 0, 0, 0.3);
}

.platform-card:hover::before {
  opacity: 1;
}

.platform-twitter:hover  { box-shadow: 0 8px 32px rgba(29,161,242,0.2); border-color: rgba(29,161,242,0.3); }
.platform-instagram:hover{ box-shadow: 0 8px 32px rgba(225,48,108,0.2); border-color: rgba(225,48,108,0.3); }
.platform-facebook:hover { box-shadow: 0 8px 32px rgba(66,103,178,0.2); border-color: rgba(66,103,178,0.3); }
.platform-tiktok:hover   { box-shadow: 0 8px 32px rgba(254,44,85,0.2);  border-color: rgba(254,44,85,0.3); }
.platform-youtube:hover  { box-shadow: 0 8px 32px rgba(255,0,0,0.2);    border-color: rgba(255,0,0,0.3); }

/* ── Platform Card Header ─────────────────────────────────── */
.platform-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.platform-icon {
  font-size: 2rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white-glass);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.platform-info {
  flex: 1;
}

.platform-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.platform-handle {
  font-size: 0.8rem;
  color: var(--grey-mid);
}

.platform-follow-btn {
  background: var(--gradient-red);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  box-shadow: var(--shadow-red);
}

/* ── Platform Stats ──────────────────────────────────────── */
.platform-stats {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--black-border);
}

.platform-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.platform-stat-num {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}

.platform-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-dark);
}

/* ── Platform Posts (Twitter, Facebook) ───────────────────── */
.platform-posts {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.platform-post {
  background: var(--white-glass);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.platform-post p {
  font-size: 0.875rem;
  color: var(--grey-light);
  line-height: 1.6;
}

.platform-post-time {
  font-size: 0.72rem;
  color: var(--grey-dark);
}

/* ── Instagram Grid ──────────────────────────────────────── */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.instagram-thumb {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border-radius: var(--radius-sm);
  transition: transform 0.3s ease;
}

.instagram-thumb:hover {
  transform: scale(1.05);
}

/* ── TikTok Videos ────────────────────────────────────────── */
.tiktok-videos {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.tiktok-video {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--white-glass);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.82rem;
  color: var(--grey-light);
}

.tiktok-video-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.tiktok-views {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.72rem;
  color: var(--grey-dark);
}

/* ── YouTube (full width) ─────────────────────────────────── */
.platform-youtube {
  grid-column: 1 / -1;
}

.youtube-videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.youtube-video-card {
  background: var(--white-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.youtube-thumb {
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  position: relative;
}

.youtube-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  background: rgba(0,0,0,0.6);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.youtube-video-card:hover .youtube-play {
  opacity: 1;
}

.youtube-info {
  padding: var(--space-sm) var(--space-md);
}

.youtube-info h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 4px;
}

.youtube-meta {
  font-size: 0.72rem;
  color: var(--grey-dark);
}

/* ── Hashtag Grid ────────────────────────────────────────── */
.hashtag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.hashtag-card {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--red-primary);
  background: var(--red-glass);
  border: 1px solid rgba(204,0,0,0.25);
  border-radius: var(--radius-full);
  padding: var(--space-sm) var(--space-xl);
  transition: var(--transition-fast);
}

.hashtag-card:hover {
  background: var(--red-glass-strong);
  border-color: var(--red-primary);
  transform: scale(1.05);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .live-feeds-grid        { grid-template-columns: 1fr; }
  .instagram-section      { grid-template-columns: 1fr; }
  .platforms-grid         { grid-template-columns: 1fr; }
  .platform-youtube       { grid-column: 1; }
  .youtube-videos         { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .live-feed-header       { flex-wrap: wrap; gap: var(--space-sm); }
  .live-feed-embed-wrap   { min-height: 420px; padding: var(--space-sm); }
  .instagram-grid         { grid-template-columns: repeat(3, 1fr); }
  .hashtag-grid           { gap: var(--space-sm); }
}
