/* ════════════════════════════════════════════════════════
   socials.css  —  socials page
════════════════════════════════════════════════════════ */

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

/* ── HERO ── */
#socials-hero {
  background: var(--blue);
  color: #fff;
  height: calc(100vh - 54px);
  height: calc(100svh - 54px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px 80px;
  position: relative;
  overflow: hidden;
}

#socials-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg,  rgba(255,255,255,0.04) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.04) 25%, transparent 25%),
    linear-gradient(45deg,  transparent 75%, rgba(255,255,255,0.04) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.04) 75%);
  background-size: 40px 40px;
  background-position: 0 0, 0 20px, 20px -20px, -20px 0;
  pointer-events: none;
}

#socials-hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1360px;
  padding: 0 12px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto 0;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-family: 'BBHBartle', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 12px;
  animation: fadeUp 0.5s ease both 0.1s;
}

.hero-dot { color: var(--yellow); }

#socials-hero p {
  font-size: 1rem;
  opacity: 0.75;
  animation: fadeUp 0.5s ease both 0.35s;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 0; right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-family: 'BBHBartle', 'SourceHanSansSC', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 1;
  animation: fadeUp 0.6s ease both 0.5s;
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}
.hero-scroll span::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--yellow);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { top: -100%; }
  100% { top: 100%; }
}

/* ── Yellow ticker (below hero) ── */
.ticker-wrap {
  background: var(--yellow);
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  position: relative;
  z-index: 10;
}

.ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: heroTicker 30s linear infinite;
}

.ticker-track span {
  font-family: 'BBHBartle', 'SourceHanSansSC', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #000;
  padding: 0 8px;
}
.ticker-track .dot {
  color: rgba(0,0,0,0.35);
  padding: 0 2px;
}

@keyframes heroTicker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── GRID ── */
#socials-grid {
  padding: 64px 0 80px;
  background: var(--bg);
  transition: background 0.3s;
}

.social-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* ── CARD ── */
.social-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px 24px;
  gap: 0;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  animation: fadeUp 0.4s ease both;
}

.social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow);
  border-color: var(--blue);
}

/* ── Profile pic / brand container ── */
.card-pfp {
  width: 72px;
  height: 72px;
  background: var(--blue);
  overflow: hidden;
  margin-bottom: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.social-card:hover .card-pfp {
  transform: scale(1.08);
}

.card-pfp img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pfp-icon-text {
  font-family: 'BBHBartle', 'SourceHanSansSC', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.pfp-platform-icon {
  filter: brightness(0) invert(1);
}
img.pfp-platform-icon {
  width: 26px;
  height: 26px;
}
svg.pfp-platform-icon {
  width: 34px;
  height: 34px;
}

/* ── Card body ── */
.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.card-body h3 {
  font-family: 'BBHBartle', 'SourceHanSansSC', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
}

.card-handle {
  font-size: 0.82rem;
  color: var(--blue);
  font-weight: 500;
  margin-top: 2px;
}

.card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.5;
}

/* ── Visit button ── */
.card-btn {
  display: inline-block;
  padding: 9px 28px;
  background: var(--blue);
  color: #fff;
  font-family: 'BBHBartle', 'SourceHanSansSC', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  margin-top: auto;
}

.card-btn:hover {
  background: var(--blue-d);
  transform: translateY(-1px);
}

/* ── Animation stagger ── */
.social-card:nth-child(1) { animation-delay: 0.05s; }
.social-card:nth-child(2) { animation-delay: 0.10s; }
.social-card:nth-child(3) { animation-delay: 0.15s; }
.social-card:nth-child(4) { animation-delay: 0.20s; }
.social-card:nth-child(5) { animation-delay: 0.25s; }
.social-card:nth-child(6) { animation-delay: 0.30s; }
.social-card:nth-child(7) { animation-delay: 0.35s; }
.social-card:nth-child(8) { animation-delay: 0.40s; }

/* ── Responsive ── */
@media (max-width: 600px) {
  #socials-hero { padding: 60px 20px 50px; }
  #socials-hero .container { padding: 24px 20px; }
  .social-cards { grid-template-columns: 1fr; gap: 14px; }
  .card-pfp { width: 56px; height: 56px; }
  .pfp-icon-text { font-size: 1.5rem; }
  .pfp-platform-icon { width: 28px; height: 28px; }
}

@media (max-width: 480px) {
  #socials-hero { padding: 48px 0 44px; }
  #socials-hero .container { padding: 16px 14px; max-width: 100%; }
  #socials-grid { padding: 44px 0 60px; }
  .social-card { padding: 24px 18px 18px; }
}


