.team-page { padding: 80px 40px 140px; }

/* Header */
.team-hero { text-align: center; margin-bottom: 60px; }

.team-hero h1 {
    font-size: clamp(48px, 7vw, 86px);
    font-weight: 950;
    font-style: italic;
    letter-spacing: -3px;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
}

.team-hero h1 span { color: var(--brand-primary); }

.team-hero p {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 5px;
    color: #555;
    text-transform: uppercase;
    margin-top: 18px;
}

/* Filters */
.team-filters {
    background: #0b0f1a;
    border: 1px solid #1a2236;
    border-radius: 18px;
    padding: 18px 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.role-tab {
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #3a4a6b;
    transition: all .2s ease;
}

.role-tab:hover { color: #9fb3ff; }

.role-tab.active {
    background: var(--brand-primary);
    color: #fff;
    box-shadow: 0 6px 18px var(--brand-glow);
}

/* Grid now single column (horizontal cards) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
}

/* CARD */
.member-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 95px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all .3s ease;
}

/* Blurred banner background */
.member-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--banner);
    background-size: cover;
    background-position: center;
    filter: blur(5px) brightness(0.5);
    transform: scale(1.2);
}

/* Dark gradient overlay */
.member-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10,15,25,0.95),
        rgba(10,15,25,0.75),
        rgba(10,15,25,0.4)
    );
}

/* Content layer */
.member-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    width: 100%;
}

/* Avatar */
.member-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 0 12px rgba(0,0,0,0.4);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder */
.member-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 22px;
    background: #222;
    color: #fff;
}

/* Info */
.member-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Name (matches your example style) */
.member-name {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #4cff9e;
}

/* Icons */
.member-role-icons {
    display: flex;
    gap: 8px;
}

/* Icon badge */
.team-icon-badge {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;

    background: rgba(var(--icon-rgb), 0.15);
    color: rgb(var(--icon-rgb));
    border: 1px solid rgba(var(--icon-rgb), 0.5);

    transition: all 0.25s ease;
    box-shadow: 0 0 10px rgba(var(--icon-rgb), 0.25);
    position: relative;
}

/* Icon hover */
.team-icon-badge:hover {
    transform: translateY(-2px) scale(1.05);
    background: rgba(var(--icon-rgb), 0.3);
    box-shadow: 0 0 18px rgba(var(--icon-rgb), 0.7);
    z-index: 10;
}

/* Tooltip */
.team-icon-badge::after {
    content: attr(data-role-name);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 8px;
    background: #000;
    color: #fff;
    font-size: 9px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    font-weight: 700;
}

.team-icon-badge:hover::after {
    opacity: 1;
}

/* Card hover effect */
.member-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.15),
        0 10px 30px rgba(0,0,0,0.6);
}

/* Glow sync */
.member-card:hover .team-icon-badge {
    box-shadow: 0 0 20px rgba(var(--icon-rgb), 0.6);
}

/* Empty */
.no-members {
    text-align: center;
    padding: 60px;
    color: #2a3550;
    font-weight: 900;
    letter-spacing: 2px;
}
@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}
/* Mobile */
@media (max-width: 700px) {
    .team-page { padding: 50px 20px 120px; }

    .member-card {
        height: auto;
        padding: 10px 0;
    }

    .member-inner {
        gap: 12px;
    }

    .member-avatar {
        width: 50px;
        height: 50px;
    }

    .member-name {
        font-size: 15px;
        letter-spacing: 2px;
    }
}

.team-topbar {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 16px 20px;
    border-radius: 14px;

    background: #0b0f1a;
    border: 1px solid #1a2236;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.team-topbar-left h2 {
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
}

.team-topbar-left span {
    font-size: 10px;
    color: #5c6a8a;
    letter-spacing: 2px;
}

.team-topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #4cff9e;
}

/* Live dot */
.team-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4cff9e;
    box-shadow: 0 0 10px #4cff9e;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0px #4cff9e; }
    50% { box-shadow: 0 0 10px #4cff9e; }
    100% { box-shadow: 0 0 0px #4cff9e; }
}

.team-section {
    max-width: 1200px;
    margin: 0 auto 40px;
}

.team-section-header {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #6c7aa0;
    margin-bottom: 14px;
    padding-left: 6px;
}

.member-name {
    font-weight: 700;
}

/* OWNER gradient */
.name-gradient-owner {
    background: linear-gradient(90deg, #e67e22, #ffbf86);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Station Manager + Developer gradient */
.name-gradient-manager-dev {
    background: linear-gradient(90deg, #42f56c, #61c0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}