/* Social Command Center — premium live channels */
.social-command {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0;
  overflow: hidden;
  background: #030806;
  color: #e8f5ef;
}

.social-command__aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.social-command__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: social-orb-drift 18s ease-in-out infinite alternate;
}

.social-command__orb--1 {
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(0, 180, 120, 0.45) 0%, transparent 70%);
}

.social-command__orb--2 {
  width: min(480px, 65vw);
  height: min(480px, 65vw);
  top: 20%;
  right: -10%;
  background: radial-gradient(circle, rgba(245, 213, 71, 0.28) 0%, transparent 70%);
  animation-delay: -6s;
}

.social-command__orb--3 {
  width: min(400px, 55vw);
  height: min(400px, 55vw);
  bottom: -15%;
  left: 35%;
  background: radial-gradient(circle, rgba(56, 120, 255, 0.22) 0%, transparent 70%);
  animation-delay: -12s;
}

.social-command__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.6;
}

@keyframes social-orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(24px, -18px) scale(1.08); }
}

.social-command__inner {
  position: relative;
  z-index: 1;
}

.social-command__header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

@media (min-width: 992px) {
  .social-command__header {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
  }
}

.social-command__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem 0.35rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fd4b8;
  margin-bottom: 1rem;
}

.social-command__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: social-pulse 2s ease-out infinite;
}

@keyframes social-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.social-command__title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  background: linear-gradient(135deg, #fff 0%, #b8e6cf 45%, #f5d547 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.social-command__lead {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(232, 245, 239, 0.72);
  max-width: 36rem;
  margin: 0;
  line-height: 1.6;
}

.social-command__channels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
}

@media (min-width: 992px) {
  .social-command__channels {
    justify-content: flex-end;
  }
}

.social-command__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.social-command__chip:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.social-command__chip i {
  font-size: 1rem;
}

.social-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .social-bento {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(120px, auto);
    gap: 1.125rem;
  }
}

.social-tile {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.social-tile:hover {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .social-tile--x {
    grid-column: span 7;
    grid-row: span 2;
    min-height: 480px;
  }

  .social-tile--instagram {
    grid-column: span 5;
    min-height: 230px;
  }

  .social-tile--youtube {
    grid-column: span 5;
    min-height: 230px;
  }

  .social-tile--facebook {
    grid-column: span 6;
    min-height: 380px;
  }

  .social-tile--tiktok {
    grid-column: span 6;
    min-height: 380px;
  }
}

.social-tile__glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--tile-accent, #34d399), transparent);
  opacity: 0.8;
}

.social-tile__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  z-index: 1;
}

.social-tile__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-tile__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: #fff;
  background: var(--tile-accent, #004026);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.social-tile__meta h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.social-tile__meta span {
  font-size: 0.75rem;
  color: rgba(232, 245, 239, 0.55);
}

.social-tile__cta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--tile-accent, #34d399);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.social-tile__cta:hover {
  color: #fff;
}

.social-tile__body {
  flex: 1;
  position: relative;
  min-height: 0;
  background: rgba(0, 0, 0, 0.2);
}

.social-tile__body iframe {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
  display: block;
}

.social-tile--x .social-tile__body {
  min-height: 360px;
}

.social-tile--x { --tile-accent: #e7e9ea; }
.social-tile--facebook { --tile-accent: #1877f2; }
.social-tile--instagram { --tile-accent: #e1306c; }
.social-tile--tiktok { --tile-accent: #25f4ee; }
.social-tile--youtube { --tile-accent: #ff0033; }

.social-tile__hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.social-tile__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tile-hero-bg);
  opacity: 0.9;
}

.social-tile__hero > * {
  position: relative;
  z-index: 1;
}

.social-tile--instagram .social-tile__hero {
  --tile-hero-bg: linear-gradient(135deg, #833ab4 0%, #fd1d1d 45%, #fcb045 100%);
}

.social-tile--youtube .social-tile__hero {
  --tile-hero-bg: linear-gradient(145deg, #0f0f0f 0%, #cc0000 55%, #ff4444 100%);
}

.social-tile__hero-icon {
  font-size: 2.75rem;
  margin-bottom: 0.75rem;
  color: #fff;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

.social-tile__hero h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0 0 0.35rem;
  color: #fff;
}

.social-tile__hero p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1.25rem;
  max-width: 16rem;
}

.social-tile__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  color: #0a0f0d;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-tile__btn:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  color: #0a0f0d;
}

.social-tile__embed--tiktok {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.75rem;
  overflow: auto;
}

.social-tile.is-loading .social-tile__body::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.03) 100%
  );
  background-size: 200% 100%;
  animation: social-shimmer 1.4s ease infinite;
}

@keyframes social-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .social-command__orb,
  .social-command__pulse {
    animation: none;
  }

  .social-tile:hover {
    transform: none;
  }
}
