/* Friends & Partners — loads after styles.css, so it reuses its colour
   variables, background layers, .section/.section-label and the footer. */

/* ── page header ── */
.page-head {
    text-align: center;
    margin-bottom: 44px;
    animation: fadeDown 0.8s ease both;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.back-link:hover,
.back-link:focus-visible {
    color: var(--accent);
    outline: none;
}

.page-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.8rem, 9vw, 4.4rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1;
    background: linear-gradient(135deg, #fff 30%, var(--accent) 60%, var(--accent3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(0, 200, 255, 0.45));
}

.page-sub {
    margin-top: 10px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    letter-spacing: 0.25em;
    color: var(--accent);
    opacity: 0.8;
}

.page-sub::before {
    content: '[ ';
}

.page-sub::after {
    content: ' ]';
}

/* ── person cards ── */
.crew {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.crew-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--border);
    border-radius: 4px;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.crew-card:hover {
    background: rgba(0, 200, 255, 0.04);
    border-left-color: var(--accent);
    box-shadow: -4px 0 20px rgba(0, 200, 255, 0.12);
}

.crew-avatar {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid rgba(0, 200, 255, 0.35);
    background: linear-gradient(135deg, #071323, #0d1f3c);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.7rem;
    color: var(--accent);
}

.crew-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.crew-info {
    flex: 1;
    min-width: 0;
}

.crew-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.crew-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text);
}

.crew-tag {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.66rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2px 8px;
    border-radius: 2px;
}

.crew-desc {
    margin-top: 3px;
    font-size: 0.98rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    color: var(--muted);
    overflow-wrap: anywhere;
}

/* ── social icon buttons ── */
.crew-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex-shrink: 0;
}

.crew-social {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--muted);
    font-size: 1.05rem;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.crew-social:focus-visible {
    outline: 1px solid var(--accent);
    outline-offset: 2px;
}

.crew-social.twitch:hover {
    color: #9146ff;
    border-color: rgba(145, 70, 255, 0.5);
    background: rgba(145, 70, 255, 0.08);
    box-shadow: 0 0 14px rgba(145, 70, 255, 0.25);
}

.crew-social.youtube:hover {
    color: #ff0000;
    border-color: rgba(255, 0, 0, 0.5);
    background: rgba(255, 0, 0, 0.08);
    box-shadow: 0 0 14px rgba(255, 0, 0, 0.25);
}

.crew-social.twitter:hover {
    color: #1da1f2;
    border-color: rgba(29, 161, 242, 0.5);
    background: rgba(29, 161, 242, 0.08);
    box-shadow: 0 0 14px rgba(29, 161, 242, 0.25);
}

.crew-social.instagram:hover {
    color: #e1306c;
    border-color: rgba(225, 48, 108, 0.5);
    background: rgba(225, 48, 108, 0.08);
    box-shadow: 0 0 14px rgba(225, 48, 108, 0.25);
}

.crew-social.tiktok:hover {
    color: #25f4ee;
    border-color: rgba(37, 244, 238, 0.5);
    background: rgba(37, 244, 238, 0.08);
    box-shadow: 0 0 14px rgba(37, 244, 238, 0.25);
}

.crew-social.github:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.crew-social.discord:hover {
    color: #5865f2;
    border-color: rgba(88, 101, 242, 0.5);
    background: rgba(88, 101, 242, 0.08);
    box-shadow: 0 0 14px rgba(88, 101, 242, 0.25);
}

.crew-social.site:hover {
    color: var(--accent);
    border-color: rgba(0, 200, 255, 0.5);
    background: rgba(0, 200, 255, 0.08);
    box-shadow: 0 0 14px rgba(0, 200, 255, 0.25);
}

/* ── mobile: icons drop under the name ── */
@media (max-width: 480px) {
    .crew-card {
        flex-wrap: wrap;
        padding: 14px 16px;
    }

    .crew-links {
        flex-basis: 100%;
        padding-left: 72px;
    }
}