.struktur-section {
    background: #141414;
    padding: 7rem 4rem;
}

.struktur-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.struktur-tabs {
    display: flex;
    width: fit-content;
    border: 1px solid rgba(201, 168, 76, 0.2);
    margin-bottom: 4rem;
}

.s-tab-btn {
    padding: 0.7rem 2rem;
    background: transparent;
    border: none;
    border-right: 1px solid rgba(201, 168, 76, 0.2);
    color: rgba(250, 250, 250, 0.4);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s;
}

.s-tab-btn:last-child {
    border-right: none;
}

.s-tab-btn.active {
    background: var(--gold);
    color: #1A1A1A;
    font-weight: 600;
}

.s-tab-btn:hover:not(.active) {
    color: var(--gold);
}

.s-tab-panel {
    display: none;
}

.s-tab-panel.active {
    display: block;
}

.s-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    position: relative;
}

.s-row-connector {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}

.s-row-connector::before {
    content: '';
    display: block;
    width: 1px;
    height: 2rem;
    background: rgba(201, 168, 76, 0.25);
}

.s-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.6rem 1.2rem 1.4rem;
    border: 1px solid rgba(201, 168, 76, 0.12);
    background: rgba(250, 250, 250, 0.02);
    width: 160px;
    flex-shrink: 0;
    transition: all 0.3s;
    position: relative;
}

.s-member:hover {
    border-color: rgba(201, 168, 76, 0.45);
    background: rgba(201, 168, 76, 0.05);
    transform: translateY(-4px);
}

.s-member.koor::after {
    content: 'Koor';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: #1A1A1A;
    font-size: 0.55rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.18rem 0.7rem;
    font-weight: 700;
    white-space: nowrap;
    font-family: 'DM Sans', sans-serif;
}

.s-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.08);
    border: 2px solid rgba(201, 168, 76, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.9rem;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.s-avatar:hover {
    transform: scale(1.05);
}

.s-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.s-name {
    font-family: 'Playfair Display', serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: #FAFAFA;
    margin-bottom: 0.3rem;
    text-transform: capitalize;
}

.s-role {
    font-size: 0.65rem;
    color: var(--gold);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    line-height: 1.4;
}

.s-divisi-block {
    margin-top: 4rem;
}

.s-divisi-block:first-child {
    margin-top: 0;
}

.s-divisi-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 0.6rem;
}

.s-divisi-line {
    flex: 1;
    height: 1px;
    background: rgba(201, 168, 76, 0.12);
}

.s-divisi-tag {
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(201, 168, 76, 0.55);
    white-space: nowrap;
}

.s-divisi-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #FAFAFA;
    margin-bottom: 1.8rem;
}

.s-divisi-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
}

@media (max-width: 900px) {
    .s-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
    }
    .s-member {
        width: 100% !important;
        flex-shrink: unset !important;
    }
    .s-divisi-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
        justify-items: center !important;
    }
}


/* ── PROFILE MODAL ── */

.struktur-profile-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 2rem;
    backdrop-filter: blur(8px);
}

.struktur-profile-modal-overlay.open {
    display: flex;
}

.struktur-profile-modal {
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 20px;
    overflow: hidden;
    max-width: 560px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    animation: slideUp 0.3s ease;
    /* HAPUS max-height dan overflow-y scroll */
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.struktur-profile-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--gold);
    font-size: 1.4rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 1001;
}

.struktur-profile-close:hover {
    background: rgba(201, 168, 76, 0.3);
    transform: rotate(90deg);
}

.struktur-profile-content {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    padding: 2rem;
    align-items: flex-start;
}

.struktur-profile-img-wrap {
    width: 200px;
    height: 220px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(201, 168, 76, 0.2);
    background: rgba(201, 168, 76, 0.05);
}

.struktur-profile-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

.struktur-profile-info {
    flex: 1;
    padding-top: 0.5rem;
}

.struktur-profile-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.struktur-profile-role {
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.struktur-profile-bio {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(250, 250, 250, 0.85);
    margin-bottom: 0.8rem;
}

.struktur-profile-detail {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(250, 250, 250, 0.6);
    padding-top: 0.75rem;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.struktur-profile-detail p {
    margin: 0;
}


/* Mobile: balik ke kolom vertikal */

@media (max-width: 600px) {
    .struktur-profile-modal {
        border-radius: 16px;
    }
    .struktur-profile-content {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }
    .struktur-profile-img-wrap {
        width: 100%;
        height: 180px;
    }
    .struktur-profile-info h2 {
        font-size: 1.4rem;
    }
}